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] Fix PR target/19933 and PR target/21315


> 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

What are you concerned about, exactly?  That we still fix the Sun version when 
there is already a GCC version (harmless) or that we fix the GCC version 
(wrong).  In the former case I don't see the problem, in the latter case I'm 
under the impression the solution is to strengthen the matching regexp, not 
to loosen the bypass regexp.

-- 
Eric Botcazou


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