mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-04-02 06:40:25 +08:00
gcse.c (hash_scan_set): If the next nonnote insn is in a different basic block insert the set.
2007-10-11 Richard Guenther <rguenther@suse.de> * gcse.c (hash_scan_set): If the next nonnote insn is in a different basic block insert the set. From-SVN: r129230
This commit is contained in:
parent
c343d5a731
commit
1ef40d6b95
@ -1,3 +1,8 @@
|
||||
2007-10-11 Richard Guenther <rguenther@suse.de>
|
||||
|
||||
* gcse.c (hash_scan_set): If the next nonnote insn is in
|
||||
a different basic block insert the set.
|
||||
|
||||
2007-10-11 Richard Guenther <rguenther@suse.de>
|
||||
|
||||
PR middle-end/33724
|
||||
|
@ -1761,6 +1761,7 @@ hash_scan_set (rtx pat, rtx insn, struct hash_table *table)
|
||||
oprs_available_p searches from INSN on. */
|
||||
&& (insn == BB_END (BLOCK_FOR_INSN (insn))
|
||||
|| (tmp = next_nonnote_insn (insn)) == NULL_RTX
|
||||
|| BLOCK_FOR_INSN (tmp) != BLOCK_FOR_INSN (insn)
|
||||
|| oprs_available_p (pat, tmp)))
|
||||
insert_set_in_table (pat, insn, table);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user