summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/ipa/imm-devirt-2.C
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/g++.dg/ipa/imm-devirt-2.C')
-rw-r--r--gcc/testsuite/g++.dg/ipa/imm-devirt-2.C7
1 files changed, 4 insertions, 3 deletions
diff --git a/gcc/testsuite/g++.dg/ipa/imm-devirt-2.C b/gcc/testsuite/g++.dg/ipa/imm-devirt-2.C
index 5bddc2fcb2..fc75b3e308 100644
--- a/gcc/testsuite/g++.dg/ipa/imm-devirt-2.C
+++ b/gcc/testsuite/g++.dg/ipa/imm-devirt-2.C
@@ -1,7 +1,7 @@
/* Verify that virtual calls are folded even early inlining puts them into one
function with the definition. */
/* { dg-do run } */
-/* { dg-options "-O2 -fdump-tree-fre1-details" } */
+/* { dg-options "-O2 -fdump-tree-einline" } */
extern "C" void abort (void);
@@ -91,5 +91,6 @@ int main (int argc, char *argv[])
return 0;
}
-/* { dg-final { scan-tree-dump "Replacing call target" "fre1" } } */
-/* { dg-final { cleanup-tree-dump "fre1" } } */
+/* We fold into thunk of C. Eventually we should inline the thunk. */
+/* { dg-final { scan-tree-dump "C::_ZThn\[0-9\]+_N1C3fooEi \\(" "einline" } } */
+/* { dg-final { cleanup-tree-dump "einline" } } */