diff options
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.C | 2 |
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 cf4842b..ef8c1a1 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-*-*} } |