rs6000: don't expect __ibm128 with 64-bit long double [PR99708]
authorAlexandre Oliva <oliva@adacore.com>
Sat, 15 Apr 2023 02:53:36 +0000 (23:53 -0300)
committerAlexandre Oliva <oliva@gnu.org>
Sat, 15 Apr 2023 02:53:57 +0000 (23:53 -0300)
commit86b31d583a3657f11d930ff156c07b2e20ab05eb
treee639ca747cbc992740de04796fddc88a68f02f07
parent9964df74a9e99e850bf9b0b6ff5c47133f846db8
rs6000: don't expect __ibm128 with 64-bit long double [PR99708]

When long double is 64-bit wide, as on vxworks, the rs6000 backend
defines neither the __ibm128 type nor the __SIZEOF_IBM128__ macro, but
pr99708.c expected both to be always defined.  Adjust the test to
match the implementation.

Co-Authored-By: Kewen Lin <linkw@linux.ibm.com>
for  gcc/testsuite/ChangeLog

PR target/99708
* gcc.target/powerpc/pr99708.c: Accept lack of
__SIZEOF_IBM128__ when long double is 64-bit wide.
gcc/testsuite/gcc.target/powerpc/pr99708.c