http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54957
--- Comment #20 from eraman at gcc dot gnu.org 2012-10-31 23:28:52 UTC --- Author: eraman Date: Wed Oct 31 23:28:45 2012 New Revision: 193052 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=193052 Log: 2012-10-31 Easwaran Raman <era...@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. Modified: trunk/gcc/ChangeLog trunk/gcc/optabs.c trunk/gcc/stmt.c