> testcase in PR35545 shows case where profile feedback infrastructure ...

The test g++.dg/tree-prof/pr35545.C yields

UNRESOLVED: g++.dg/tree-prof/pr35545.C scan-ipa-dump-not optimized 
"OBJ_TYPE_REF"

The following patch

--- ../_clean/gcc/testsuite/g++.dg/tree-prof/pr35545.C  2014-09-27 
15:01:44.000000000 +0200
+++ gcc/testsuite/g++.dg/tree-prof/pr35545.C    2014-09-30 15:09:46.000000000 
+0200
@@ -48,5 +48,5 @@ int main()
 }
 /* { dg-final-use { scan-ipa-dump "Indirect call -> direct call" 
"profile_estimate" } } */
 /* { dg-final-use { cleanup-ipa-dump "profile" } } */
-/* { dg-final-use { scan-ipa-dump-not "OBJ_TYPE_REF" "optimized" } } */
+/* { dg-final-use { scan-tree-dump-not "OBJ_TYPE_REF" "optimized" } } */
 /* { dg-final-use { cleanup-tree-dump "optimized" } } */

fixes it.

Dominique

Reply via email to