[Bug tree-optimization/19723] [4.0 Regression] A side effect is missed in 0 % a++.
law at redhat dot com
gcc-bugzilla@gcc.gnu.org
Tue Feb 1 01:04:00 GMT 2005
------- Additional Comments From law at redhat dot com 2005-02-01 01:04 -------
This testcase (from Ranjit) should give an error on the bogus case label:
int foo(int x)
{
switch(x)
{
case 0 % 0:
return 1;
default:
return 2;
}
}
I'm testing a fix for both problems.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19723
More information about the Gcc-bugs
mailing list