From: Jakub Jelinek Date: Tue, 3 Dec 2019 00:33:27 +0000 (+0100) Subject: inline-crossmodule-1_0.C: Use -fdump-ipa-inline-details instead of -fdump-ipa-inline. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b650026dff124049729faf9fefa66ff0f0effceb;p=gcc.git inline-crossmodule-1_0.C: Use -fdump-ipa-inline-details instead of -fdump-ipa-inline. * 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 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 4ec5a264edd..d5c7b0d1cf9 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,10 @@ +2019-12-03 Jakub Jelinek + + * 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 PR c++/92695 diff --git a/gcc/testsuite/g++.dg/lto/inline-crossmodule-1_0.C b/gcc/testsuite/g++.dg/lto/inline-crossmodule-1_0.C index 7517d062ab9..adbc43ea253 100644 --- a/gcc/testsuite/g++.dg/lto/inline-crossmodule-1_0.C +++ b/gcc/testsuite/g++.dg/lto/inline-crossmodule-1_0.C @@ -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" } } */