aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Pinski <quic_apinski@quicinc.com>2023-11-27 10:08:33 -0800
committerAndrew Pinski <quic_apinski@quicinc.com>2023-11-27 14:59:56 -0800
commitcd2519a6f857539262398f3ff63b53de173e2a88 (patch)
tree611b168e1c752ef675d50eb94d8f874031282981
parenteecdd96c8d1de244e21212a830e51062b3e444c5 (diff)
downloadgcc-cd2519a6f857539262398f3ff63b53de173e2a88.zip
gcc-cd2519a6f857539262398f3ff63b53de173e2a88.tar.gz
gcc-cd2519a6f857539262398f3ff63b53de173e2a88.tar.bz2
Fix time-profiler-3.c after r14-5628-g53ba8d669550d3
This testcase started to fail after r14-5628-g53ba8d669550d3 because IPA-VRP can now start to figure out the functions return a constant value and there was nothing that profiling needed to profile any more. This disables IPA-VRP for this testcase to be able to profile again. Bootrapped/tested on x86_64-linux-gnu with no regressions. gcc/testsuite/ChangeLog: PR testsuite/112689 * gcc.dg/tree-prof/time-profiler-3.c: Add -fno-ipa-vrp.
-rw-r--r--gcc/testsuite/gcc.dg/tree-prof/time-profiler-3.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/testsuite/gcc.dg/tree-prof/time-profiler-3.c b/gcc/testsuite/gcc.dg/tree-prof/time-profiler-3.c
index 69ce026..e54a06a 100644
--- a/gcc/testsuite/gcc.dg/tree-prof/time-profiler-3.c
+++ b/gcc/testsuite/gcc.dg/tree-prof/time-profiler-3.c
@@ -1,4 +1,4 @@
-/* { dg-options "-O2 -fdump-ipa-profile -fprofile-update=atomic" } */
+/* { dg-options "-O2 -fdump-ipa-profile -fprofile-update=atomic -fno-ipa-vrp" } */
/* { dg-require-effective-target profile_update_atomic } */
__attribute__ ((noinline))