From: David Edelsohn Date: Sat, 15 Jul 2023 22:44:25 +0000 (-0400) Subject: testsuite: Require 128 bit long double for ibmlongdouble. X-Git-Tag: basepoints/gcc-15~7597 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=87646d160fa1a1d965610c2f0b17b53a465a45b2;p=thirdparty%2Fgcc.git 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 --- diff --git a/gcc/testsuite/gfortran.dg/pr103628.f90 b/gcc/testsuite/gfortran.dg/pr103628.f90 index 255d5bdd73e3..98ec0f484fa7 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