This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/65307] [4.9 Regression] Incorrect optimization breaks basic arithmetic
- From: "madars+gccbug at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 05 Mar 2015 01:30:35 +0000
- Subject: [Bug tree-optimization/65307] [4.9 Regression] Incorrect optimization breaks basic arithmetic
- Auto-submitted: auto-generated
- References: <bug-65307-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65307
--- Comment #12 from madars+gccbug at gmail dot com ---
By the way, in g++ the bug can be triggered even with -O1 and without marking
any functions inline (implicitly or explicitly):
http://web.mit.edu/madars/Public/gcc-basic-arithmetic-bug-O1.cpp