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
This commit is contained in:
parent
4119019bd7
commit
6bb7beac5f
2 changed files with 19 additions and 2 deletions
|
@ -1,3 +1,9 @@
|
|||
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>
|
||||
|
||||
PR target/27858
|
||||
|
@ -105,11 +111,11 @@
|
|||
2006-06-07 Andrew MacLeod <amacleod@redhat.com>
|
||||
|
||||
PR middle-end/27793
|
||||
* tree-dfa.c (referenced_vars_dup_list): New. List of duplicate
|
||||
* tree-dfa.c (referenced_vars_dup_list): New. List of duplicate
|
||||
referenced_variables with matching DECL_UID's.
|
||||
(find_referenced_vars): Make sure duplicate list is empty to start.
|
||||
(referenced_var_p): Remove.
|
||||
(referenced_var_check_and_insert): Renamed from referenced_var_insert.
|
||||
(referenced_var_check_and_insert): Renamed from referenced_var_insert.
|
||||
Check if var is in the list, and add if needed. Update the duplicate
|
||||
list if a different var is in the list with the same DECL_UID.
|
||||
(add_referenced_var): Call routine to check and insert.
|
||||
|
|
|
@ -9672,6 +9672,17 @@ multiple @code{#pragma pack(@var{n})} instances and finalized by a single
|
|||
@code{#pragma pack(pop)}.
|
||||
@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
|
||||
@subsection Weak Pragmas
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue