This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/28314] cpp: x86/powerpc inconsistency for the __linux macro
- From: "pinskia at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sat, 14 Jan 2012 00:08:46 +0000
- Subject: [Bug target/28314] cpp: x86/powerpc inconsistency for the __linux macro
- Auto-submitted: auto-generated
- References: <bug-28314-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28314
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target| |powerpc*-*-*
Status|UNCONFIRMED |NEW
Last reconfirmed| |2012-01-14
Ever Confirmed|0 |1
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> 2012-01-14 00:08:46 UTC ---
%{!std=*:-Dunix -D__unix -Dlinux -D__linux} \
%{std=gnu*:-Dunix -D__unix -Dlinux -D__linux}}} \
This has been a bug since the introduction of the define for __linux by:
r33942 | sirl | 2000-05-16 13:53:49 -0700 (Tue, 16 May 2000) | 5 lines
2000-05-16 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
* sysv4.h (CPP_OS_LINUX_SPEC): Define __unix and __linux according
to given options.