aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/g++.dg/opt/devirt2.C
diff options
context:
space:
mode:
Diffstat (limited to 'gcc-4.9/gcc/testsuite/g++.dg/opt/devirt2.C')
-rw-r--r--gcc-4.9/gcc/testsuite/g++.dg/opt/devirt2.C2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc-4.9/gcc/testsuite/g++.dg/opt/devirt2.C b/gcc-4.9/gcc/testsuite/g++.dg/opt/devirt2.C
index cf4842bd4..ef8c1a123 100644
--- a/gcc-4.9/gcc/testsuite/g++.dg/opt/devirt2.C
+++ b/gcc-4.9/gcc/testsuite/g++.dg/opt/devirt2.C
@@ -1,5 +1,5 @@
// { dg-do compile }
-// { dg-options "-O2" }
+// { dg-options "-O2 -fdevirtualize" }
/* Using -mshort-calls avoids loading the function addresses in
registers and thus getting the counts wrong. */
// { dg-additional-options "-mshort-calls" {target epiphany-*-*} }