IBM Z: Support vector _Bool language extension
commit7e75d62442fc3707c96c53d22f6c185fdf893c72
authorAndreas Krebbel <krebbel@linux.ibm.com>
Tue, 18 May 2021 06:51:08 +0000 (18 08:51 +0200)
committerAndreas Krebbel <krebbel@linux.ibm.com>
Tue, 18 May 2021 06:51:50 +0000 (18 08:51 +0200)
treed7fc14869e3198702ed171c78e051f0c91d7d354
parent720dff974ea0487c35c0a4bfa527f30df5066ce1
IBM Z: Support vector _Bool language extension

_Bool needs to be defined as macro in order to trigger the
context-sensitive macro expansion mechanism.

gcc/ChangeLog:

* config/s390/s390-c.c (s390_cpu_cpp_builtins_internal): Define
_Bool as macro expanding to _Bool.

gcc/testsuite/ChangeLog:

* gcc.target/s390/zvector/vec-_Bool.c: New test.
gcc/config/s390/s390-c.c
gcc/testsuite/gcc.target/s390/zvector/vec-_Bool.c [new file with mode: 0644]