https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78168
--- Comment #11 from Sebastian Huber <sebastian.hu...@embedded-brains.de> --- (In reply to Segher Boessenkool from comment #10) > Doesn't fail with powerpc-rtems4.12 either. Are you sure you built trunk? > A clean build? I tested again today using: commit 89bcfdabe78607bf83aa58e3d2696a2c71e719e5 Author: tbsaunde <tbsaunde@138bc75d-0d04-0410-961f-82ee72b054a4> Date: Wed Nov 2 03:46:17 2016 +0000 remove cast from prev_nonnote_insn_bb gcc/ChangeLog: 2016-11-01 Trevor Saunders <tbsaunde+...@tbsaunde.org> * emit-rtl.c (prev_nonnote_insn_bb): Change argument type to rtx_insn *. * rtl.h (prev_nonnote_insn_bb): Adjust prototype. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@241773 138bc75d-0d04-0410-961f-82ee72b054a4 I still get the ICE. The following flags seem to be essential (e.g. no ICE with -mno-spe): -O2 -mcpu=8540 -mspe -mabi=spe -g