+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
// { 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" } } */