Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S965295AbWJ2Q76 (ORCPT ); Sun, 29 Oct 2006 11:59:58 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S965297AbWJ2Q76 (ORCPT ); Sun, 29 Oct 2006 11:59:58 -0500 Received: from pool-72-66-199-112.ronkva.east.verizon.net ([72.66.199.112]:60869 "EHLO turing-police.cc.vt.edu") by vger.kernel.org with ESMTP id S965295AbWJ2Q76 (ORCPT ); Sun, 29 Oct 2006 11:59:58 -0500 Message-Id: <200610291659.k9TGxnwZ011825@turing-police.cc.vt.edu> X-Mailer: exmh version 2.7.2 01/07/2005 with nmh-1.2 To: "Robert P. J. Day" Cc: Alexey Dobriyan , Jan Engelhardt , linux-kernel@vger.kernel.org Subject: Re: why test for "__GNUC__"? In-Reply-To: Your message of "Sun, 29 Oct 2006 10:48:43 EST." From: Valdis.Kletnieks@vt.edu References: <20061029120534.GA4906@martell.zuzino.mipt.ru> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="==_Exmh_1162141188_6875P"; micalg=pgp-sha1; protocol="application/pgp-signature" Content-Transfer-Encoding: 7bit Date: Sun, 29 Oct 2006 11:59:48 -0500 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1494 Lines: 46 --==_Exmh_1162141188_6875P Content-Type: text/plain; charset=us-ascii On Sun, 29 Oct 2006 10:48:43 EST, "Robert P. J. Day" said: > On Sun, 29 Oct 2006, Alexey Dobriyan wrote: > > > On Sun, Oct 29, 2006 at 07:44:18AM -0500, Robert P. J. Day wrote: > > > p.s. is there, in fact, any part of the kernel source tree that has a > > > preprocessor directive to identify the use of ICC? just curious. > > > > Please, do > > > > ls include/linux/compiler-* > > but according to compiler.h: > > /* Intel compiler defines __GNUC__. So we will overwrite implementations > * coming from above header files here > */ > > so even ICC will define __GNUC__, which means that testing for > __GNUC__ is *still*, under the circumstances, redundant, isn't that > right? The Intel compiler started defining __GNUC__ fairly recently (within the last 2-3 years). Most likely the tests date from long ago and far away, before it did so. --==_Exmh_1162141188_6875P Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (GNU/Linux) Comment: Exmh version 2.5 07/13/2001 iD8DBQFFRN4EcC3lWbTT17ARAkuWAJ0VLzuYtxLlaH7616NndCkWW3rqFACfQYuY RZLEEcz9HXxJ2Dc9YoWGKow= =fA3l -----END PGP SIGNATURE----- --==_Exmh_1162141188_6875P-- - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/