[Bug tree-optimization/96823] ice from irange::irange_intersect
aldyh at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Aug 27 19:19:32 GMT 2020
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96823
Aldy Hernandez <aldyh at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
CC| |aldyh at gcc dot gnu.org
Resolution|--- |DUPLICATE
--- Comment #1 from Aldy Hernandez <aldyh at gcc dot gnu.org> ---
This is a duplicate of 96818. We're trying to intersect incompatible ranges
because the switch control variable type is not the same as the label type.
(gdb) p debug(switch_stmt)
switch (_10) <default: <L5> [50.00%], case 0: <L3> [50.00%], case 3: <L3>
[50.00%]>
$3 = void
(gdb) p debug(range_of_op)
int [0, 65535] <-- int
$4 = void
(gdb) p debug(label_range)
short unsigned int [0, 3] <-- short unsigned
*** This bug has been marked as a duplicate of bug 96818 ***
More information about the Gcc-bugs
mailing list