This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/69534] [6 Regression] openjade is miscompiled
- 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, 15 Feb 2016 12:05:00 +0000
- Subject: [Bug c++/69534] [6 Regression] openjade is miscompiled
- Auto-submitted: auto-generated
- References: <bug-69534-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69534
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
CC| |jason at gcc dot gnu.org
Resolution|--- |INVALID
--- Comment #9 from Richard Biener <rguenth at gcc dot gnu.org> ---
So the issue here is that the allocator state is embedded into the actual
objects
but the C++ standard defines that the old object content becomes undefined
after it is re-used (allocation) or destructed.
openjade is simply non-conforming here. -fno-lifetime-dse helps.
"Caused" by r222135.
I suppose this warrants some notice in porting_to.html.