[Bug middle-end/54957] Two crashes introduced by rev192488

eraman at google dot com gcc-bugzilla@gcc.gnu.org
Wed Oct 17 18:08:00 GMT 2012


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54957

--- Comment #3 from Easwaran Raman <eraman at google dot com> 2012-10-17 18:08:24 UTC ---
(In reply to comment #0)
> http://gcc.gnu.org/viewcvs?view=revision&revision=192488
> 
> 
> sh4-unknown-linux-gnu no longer builds libgcc.
> 
> 0x7df7df emit_cmp_and_jump_insn_1
>     ../../gcc/optabs.c:4273
> 0x7df7df emit_cmp_and_jump_insns(rtx_def*, rtx_def*, rtx_code, rtx_def*,
> machine_mode, int, rtx_def*, int)
>     ../../gcc/optabs.c:4324
> 0x6136f6 do_compare_rtx_and_jump(rtx_def*, rtx_def*, rtx_code, int,
> machine_mode, rtx_def*, rtx_def*, rtx_def*, int)
>     ../../gcc/dojump.c:1072
> 0x61479b do_compare_and_jump
>     ../../gcc/dojump.c:1154
> 0x6164c1 do_jump_1(tree_code, tree_node*, tree_node*, rtx_def*, rtx_def*, int)
>     ../../gcc/dojump.c:206
> 0x5ba1de expand_gimple_cond
>     ../../gcc/cfgexpand.c:1852
> 0x5c1b9b expand_gimple_basic_block
>     ../../gcc/cfgexpand.c:3832
> 0x5c2ec5 gimple_expand_cfg
>     ../../gcc/cfgexpand.c:4477
> Please submit a full bug report,
> with preprocessed source if appropriate.
> Please include the complete backtrace with any bug report.
> See <http://gcc.gnu.org/bugs.html> for instructions.
> 

The first one seems a dup of http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54938.
The obvious fix is to remove the assert. Will send out a patch.



More information about the Gcc-bugs mailing list