https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79067
--- Comment #3 from Andi Kleen <andi-gcc at firstfloor dot org> --- sandra, does this patch fix it? diff --git a/gcc/testsuite/gcc.dg/tree-prof/cold_partition_label.c b/gcc/testsuite/gcc.dg/tree-prof/cold_partition_label.c index 6214e3629f2..924a270e1bd 100644 --- a/gcc/testsuite/gcc.dg/tree-prof/cold_partition_label.c +++ b/gcc/testsuite/gcc.dg/tree-prof/cold_partition_label.c @@ -2,6 +2,7 @@ gets a label. */ /* { dg-require-effective-target freorder } */ /* { dg-options "-O2 -freorder-blocks-and-partition -save-temps" } */ +/* { dg-require-profiling "-fprofile-generate" } */ #define SIZE 10000