Commit 6bb7beac by Eric Christopher

re PR target/27542 (the ms_struct pragma is not documented)

2006-06-11  Eric Christopher  <echristo@apple.com>

        PR 27542
        * doc/extend.texi (Structure-Packing Pragmas): Document ms_struct
        pragma.

From-SVN: r114561
parent 4119019b
2006-06-11 Eric Christopher <echristo@apple.com>
PR 27542
* doc/extend.texi (Structure-Packing Pragmas): Document ms_struct
pragma.
2006-06-11 Roger Sayle <roger@eyesopen.com> 2006-06-11 Roger Sayle <roger@eyesopen.com>
PR target/27858 PR target/27858
......
...@@ -9672,6 +9672,17 @@ multiple @code{#pragma pack(@var{n})} instances and finalized by a single ...@@ -9672,6 +9672,17 @@ multiple @code{#pragma pack(@var{n})} instances and finalized by a single
@code{#pragma pack(pop)}. @code{#pragma pack(pop)}.
@end enumerate @end enumerate
Some targets, e.g. i386 and powerpc, support the @code{ms_struct}
@code{#pragma} which lays out a structure as the documented
@code{__attribute__ ((ms_struct))}.
@enumerate
@item @code{#pragma ms_struct on} turns on the layout for structures
declared.
@item @code{#pragma ms_struct off} turns off the layout for structures
declared.
@item @code{#pragma ms_struct reset} goes back to the default layout.
@end enumerate
@node Weak Pragmas @node Weak Pragmas
@subsection Weak Pragmas @subsection Weak Pragmas
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment