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.
This commit is contained in:
Andrew Pinski 2023-11-27 10:08:33 -08:00
parent eecdd96c8d
commit cd2519a6f8

View file

@ -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))