This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/63311] [4.9/5 Regression] -O1 optimization introduces valgrind warning
- From: "rguenth at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 24 Nov 2014 13:27:39 +0000
- Subject: [Bug middle-end/63311] [4.9/5 Regression] -O1 optimization introduces valgrind warning
- Auto-submitted: auto-generated
- References: <bug-63311-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63311
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Priority|P3 |P2
Known to work| |4.8.3
Known to fail| |4.9.2
--- Comment #7 from Richard Biener <rguenth at gcc dot gnu.org> ---
Confirmed that it is ifcombine. Not sure if I'd call it wrong-code though.
Note that there are no default-defs involved thus ifcombine doesn't see
must-uninits and disabling its transform when maybe-uninits are seen
is IMHO bogus.
Not sure what to do about this one. There is no way to preserve evaluation
order (no andif / orif on gimple).