target-def.h (TARGET_SET_DEFAULT_TYPE_ATTRIBUTES): Bracket with #ifndef/#endif.
commit16d6f9946152f1d5deb56e2b816566f892c4cc76
authorEric Christopher <echristo@gcc.gnu.org>
Thu, 27 Apr 2006 22:53:23 +0000 (27 22:53 +0000)
committerEric Christopher <echristo@gcc.gnu.org>
Thu, 27 Apr 2006 22:53:23 +0000 (27 22:53 +0000)
tree7544c1d5db81412c38f591c7b266ee7291942b52
parent6f3d6562d8c6a82bf0ecf25651f35c556b4991ec
target-def.h (TARGET_SET_DEFAULT_TYPE_ATTRIBUTES): Bracket with #ifndef/#endif.

2006-04-27  Eric Christopher  <echristo@apple.com>

        * target-def.h (TARGET_SET_DEFAULT_TYPE_ATTRIBUTES): Bracket
        with #ifndef/#endif.
        * config/darwin-c.c (darwin_ms_struct): New.
        (darwin_pragma_ms_struct): Ditto.
        (darwin_set_default_type_attributes): Ditto.
        * config/darwin-protos.h (darwin_pragma_ms_struct): Declare.
        * config/darwin.h (DARWIN_REGISTER_TARGET_PRAGMAS):
        Register ms_struct pragma.
        * config/i386/darwin.h (REGISTER_TARGET_PRAGMAS): Declare.
        (TARGET_SET_DEFAULT_TYPE_ATTRIBUTES): Ditto.
        * config/rs6000/rs6000.c (rs6000_set_default_type_attributes): Call
        darwin_set_default_type_attributes if TARGET_MACHO.

2006-04-27  Eric Christopher  <echristo@apple.com>

        * gcc.dg/pragma-ms_struct.c: New.

From-SVN: r113327
gcc/ChangeLog
gcc/config/darwin-c.c
gcc/config/darwin-protos.h
gcc/config/darwin.h
gcc/config/i386/darwin.h
gcc/config/rs6000/rs6000.c
gcc/target-def.h
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/pragma-ms_struct.c [new file with mode: 0644]