This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: PATCH (volatile support)
- To: mrs at wrs dot com, schwab at issan dot informatik dot uni-dortmund dot de
- Subject: Re: PATCH (volatile support)
- From: "Kaveh R. Ghazi" <ghazi at caip dot rutgers dot edu>
- Date: Tue, 5 May 1998 12:42:34 -0400 (EDT)
- Cc: egcs at cygnus dot com
> 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.