[Bug middle-end/17657] [4.0 Regression] ICE in expand_case
steven at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Mon Oct 4 08:43:00 GMT 2004
------- Additional Comments From steven at gcc dot gnu dot org 2004-10-04 08:43 -------
What surprises me is that the tree that is passed to expand_case is,
switch ((signed charD.9) D.1481)
{
case 1: goto <L0>;
case 2: goto <L1>;
case 3: goto <L2>;
case 4: goto <L3>;
case 5: goto <L4>;
case 6: goto <L5>;
case 7: goto <L6>;
case 255: goto <L7>;
default : goto <L8>;
}
so somewhere we decided to replace the int t1 with a signed char case
condition, and yes, 255 doesn't fit in a signed char so this replacement
doesn't look right either.
Hmm...
--
What |Removed |Added
----------------------------------------------------------------------------
CC|steven at gcc dot gnu dot |
|org |
AssignedTo|unassigned at gcc dot gnu |steven at gcc dot gnu dot
|dot org |org
Status|NEW |ASSIGNED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17657
More information about the Gcc-bugs
mailing list