This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/30252] [4.2 regression] miscompilation of sigc++-2.0 based code with -fstrict-aliasing
- 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: 14 May 2007 19:01:37 -0000
- Subject: [Bug c++/30252] [4.2 regression] miscompilation of sigc++-2.0 based code with -fstrict-aliasing
- References: <bug-30252-7958@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #25 from dberlin at gcc dot gnu dot org 2007-05-14 20:01 -------
> which should be the most interesting parts of the diff (apart from the
> extra vops that prevent the DCE).
>
> Danny? Any hints on what can go wrong here?
>
The first pass is obviously generating wrong answers, unless someone changed
the subvars.
It looks like it's getting confused about where to use the whole object or the
first field.
Is that a diff of the dump that includes -details?
I'm trying to figure out if the constraints are bad, or the solving is bad.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30252