re PR target/54938 (sh libgcc_unpack_df.o fails to build: ../../../srcw/libgcc/fp...
authorEaswaran Raman <eraman@google.com>
Wed, 31 Oct 2012 23:28:45 +0000 (23:28 +0000)
committerEaswaran Raman <eraman@gcc.gnu.org>
Wed, 31 Oct 2012 23:28:45 +0000 (23:28 +0000)
commit0f379f762d2f3e7f84c038368b9e32c50c8deaab
tree00353207588e4eea26cb41263c8d1cd8745f0aa1
parent5d59b5e18a878c2201471e529c40f15d49905fc8
re PR target/54938 (sh libgcc_unpack_df.o fails to build: ../../../srcw/libgcc/fp-bit.h:221:19: internal compiler error: in emit_cmp_and_jump_insn_1, at optabs.c:4273)

2012-10-31   Easwaran Raman  <eraman@google.com>

PR target/54938
PR middle-end/54957
* optabs.c (emit_cmp_and_jump_insn_1): Add REG_BR_PROB note
only if it doesn't already exist.
* stmt.c (get_outgoing_edge_probs): Return 0 if BB is NULL.
(emit_case_dispatch_table): Handle the case where STMT_BB is
NULL.
(expand_sjlj_dispatch_table): Pass BB containing before_case
to emit_case_dispatch_table.

From-SVN: r193052
gcc/ChangeLog
gcc/optabs.c
gcc/stmt.c