From 44a0738e202bc0db9e623aaf7fe50e4a62a1ad5a Mon Sep 17 00:00:00 2001 From: Iain Sandoe Date: Tue, 4 Dec 2018 15:31:06 +0000 Subject: [PATCH] testsuite - restore the tests for profiled + partitioned code. 2018-12-04 Iain Sandoe PR testsuite/88310 * lib/target-supports.exp (check_effective_target_freorder): Suppress warnings for missing profile. From-SVN: r266785 --- gcc/testsuite/ChangeLog | 6 ++++++ gcc/testsuite/lib/target-supports.exp | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index c274003231f..fc2df999e91 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,9 @@ +2018-12-04 Iain Sandoe + + PR testsuite/88310 + * lib/target-supports.exp (check_effective_target_freorder): + Suppress warnings for missing profile. + 2018-12-04 Jakub Jelinek * g++.old-deja/g++.oliva/typename1.C: Don't expect any diagnostics diff --git a/gcc/testsuite/lib/target-supports.exp b/gcc/testsuite/lib/target-supports.exp index faa67e22321..5026c5906cd 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 -- 2.30.2