This is the mail archive of the gcc-patches@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]

[PATCH, AIX] Add missing macros PR39950


The appended patch adds a few macros that XLC now defines on AIX.

- David

        * config/rs6000/aix.h (TARGET_OS_AIX_CPP_BUILTINS): Define
        __powerpc__, __PPC__, __unix__.

Index: aix.h
===================================================================
--- aix.h       (revision 179610)
+++ aix.h       (working copy)
@@ -97,6 +97,9 @@
     {                                          \
       builtin_define ("_IBMR2");               \
       builtin_define ("_POWER");               \
+      builtin_define ("__powerpc__");           \
+      builtin_define ("__PPC__");               \
+      builtin_define ("__unix__");              \
       builtin_define ("_AIX");                 \
       builtin_define ("_AIX32");               \
       builtin_define ("_AIX41");               \


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