Fix gcc.dg/vla-1.c
commitbd7f16b43e2afe5bd8429479485b5c70cedbdee6
authorAndrew Pinski <quic_apinski@quicinc.com>
Sun, 26 Nov 2023 04:24:56 +0000 (25 20:24 -0800)
committerAndrew Pinski <quic_apinski@quicinc.com>
Sun, 26 Nov 2023 04:28:14 +0000 (25 20:28 -0800)
tree934f1b428626b35bc2f3369d80c2f26b1c7a462e
parenta9693bff396b28748464630e4c524776bce3ff4e
Fix gcc.dg/vla-1.c

r14-5628-g53ba8d669550d3 added noipa to f1 but `-fno-ipa-vrp` should have been used
instead. The testcase is testing about the clone of f1 so turning off
IPA VRP is the correct approach here rather than turning off of IPA on the function.

gcc/testsuite/ChangeLog:

PR testsuite/112691
* gcc.dg/vla-1.c: Add -fno-ipa-vrp.
Remove noipa from f1.

Signed-off-by: Andrew Pinski <quic_apinski@quicinc.com>
gcc/testsuite/gcc.dg/vla-1.c