mirror of
https://gcc.gnu.org/git/gcc.git
synced 2024-12-18 08:23:50 +08:00
re PR rtl-optimization/33224 (failing rtl iv analysis (maybe due to df))
PR rtl-optimization/33224 * loop-iv.c (latch_dominating_def): Check that the definition belongs to the analysed region. From-SVN: r127996
This commit is contained in:
parent
beb32b5981
commit
75b226408d
@ -1,3 +1,9 @@
|
|||||||
|
2007-08-31 Zdenek Dvorak <ook@ucw.cz>
|
||||||
|
|
||||||
|
PR rtl-optimization/33224
|
||||||
|
* loop-iv.c (latch_dominating_def): Check that the definition belongs
|
||||||
|
to the analysed region.
|
||||||
|
|
||||||
2007-08-31 Richard Guenther <rguenther@suse.de>
|
2007-08-31 Richard Guenther <rguenther@suse.de>
|
||||||
|
|
||||||
* function.c (allocate_struct_function): Do not set
|
* function.c (allocate_struct_function): Do not set
|
||||||
|
@ -301,7 +301,8 @@ latch_dominating_def (rtx reg, struct df_ref **def)
|
|||||||
|
|
||||||
for (adef = DF_REG_DEF_CHAIN (regno); adef; adef = adef->next_reg)
|
for (adef = DF_REG_DEF_CHAIN (regno); adef; adef = adef->next_reg)
|
||||||
{
|
{
|
||||||
if (!bitmap_bit_p (bb_info->out, DF_REF_ID (adef)))
|
if (!bitmap_bit_p (df->blocks_to_analyze, DF_REF_BB (adef)->index)
|
||||||
|
|| !bitmap_bit_p (bb_info->out, DF_REF_ID (adef)))
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
/* More than one reaching definition. */
|
/* More than one reaching definition. */
|
||||||
|
Loading…
Reference in New Issue
Block a user