S/390: Rename __S390_ARCH_LEVEL__ to __ARCH__.
authorAndreas Krebbel <krebbel@linux.vnet.ibm.com>
Tue, 31 Jan 2017 09:14:36 +0000 (09:14 +0000)
committerAndreas Krebbel <krebbel@gcc.gnu.org>
Tue, 31 Jan 2017 09:14:36 +0000 (09:14 +0000)
commit4727e06bb7c047a10aa502c829b7e4b519d8082b
tree7be2a2a3b6a960a51ffc949be4a84ad962351659
parentb6dae84928a112b2f176ad168d8c5b7e0ecdd5cb
S/390: Rename __S390_ARCH_LEVEL__ to __ARCH__.

We have recently added the predefined macro __S390_ARCH_LEVEL__ to
expand to a numerical value representing the architecture document
level currently in use.  However, the IBM XL compiler already has a
macro named __ARCH__ for that purpose.  So we change our macro to that
in order to improve portability.

gcc/ChangeLog:

2017-01-31  Andreas Krebbel  <krebbel@linux.vnet.ibm.com>

* config/s390/s390-c.c (s390_cpu_cpp_builtins_internal): Rename
__S390_ARCH_LEVEL__ to __ARCH__.

gcc/testsuite/ChangeLog:

2017-01-31  Andreas Krebbel  <krebbel@linux.vnet.ibm.com>

* gcc.target/s390/s390.exp: Rename __S390_ARCH_LEVEL__ to
__ARCH__.

From-SVN: r245055
gcc/ChangeLog
gcc/config/s390/s390-c.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/s390/s390.exp