This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/11376] [3.3/3.4 regression] mozilla-1.4 miscompiled
- From: "dberlin at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 8 Jul 2003 17:18:30 -0000
- Subject: [Bug c++/11376] [3.3/3.4 regression] mozilla-1.4 miscompiled
- References: <20030630081619.11376.sirl@gcc.gnu.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
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++.