[PATCH 0/4] Eliminate cc0 from m68k

Segher Boessenkool segher@kernel.crashing.org
Wed Nov 13 18:58:00 GMT 2019


On Wed, Nov 13, 2019 at 02:04:59PM +0100, Bernd Schmidt wrote:
> This is a set of patches to convert m68k so that it no longer uses cc0.

I tried this out with a kernel build (just the defconfig).  First problem
was patch 4 doesn't apply, it has white-space damage.  It's small, I fixed
that up manually.  But then I hit

during RTL pass: jump2
/home/segher/src/kernel/fs/binfmt_elf.c: In function 'elf_core_dump':
/home/segher/src/kernel/fs/binfmt_elf.c:2409:1: internal compiler error: in patch_jump_insn, at cfgrtl.c:1290
0x102c3c2f patch_jump_insn
        /home/segher/src/gcc/gcc/cfgrtl.c:1290
0x102c3df3 redirect_branch_edge
        /home/segher/src/gcc/gcc/cfgrtl.c:1317
0x102c442b rtl_redirect_edge_and_branch
        /home/segher/src/gcc/gcc/cfgrtl.c:1450
0x102ad04f redirect_edge_and_branch(edge_def*, basic_block_def*)
        /home/segher/src/gcc/gcc/cfghooks.c:373
0x10dbb517 try_forward_edges
        /home/segher/src/gcc/gcc/cfgcleanup.c:562
0x10dbb517 try_optimize_cfg
        /home/segher/src/gcc/gcc/cfgcleanup.c:2960
0x10dbb517 cleanup_cfg(int)
        /home/segher/src/gcc/gcc/cfgcleanup.c:3174
0x10dbd41f execute
        /home/segher/src/gcc/gcc/cfgcleanup.c:3353

Can you reproduce that?


Segher



More information about the Gcc-patches mailing list