aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/case-const-2.c
AgeCommit message (Collapse)AuthorFilesLines
2009-04-09re PR c/39613 (gcc 20090331 produces an error at mce64.c in kernel 2.6.29)Joseph Myers1-0/+15
PR c/39613 * c-typeck.c (do_case): If case label is not an INTEGER_CST, fold it and pedwarn if this results in an INTEGER_CST. testsuite: * gcc.dg/case-const-1.c, gcc.dg/case-const-2.c, gcc.dg/case-const-3.c: New tests. From-SVN: r145793