From: Eric Botcazou Date: Tue, 8 Dec 2020 08:19:36 +0000 (+0100) Subject: Fix PR target/96470 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c1370f8c0d0760714fe77d55c1fa16045ffa69f2;p=gcc.git Fix PR target/96470 This forces the scalarization of the testcase on PowerPC. gcc/testsuite/ChangeLog: PR target/96470 * gnat.dg/opt39.adb: Add dg-additional-options for PowerPC. --- diff --git a/gcc/testsuite/gnat.dg/opt39.adb b/gcc/testsuite/gnat.dg/opt39.adb index 0a5ef67a2ed..f2e983fd602 100644 --- a/gcc/testsuite/gnat.dg/opt39.adb +++ b/gcc/testsuite/gnat.dg/opt39.adb @@ -1,5 +1,6 @@ -- { dg-do compile } -- { dg-options "-O2 -fno-inline -fdump-tree-optimized" } +-- { dg-additional-options "-cargs --param=sra-max-scalarization-size-Ospeed=32 -margs" { target powerpc*-*-* } } procedure Opt39 (I : Integer) is