aboutsummaryrefslogtreecommitdiff
path: root/gcc/fortran/trans-decl.cc
diff options
context:
space:
mode:
authorMartin Jambor <mjambor@suse.cz>2024-02-15 11:50:34 +0100
committerMartin Jambor <mjambor@suse.cz>2024-02-15 11:50:58 +0100
commitf0e2714f241b1dcf867c2cfc5586bdea63dbf891 (patch)
treea78b73d938ac371fac4f8b6fae889146071f1774 /gcc/fortran/trans-decl.cc
parent98e931de9adce41fba0e7f187e31ac1dfcbb8a00 (diff)
downloadgcc-f0e2714f241b1dcf867c2cfc5586bdea63dbf891.zip
gcc-f0e2714f241b1dcf867c2cfc5586bdea63dbf891.tar.gz
gcc-f0e2714f241b1dcf867c2cfc5586bdea63dbf891.tar.bz2
testsuite: Fix guality/ipa-sra-1.c to work with return IPA-VRP
The test guality/ipa-sra-1.c stopped working after r14-5628-g53ba8d669550d3 because the variable from which the values of removed parameters could be calculated is also removed with it. Fixed with this patch which stops a function from returning a constant. I have also noticed that the XFAILed test passes at -O0 -O1 and -Og on all (three) targets I have tried, not just aarch64, so I extended the xfail exception accordingly. gcc/testsuite/ChangeLog: 2024-02-14 Martin Jambor <mjambor@suse.cz> * gcc.dg/guality/ipa-sra-1.c (get_val1): Move up in the file. (get_val2): Likewise. (bar): Do not return a constant. Extend xfail exception for all targets.
Diffstat (limited to 'gcc/fortran/trans-decl.cc')
0 files changed, 0 insertions, 0 deletions