[Bug rtl-optimization/46585] [4.6 Regression] ICE: SIGSEGV in vinsn_create (sel-sched-ir.c:1189) with -fno-dce -fschedule-insns -fselective-scheduling
jakub at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Nov 24 14:39:00 GMT 2010
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46585
--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> 2010-11-24 14:29:07 UTC ---
+ nop_pattern = gen_rtx_CONST_INT (VOIDmode, -1);
You could just use
nop_pattern = constm1_rtx;
or just #define nop_pattern constm1_rtx
But, when you change nop_pattern, then INSN_NOP_P () won't match normal nops,
just your new ones. Is that desirable?
Perhaps you want instead to define INSN_NOP_P as CONST_INT_P (PATTERN (X))
(at least, where you want to match any nops, including your special ones, where
you want to match just your special ones, PATTERN (X) == nop_pattern is
correct.
More information about the Gcc-bugs
mailing list