This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/61493] [4.10 Regression] Bug exposed by speculative devirtualizing
- From: "wmi at google dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 13 Jun 2014 16:36:12 +0000
- Subject: [Bug tree-optimization/61493] [4.10 Regression] Bug exposed by speculative devirtualizing
- Auto-submitted: auto-generated
- References: <bug-61493-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61493
--- Comment #3 from wmi at google dot com ---
Fix a typo in the first post.
$~/workarea/gcc-r211604/build/install/bin/g++ -O2 1.cxx
$./a.out
not equal
$~/workarea/gcc-r211604/build/install/bin/g++ -O0 1.cxx
$./a.out
equal
$~/workarea/gcc-r211604/build/install/bin/g++ -O2
-fno-devirtualize-speculatively 1.cxx
$./a.out
equal