re PR bootstrap/43596 (Failed to boostrap)
PR bootstrap/43596 * cselib.c (cselib_process_insn): Clear cselib_current_insn even before returning from label, setjmp call or volatile asm handling. From-SVN: r157869
This commit is contained in:
parent
33283dadd3
commit
2080bd297e
@ -1,3 +1,10 @@
|
||||
2010-03-31 Jakub Jelinek <jakub@redhat.com>
|
||||
|
||||
PR bootstrap/43596
|
||||
* cselib.c (cselib_process_insn): Clear cselib_current_insn
|
||||
even before returning from label, setjmp call or volatile asm
|
||||
handling.
|
||||
|
||||
2010-03-31 Richard Guenther <rguenther@suse.de>
|
||||
|
||||
PR middle-end/43600
|
||||
|
@ -2155,12 +2155,13 @@ cselib_process_insn (rtx insn)
|
||||
&& MEM_VOLATILE_P (PATTERN (insn))))
|
||||
{
|
||||
cselib_reset_table (next_uid);
|
||||
cselib_current_insn = NULL_RTX;
|
||||
return;
|
||||
}
|
||||
|
||||
if (! INSN_P (insn))
|
||||
{
|
||||
cselib_current_insn = 0;
|
||||
cselib_current_insn = NULL_RTX;
|
||||
return;
|
||||
}
|
||||
|
||||
@ -2202,7 +2203,7 @@ cselib_process_insn (rtx insn)
|
||||
if (GET_CODE (XEXP (x, 0)) == CLOBBER)
|
||||
cselib_invalidate_rtx (XEXP (XEXP (x, 0), 0));
|
||||
|
||||
cselib_current_insn = 0;
|
||||
cselib_current_insn = NULL_RTX;
|
||||
|
||||
if (n_useless_values > MAX_USELESS_VALUES
|
||||
/* remove_useless_values is linear in the hash table size. Avoid
|
||||
|
Loading…
Reference in New Issue
Block a user