diff options
author | David Edelsohn <dje.gcc@gmail.com> | 2023-07-15 18:44:25 -0400 |
---|---|---|
committer | David Edelsohn <dje.gcc@gmail.com> | 2023-07-15 18:49:33 -0400 |
commit | 87646d160fa1a1d965610c2f0b17b53a465a45b2 (patch) | |
tree | e4db64e05294efbd85780361f7113d95ac05052e | |
parent | 05a1156d03f5c9a2a7d646340e82f82c51cbe0b0 (diff) | |
download | gcc-87646d160fa1a1d965610c2f0b17b53a465a45b2.zip gcc-87646d160fa1a1d965610c2f0b17b53a465a45b2.tar.gz gcc-87646d160fa1a1d965610c2f0b17b53a465a45b2.tar.bz2 |
testsuite: Require 128 bit long double for ibmlongdouble.
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>
-rw-r--r-- | gcc/testsuite/gfortran.dg/pr103628.f90 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/testsuite/gfortran.dg/pr103628.f90 b/gcc/testsuite/gfortran.dg/pr103628.f90 index 255d5bd..98ec0f4 100644 --- a/gcc/testsuite/gfortran.dg/pr103628.f90 +++ b/gcc/testsuite/gfortran.dg/pr103628.f90 @@ -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 |