]> git.ipfire.org Git - thirdparty/gcc.git/commit
Fix time-profiler-3.c after r14-5628-g53ba8d669550d3
authorAndrew Pinski <quic_apinski@quicinc.com>
Mon, 27 Nov 2023 18:08:33 +0000 (10:08 -0800)
committerAndrew Pinski <quic_apinski@quicinc.com>
Mon, 27 Nov 2023 22:59:56 +0000 (14:59 -0800)
commitcd2519a6f857539262398f3ff63b53de173e2a88
tree611b168e1c752ef675d50eb94d8f874031282981
parenteecdd96c8d1de244e21212a830e51062b3e444c5
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.
gcc/testsuite/gcc.dg/tree-prof/time-profiler-3.c