https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88310
Richard Biener <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ibhagatgnu at gmail dot com Target Milestone|--- |9.0 --- Comment #2 from Richard Biener <rguenth at gcc dot gnu.org> --- (In reply to Iain Sandoe from comment #1) > a suitable fix might be: > > diff --git a/gcc/testsuite/lib/target-supports.exp > b/gcc/testsuite/lib/target-supports.exp > index faa67e2..5026c59 100644 > --- a/gcc/testsuite/lib/target-supports.exp > +++ b/gcc/testsuite/lib/target-supports.exp > @@ -1094,7 +1094,7 @@ proc check_effective_target_freorder {} { > } "-freorder-blocks-and-partition"] > && [check_no_compiler_messages fprofile_use_freorder object { > void foo (void) { } > - } "-fprofile-use -freorder-blocks-and-partition"] } { > + } "-fprofile-use -freorder-blocks-and-partition -Wno-missing-profile"] > } { > return 1 > } > return 0 > > > assuming that this still excludes the intended targets. I think that looks OK.