This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Feature request - a macro defined for GCC
- From: Andrew Haley <aph at redhat dot com>
- To: Jim Wilson <wilson at tuliptree dot org>
- Cc: x z <hzmonte at hotmail dot com>, gcc at gnu dot org
- Date: Wed, 02 Jul 2008 09:46:03 +0100
- Subject: Re: Feature request - a macro defined for GCC
- References: <BLU125-W17EAD8591F0443962FC5E5A09E0@phx.gbl> <BLU125-W344BFBA01CF733DBD08F3FA09E0@phx.gbl> <486AC5A2.4070103@tuliptree.org>
Jim Wilson wrote:
> If the Intel compiler correctly implements the GNU C language,
> then it shouldn't matter if the code is being compiled by GCC or ICC.
> Unless maybe you ran into a GCC bug, and want to enable a workaround
> only for GCC.
I think you'd want to conditionalize such a test on the GCC version
anyway.
Andrew.