This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [patch] pragma for ms_struct



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


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

2006-04-25 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.

Geoff approved this offline with the note that we should make the entire file just one way. I agree, but that's a different patch.


Committed to mainline.

-eric


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]