[Bug middle-end/27724] [4.1/4.2 Regression] internal compiler error: no-op convert from 4 to 8 bytes in initializer

jason at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Fri Sep 8 00:43:00 GMT 2006



------- Comment #17 from jason at gcc dot gnu dot org  2006-09-08 00:43 -------
I don't think disabling the assertion is enough.  Yes, the compiler would do
the right thing for this particular testcase, but would be wrong if the
subtraction produces a negative result.

Rather, we should stop stripping the conversions in cases where they are
significant.  Testing a patch now.


-- 

jason at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |jason at gcc dot gnu dot org
                   |dot org                     |
             Status|NEW                         |ASSIGNED
   Last reconfirmed|2006-05-23 06:51:13         |2006-09-08 00:43:21
               date|                            |


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



More information about the Gcc-bugs mailing list