This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug middle-end/43340] miscompiled code at -O2



------- Comment #5 from jv244 at cam dot ac dot uk  2010-03-12 11:41 -------
(In reply to comment #4)
> Candidates to try for -O1 vs. -O2 are -f[no-]tree-vrp, -f[no-]tree-pre,
> -f[no-]strict-aliasing.  You can also rule out inlining effects by
> -fno-inline.

no luck :-(

-O1 OK
-O2 BUG
-O2 -fno-inline BUG
-O2 -fno-inline -fno-tree-vrp BUG
-O2 -fno-inline -fno-tree-vrp -fno-tree-pre BUG
-O2 -fno-inline -fno-tree-vrp -fno-tree-pre -fstrict-aliasing BUG
-O1 -ftree-vrp -ftree-pre -fno-strict-aliasing OK


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43340


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]