This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/23799] [4.1 regression] ICE: no-op convert from 8 to 4 bytes in initializer
- From: "rguenth at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 6 Oct 2005 21:26:44 -0000
- Subject: [Bug c++/23799] [4.1 regression] ICE: no-op convert from 8 to 4 bytes in initializer
- References: <bug-23799-50@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #12 from rguenth at gcc dot gnu dot org 2005-10-06 21:26 -------
For the testcase we get at output_constant time for the
C++ frontend: (intD.2) (long intD.5) &42B->soundNameD.2065[-42]
C frontend: (intD.0) (long intD.2) &42B->soundNameD.1608 - 42
the C++ frontend ICEs, the C frontend not (as we have an outer MINUS_EXPR).
Whatever you wanted to fix with your patch will not work in every case - but
you didn't add a testcase.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23799