]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
testsuite: Require 128 bit long double for ibmlongdouble.
authorDavid Edelsohn <dje.gcc@gmail.com>
Sat, 15 Jul 2023 22:44:25 +0000 (18:44 -0400)
committerDavid Edelsohn <dje.gcc@gmail.com>
Sat, 15 Jul 2023 22:49:33 +0000 (18:49 -0400)
pr103628.f90 adds the -mabi=ibmlongdouble option, but AIX defaults
to 64 bit long double. This patch adds -mlong-double-128 to ensure
that the testcase is compiled with 128 bit long double.

gcc/testsuite/ChangeLog:
* gfortran.dg/pr103628.f90: Add -mlong-double-128 option.

Signed-off-by: David Edelsohn <dje.gcc@gmail.com>
gcc/testsuite/gfortran.dg/pr103628.f90

index 255d5bdd73e399f8b20160b414a6f339cabd577b..98ec0f484fa7efd06ed8ca3bd15a1fc53a409f39 100644 (file)
@@ -1,5 +1,5 @@
 ! { dg-do compile { target powerpc*-*-* } }
-! { dg-options "-O2 -mabi=ibmlongdouble" }
+! { dg-options "-O2 -mlong-double-128 -mabi=ibmlongdouble" }
 
 ! Test to ensure that it reports an "Cannot simplify expression" error
 ! instead of throwing an ICE when the memory represent of the HOLLERITH