aix: SYSTEM_IMPLICIT_EXTERN_C
commit9cf3f026e281f5eb978a78055d8949a3295b7f10
authorDavid Edelsohn <dje.gcc@gmail.com>
Tue, 24 Aug 2021 20:48:57 +0000 (24 16:48 -0400)
committerDavid Edelsohn <dje.gcc@gmail.com>
Tue, 24 Aug 2021 22:33:21 +0000 (24 18:33 -0400)
tree5c9286c484f9cd5773c38bcb55dfd9f31d701160
parent81e1894456bc6214c0c42148ff2b1bed142a3545
aix: SYSTEM_IMPLICIT_EXTERN_C

AIX 7.3 system headers are C++ safe and GCC no longer needs to define
SYSTEM_IMPLICIT_EXTERN_C for AIX 7.3.  This patch moves the definition
from aix.h to the individual OS-level configuration files and does not
define the macro for AIX 7.3.

The patch also corrects the definition of TARGET_AIX_VERSION to 73.

gcc/ChangeLog:
* config/rs6000/aix.h (SYSTEM_IMPLICIT_EXTERN_C): Delete.
* config/rs6000/aix71.h (SYSTEM_IMPLICIT_EXTERN_C): Define.
* config/rs6000/aix72.h (SYSTEM_IMPLICIT_EXTERN_C): Define.
* config/rs6000/aix73.h (TARGET_AIX_VERSION): Increase to 73.
gcc/config/rs6000/aix.h
gcc/config/rs6000/aix71.h
gcc/config/rs6000/aix72.h
gcc/config/rs6000/aix73.h