testsuite - restore the tests for profiled + partitioned code.
authorIain Sandoe <iain@sandoe.co.uk>
Tue, 4 Dec 2018 15:31:06 +0000 (15:31 +0000)
committerIain Sandoe <iains@gcc.gnu.org>
Tue, 4 Dec 2018 15:31:06 +0000 (15:31 +0000)
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

gcc/testsuite/ChangeLog
gcc/testsuite/lib/target-supports.exp

index c274003231f898ecc66c9bd64cfd9fda3ae81de8..fc2df999e91b2528e6e7a4dca500e3463916e383 100644 (file)
@@ -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
index faa67e22321724daebc7f2d2c4158a1f29542bfc..5026c5906cda3f2f1b21afbc9cd270aee1a81129 100644 (file)
@@ -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