[Bug tree-optimization/20514] hoisting of label out of jumptable would take place at cse, should happen at trees
pinskia at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Wed Apr 13 18:30:00 GMT 2005
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-04-13 18:30 -------
Two things, we just don't jump thread.
Another testcase:
int i;
int main()
{
for (;;)
{
switch (i)
{
case 5:
i = 4;
break;
default:
return 0;
}
}
}
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20514
More information about the Gcc-bugs
mailing list