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 c++/69534] [6 Regression] openjade is miscompiled


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.

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