2
0
mirror of git://gcc.gnu.org/git/gcc.git synced 2025-04-18 01:20:48 +08:00

testsuite - restore the tests for profiled + partitioned code.

2018-12-04  Iain Sandoe  <iain@sandoe.co.uk>

	PR testsuite/88310
	* lib/target-supports.exp (check_effective_target_freorder):
	Suppress warnings for missing profile.

From-SVN: r266785
This commit is contained in:
Iain Sandoe 2018-12-04 15:31:06 +00:00 committed by Iain Sandoe
parent 36d070a7b4
commit 44a0738e20
2 changed files with 7 additions and 1 deletions

@ -1,3 +1,9 @@
2018-12-04 Iain Sandoe <iain@sandoe.co.uk>
PR testsuite/88310
* lib/target-supports.exp (check_effective_target_freorder):
Suppress warnings for missing profile.
2018-12-04 Jakub Jelinek <jakub@redhat.com>
* g++.old-deja/g++.oliva/typename1.C: Don't expect any diagnostics

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