mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-02-24 01:39:20 +08:00
re PR tree-optimization/22024 (ACATS ICE cxa5a07 cxa5a08 cxg2016 SEGV in get_rank tree-ssa-reassoc.c:292)
2005-06-15 Andrew Pinski <pinskia@physics.uc.edu> PR tree-opt/22024 * tree-ssa-reassoc.c (init_reassoc): Also give chain decl a distint rank. From-SVN: r100993
This commit is contained in:
parent
fbb4c46b2d
commit
14643af3f8
@ -1,3 +1,9 @@
|
||||
2005-06-15 Andrew Pinski <pinskia@physics.uc.edu>
|
||||
|
||||
PR tree-opt/22024
|
||||
* tree-ssa-reassoc.c (init_reassoc): Also give chain decl a distint
|
||||
rank.
|
||||
|
||||
2005-06-15 Diego Novillo <dnovillo@redhat.com>
|
||||
|
||||
* tree-ssa-structalias.c (dump_solution_for_var): Reformat
|
||||
|
@ -230,6 +230,13 @@ init_reassoc (void)
|
||||
insert_value_rank (def, ++rank);
|
||||
}
|
||||
}
|
||||
/* Give the chain decl a distinct rank. */
|
||||
if (cfun->static_chain_decl != NULL)
|
||||
{
|
||||
tree def = default_def (cfun->static_chain_decl);
|
||||
if (def != NULL)
|
||||
insert_value_rank (def, ++rank);
|
||||
}
|
||||
|
||||
/* Set up rank for each BB */
|
||||
for (i = 0; i < n_basic_blocks; i++)
|
||||
|
Loading…
Reference in New Issue
Block a user