re PR c++/22551 ([ICE] in tree_low_cst, at tree.c:3843)
authorNathan Sidwell <nathan@codesourcery.com>
Fri, 14 Oct 2005 12:55:33 +0000 (12:55 +0000)
committerNathan Sidwell <nathan@gcc.gnu.org>
Fri, 14 Oct 2005 12:55:33 +0000 (12:55 +0000)
commitc0e22534e4977ab263f6ae40b70d8bd76334665c
tree95318492904cbe890293b0e21d33b89a4257665b
parent771c0562b56432ea64558329688a8281bc1e9996
re PR c++/22551 ([ICE] in tree_low_cst, at tree.c:3843)

.: PR c++/22551
* c-common.c (c_add_case_label): Clear LOW_VALUE and HIGH_VALUE's
overflow flags.  Refactor some conditionals.
testsuite:
PR c++/22551
* g++.dg/other/switch2.C: New.

From-SVN: r105405
gcc/ChangeLog
gcc/c-common.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/other/switch2.C [new file with mode: 0644]