Commit 14643af3 by Andrew Pinski Committed by Andrew Pinski

re PR tree-optimization/22024 (ACATS ICE cxa5a07 cxa5a08 cxg2016 SEGV in…

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
parent fbb4c46b
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> 2005-06-15 Diego Novillo <dnovillo@redhat.com>
* tree-ssa-structalias.c (dump_solution_for_var): Reformat * tree-ssa-structalias.c (dump_solution_for_var): Reformat
......
...@@ -230,6 +230,13 @@ init_reassoc (void) ...@@ -230,6 +230,13 @@ init_reassoc (void)
insert_value_rank (def, ++rank); 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 */ /* Set up rank for each BB */
for (i = 0; i < n_basic_blocks; i++) for (i = 0; i < n_basic_blocks; i++)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment