------- 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