This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug testsuite/88310] [9 Regression] Guarded profile use + reorder tests have become UNSUPPORTED
- From: "rguenth at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 03 Dec 2018 13:26:17 +0000
- Subject: [Bug testsuite/88310] [9 Regression] Guarded profile use + reorder tests have become UNSUPPORTED
- Auto-submitted: auto-generated
- References: <bug-88310-4@http.gcc.gnu.org/bugzilla/>
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.