re PR tree-optimization/53881 (ICE in hoist_edge_and_branch_if_true)
authorSteven Bosscher <steven@gcc.gnu.org>
Sat, 7 Jul 2012 12:35:44 +0000 (12:35 +0000)
committerSteven Bosscher <steven@gcc.gnu.org>
Sat, 7 Jul 2012 12:35:44 +0000 (12:35 +0000)
commit8166ff4df037abbada1ca6e4c417d10fee5fe36f
tree420e095cc8a34ead3cff2466554c1692c35856fe
parentf99391fe45e4e83291764234d491d31eb8bc3bf3
re PR tree-optimization/53881 (ICE in hoist_edge_and_branch_if_true)

gcc/
PR tree-optimization/53881
* tree-switch-conversion.c (emit_case_bit_tests): Do not rely on
comparing labels to establish uniqueness of a switch case target,
use the CFG instead.

testsuite/
PR tree-optimization/53881
* gcc.dg/pr53881.c: New test.

From-SVN: r189349
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/pr53881.c [new file with mode: 0644]
gcc/tree-switch-conversion.c