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]
Other format: [Raw text]

Re: Intel compiler 8.0 pretends to be gcc 3.2.


Wolfgang Bangerth wrote:
> > You folks should be aware that gcc is no longer the only compiler that
> > defines __GNUC__.  Version 8 of icc for Linux does this as well.
> 
> What a particularly unfortunate decision!

Perhaps.  But if I were developing a compiler and supported GCC
extensions, particularly the extended asm, I'd probably define
__GNUC__ too.  There's a huge number of applications out there that
will compile to better code iff __GNUC__ is defined.

-- Jamie


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