This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Fix PR target/19933 and PR target/21315
On Thu, 12 May 2005, Eric Botcazou wrote:
> The reasoning is that we keep fixing unless we are sure we don't need to.
> Using only __GNUC__ seems hazardous, as it could pop up in another unrelated
> part of the header.
But equally __GNUC__ could appear elsewhere as part of a proper
conditioning of the definitions.
#if __GNUC__ >= 4
#define __have_somthing
#endif
...
#ifdef __have_something
...
#endif
As we don't know what future headers will look like I'd rather just have
the minimal bypass on __GNUC__ unless and until we find future headers
which are partially but not fully GCC-prepared.
--
Joseph S. Myers http://www.srcf.ucam.org/~jsm28/gcc/
jsm@polyomino.org.uk (personal mail)
joseph@codesourcery.com (CodeSourcery mail)
jsm28@gcc.gnu.org (Bugzilla assignments and CCs)