[Bug c++/11376] [3.3/3.4 regression] mozilla-1.4 miscompiled

dberlin at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Tue Jul 8 17:18:00 GMT 2003


PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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



------- Additional Comments From dberlin at gcc dot gnu dot org  2003-07-08 17:18 -------
This is kind of humorous.
Mark first points out it's an aliasing violation, *then* we discover it was the 
patch that added TBAA for simple C++ classes that broke the code.
Usually it's the other way around.
However, to add something useful, the fact that it was exposed by this patch 
lends credence to Mark's point that it's an aliasing violation.

Unless someone doesn't think Mark is correct, this bug should be closed, as the 
code is invalid C++.



More information about the Gcc-bugs mailing list