View | Details | Return to bug 49533 | Differences between
and this patch

Collapse All | Expand All

(-)cgraphunit.c (+6 lines)
Lines 1772-1780 Link Here
1772
    if (ref->use == IPA_REF_ALIAS)
1773
    if (ref->use == IPA_REF_ALIAS)
1773
      {
1774
      {
1774
	struct cgraph_node *alias = ipa_ref_refering_node (ref);
1775
	struct cgraph_node *alias = ipa_ref_refering_node (ref);
1776
        bool saved_written = TREE_ASM_WRITTEN (alias->thunk.alias);
1777
1778
	/* Force assemble_alias to really output the alias this time instead
1779
	   of buffering it in same alias pairs.  */
1780
	TREE_ASM_WRITTEN (alias->thunk.alias) = 1;
1775
	assemble_alias (alias->decl,
1781
	assemble_alias (alias->decl,
1776
			DECL_ASSEMBLER_NAME (alias->thunk.alias));
1782
			DECL_ASSEMBLER_NAME (alias->thunk.alias));
1777
	assemble_thunks_and_aliases (alias);
1783
	assemble_thunks_and_aliases (alias);
1784
	TREE_ASM_WRITTEN (alias->thunk.alias) = saved_written;
1778
      }
1785
      }
1779
}
1786
}
1780
1787
(-)ipa-inline-transform.c (-2 / +2 lines)
Lines 120-127 Link Here
120
    return true;
120
    return true;
121
  for (next = node->same_comdat_group;
121
  for (next = node->same_comdat_group;
122
       next != node; next = next->same_comdat_group)
122
       next != node; next = next->same_comdat_group)
123
    if (node->callers && node->callers != e
123
    if ((next->callers && next->callers != e)
124
	&& !can_remove_node_now_p_1 (node))
124
	|| !can_remove_node_now_p_1 (next))
125
      return false;
125
      return false;
126
  return true;
126
  return true;
127
}
127
}

Return to bug 49533