[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[Bug target/28314] cpp: x86/powerpc inconsistency for the __linux macro



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.

-- 
Configure bugmail: http://gcc.gnu.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You reported the bug.


Reply to: