This is the mail archive of the gcc@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]

Re: PATCH (volatile support)


 > From: Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
 > 
 > Mike Stump <mrs@wrs.com> writes:
 > 
 > |> tree.h almost seemed like the exact wrong place for this code, but
 > |> nothing struct me as the right place for it.  Maybe someone with a
 > |> better sense of the big picture can recommend a better place for it.
 > 
 > What about system.h?
 > -- 
 > Andreas Schwab                                      "And now for something



	I've been trying pretty hard to seperate tests on autoconf
macros into system.h while putting tests on compiler macros into
gansidecl.h.  This allows us to include gansidecl.h in target files
which haven't got autoconf macros set.

	So if you're going to base your check on __STDC__ or __GNUC__,
etc, please consider putting your test into gansidecl.h, not system.h

		Thanks,
		--Kaveh

PS: Note, tree.h includes gansidecl.h, so your converage will be the
same as your existing patch. 

--
Kaveh R. Ghazi			Project Manager / Custom Development
ghazi@caip.rutgers.edu		Icon CMT Corp.


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