> On 5 May 2022, at 19:50, Martin Liška <mli...@suse.cz> wrote:
> 
> On 5/5/22 20:35, Andrew Pinski wrote:
>> GCC_VERSION will be 0 if GCC is not being used.
>> So you need to audit these better really.
> 
> Ah, I see. So it basically means all the non-GCC conditional
> code needs to remain and I can replace
> #if GCC_VERSION >= X_Y_Z with #ifdef __GNUC__

I think several non-GCC compilers define __GNUC__ so that depends on what you 
intend.
Iain

> 
> Am I correct?
> Martin

Reply via email to