Yes
Your program will be stable.
Your question has touched the bonfire of portability recommendations that you really did not ask for. The question you seemed to ask was, "is this code and my program stable?" And the answer is yes.
The structure will not be reordered. C99 specifically prohibits reordering of structural elements. 1
In addition, the location and alignment are independent of the level of optimization. If they did, all programs would have to be completely built with the same level of optimization, as well as with all library programs, the kernel, all kernel interfaces, etc.
, - .
ABI. . , , . ( , , . , , . .) , .
, , . . , , :
- . ( , ) , , memcpy (3). .
- . , YAML , , XML, , , . , . , , , C ++.
Paxdiablo, , , , , , . . , .
1. C99 6.7.2.1 (13) , -
, , .