[Bug middle-end/14730] [tree-ssa] ICE on a switch statement with a case which is bigger than the type of switcher
bje at au1 dot ibm dot com
gcc-bugzilla@gcc.gnu.org
Thu Apr 1 07:18:00 GMT 2004
------- Additional Comments From bje at au1 dot ibm dot com 2004-04-01 07:18 -------
Subject: PR 14730
The bug originator says that he expects that the out-of-range case
label would be optimised away, however I feel that we should focus on
getting tree-ssa to not regress from the mainline at this stage (which
retains the case 256 label and promotes the controlling expression to
int).
The dce2 pass is removing the cast:
Eliminating unnecessary statements:
Deleting : T.0_2 = (int)i_1;
Ben
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14730
More information about the Gcc-bugs
mailing list