Re: Question about gcse.c vs cc0

2012-05-29 Thread Ian Lance Taylor
Steven Bosscher writes: > In gcse.c:insert_insn_end_basic_block() I found the following code: > > #ifdef HAVE_cc0 > /* FIXME: 'twould be nice to call prev_cc0_setter here but it aborts > if cc0 isn't set. */ > note = find_reg_note (insn, REG_CC_SETTER, NULL_RTX); > if

Re: Question about gcse.c vs cc0

2012-05-29 Thread Jeff Law
On 05/29/2012 03:03 AM, Steven Bosscher wrote: Hello, In gcse.c:insert_insn_end_basic_block() I found the following code: #ifdef HAVE_cc0 /* FIXME: 'twould be nice to call prev_cc0_setter here but it aborts if cc0 isn't set. */ note = find_reg_note (insn, REG_CC_SETTER,

Question about gcse.c vs cc0

2012-05-29 Thread Steven Bosscher
Hello, In gcse.c:insert_insn_end_basic_block() I found the following code: #ifdef HAVE_cc0 /* FIXME: 'twould be nice to call prev_cc0_setter here but it aborts if cc0 isn't set. */ note = find_reg_note (insn, REG_CC_SETTER, NULL_RTX); if (note) insn = XEXP (not