This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug lto/53604] ld reports errors using lto after upgrading from gcc-4.6.2 to gcc-4.7.0


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53604

Yuri Gribov <tetra2005 at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |tetra2005 at gmail dot com

--- Comment #3 from Yuri Gribov <tetra2005 at gmail dot com> 2012-06-11 17:04:42 UTC ---
Paul,

I changed to 

  static inline bool
  varpool_can_remove_if_no_refs (struct varpool_node *node)
  {
    return (!node->force_output && !node->used_from_other_partition
            && (flag_toplevel_reorder || DECL_COMDAT (node->decl)
                || DECL_ARTIFICIAL (node->decl))
            && ((DECL_COMDAT (node->decl) && !varpool_used_from_object_file_p
(node)) || !node->externally_visible));
  }

and it helped.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]