inline-crossmodule-1_0.C: Use -fdump-ipa-inline-details instead of -fdump-ipa-inline.
authorJakub Jelinek <jakub@redhat.com>
Tue, 3 Dec 2019 00:33:27 +0000 (01:33 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Tue, 3 Dec 2019 00:33:27 +0000 (01:33 +0100)
* g++.dg/lto/inline-crossmodule-1_0.C: Use -fdump-ipa-inline-details
instead of -fdump-ipa-inline.  Use "inline" instead of "inlined" as
last argument to scan-wpa-ipa-dump-times, use \\\( and \\\) instead of
( and ) in the regex.

From-SVN: r278916

gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/lto/inline-crossmodule-1_0.C

index 4ec5a264eddec50f2df5605aa10f6ee364f8a651..d5c7b0d1cf943f48188d308af7750be696140918 100644 (file)
@@ -1,3 +1,10 @@
+2019-12-03  Jakub Jelinek  <jakub@redhat.com>
+
+       * g++.dg/lto/inline-crossmodule-1_0.C: Use -fdump-ipa-inline-details
+       instead of -fdump-ipa-inline.  Use "inline" instead of "inlined" as
+       last argument to scan-wpa-ipa-dump-times, use \\\( and \\\) instead of
+       ( and ) in the regex.
+
 2019-12-02  Jakub Jelinek  <jakub@redhat.com>
 
        PR c++/92695
index 7517d062ab9ce0c911b703e50e5ac52357ae06d9..adbc43ea2534db913d3925de0aec9f87244c5ae3 100644 (file)
@@ -1,11 +1,11 @@
 // { dg-lto-do link }
-/* { dg-lto-options { "-O2 -fno-early-inlining -flto -fdump-ipa-inline" } } */
+/* { dg-lto-options { "-O2 -fno-early-inlining -flto -fdump-ipa-inline-details" } } */
 #include "inline-crossmodule-1.h"
 int a::key ()
 {
   return 0;
 }
-/* { dg-final { scan-wpa-ipa-dump-times "Inlined ret1" 1 "inlined"  } } */
-/* { dg-final { scan-wpa-ipa-dump-times "Inlined ret2" 1 "inlined"  } } */
-/* { dg-final { scan-wpa-ipa-dump-times "Inlined key\[^\\n\]*(cross module)" 1 "inlined"  } } */
-/* { dg-final { scan-wpa-ipa-dump-times "(cross module)" 1 "inlined"  } } */
+/* { dg-final { scan-wpa-ipa-dump-times "Inlined ret1" 1 "inline"  } } */
+/* { dg-final { scan-wpa-ipa-dump-times "Inlined ret2" 1 "inline"  } } */
+/* { dg-final { scan-wpa-ipa-dump-times "Inlined key\[^\\n\]*\\\(cross module\\\)" 1 "inline"  } } */
+/* { dg-final { scan-wpa-ipa-dump-times "\\\(cross module\\\)" 1 "inline"  } } */