diff options
author | Joseph Myers <joseph@codesourcery.com> | 2009-04-09 01:20:08 +0100 |
---|---|---|
committer | Joseph Myers <jsm28@gcc.gnu.org> | 2009-04-09 01:20:08 +0100 |
commit | 17cede2e303aaba4e5a5b10509499ba02d3c68a4 (patch) | |
tree | b5b2a508e50ee656a2b499eeebe913843eff682f /gcc/opts.h | |
parent | 74a6dc82c2408288afc9c44eaf53a22457d192d5 (diff) | |
download | gcc-17cede2e303aaba4e5a5b10509499ba02d3c68a4.zip gcc-17cede2e303aaba4e5a5b10509499ba02d3c68a4.tar.gz gcc-17cede2e303aaba4e5a5b10509499ba02d3c68a4.tar.bz2 |
re PR c/39613 (gcc 20090331 produces an error at mce64.c in kernel 2.6.29)
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
Diffstat (limited to 'gcc/opts.h')
0 files changed, 0 insertions, 0 deletions