Commit 694dd537 by Alexandre Oliva Committed by Alexandre Oliva

revert: re PR debug/23551 (dwarf records for inlines appear incomplete)

Revert:
2007-07-06  Alexandre Oliva  <aoliva@redhat.com>
PR debug/23551
* tree-ssa-copyrename.c (copy_rename_partition_coalesce):
Disregard DECL_FROM_INLINE.

From-SVN: r126492
parent 13c59415
2007-07-09 Alexandre Oliva <aoliva@oliva.athome.lsd.ic.unicamp.br>
Revert:
2007-07-06 Alexandre Oliva <aoliva@redhat.com>
PR debug/23551
* tree-ssa-copyrename.c (copy_rename_partition_coalesce):
Disregard DECL_FROM_INLINE.
2007-07-09 Uros Bizjak <ubizjak@gmail.com> 2007-07-09 Uros Bizjak <ubizjak@gmail.com>
PR target/27855 PR target/27855
......
...@@ -191,13 +191,21 @@ copy_rename_partition_coalesce (var_map map, tree var1, tree var2, FILE *debug) ...@@ -191,13 +191,21 @@ copy_rename_partition_coalesce (var_map map, tree var1, tree var2, FILE *debug)
ign1 = TREE_CODE (root1) == VAR_DECL && DECL_IGNORED_P (root1); ign1 = TREE_CODE (root1) == VAR_DECL && DECL_IGNORED_P (root1);
ign2 = TREE_CODE (root2) == VAR_DECL && DECL_IGNORED_P (root2); ign2 = TREE_CODE (root2) == VAR_DECL && DECL_IGNORED_P (root2);
/* Never attempt to coalesce 2 user variables. */ /* Never attempt to coalesce 2 user variables unless one is an inline
variable. */
if (!ign1 && !ign2) if (!ign1 && !ign2)
{ {
if (DECL_FROM_INLINE (root2))
ign2 = true;
else if (DECL_FROM_INLINE (root1))
ign1 = true;
else
{
if (debug) if (debug)
fprintf (debug, " : 2 different USER vars. No coalesce.\n"); fprintf (debug, " : 2 different USER vars. No coalesce.\n");
return false; return false;
} }
}
/* Don't coalesce if there are two different memory tags. */ /* Don't coalesce if there are two different memory tags. */
if (ann1->symbol_mem_tag if (ann1->symbol_mem_tag
......
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