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

Collapse All | Expand All

(-)a/gcc/varpool.c (+2 lines)
Lines 195-200 ctor_for_folding (tree decl) Link Here
195
    {
195
    {
196
      gcc_assert (!DECL_INITIAL (decl)
196
      gcc_assert (!DECL_INITIAL (decl)
197
		  || DECL_INITIAL (decl) == error_mark_node);
197
		  || DECL_INITIAL (decl) == error_mark_node);
198
      if (DECL_WEAK (decl))
199
        return error_mark_node;
198
      if (lookup_attribute ("weakref", DECL_ATTRIBUTES (decl)))
200
      if (lookup_attribute ("weakref", DECL_ATTRIBUTES (decl)))
199
	{
201
	{
200
	  node = varpool_alias_target (node);
202
	  node = varpool_alias_target (node);

Return to bug 61144