Hi,

A new warning was added in 264657 that fires if the profile count data file is 
missing when -fprofile-use is enabled;  this was causing the test for profile + 
reorder support to fail in the target supports.

Applied the following as obvious.

Iain

Index: gcc/testsuite/ChangeLog
===================================================================
--- gcc/testsuite/ChangeLog     (revision 266784)
+++ gcc/testsuite/ChangeLog     (working copy)
@@ -1,3 +1,9 @@
+2018-12-04  Iain Sandoe  <i...@sandoe.co.uk>
+
+       PR testsuite/88310
+       * lib/target-supports.exp (check_effective_target_freorder):
+       Suppress warnings for missing profile.
+
 2018-12-04  Jakub Jelinek  <ja...@redhat.com>
 
        * g++.old-deja/g++.oliva/typename1.C: Don't expect any diagnostics
Index: gcc/testsuite/lib/target-supports.exp
===================================================================
--- gcc/testsuite/lib/target-supports.exp       (revision 266784)
+++ gcc/testsuite/lib/target-supports.exp       (working copy)
@@ -1094,7 +1094,7 @@
     } "-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

Reply via email to