public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "hubicka at ucw dot cz" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug lto/57267] [4.9 regression] -flto-partition=none : symbol is already defined
Date: Mon, 20 May 2013 12:31:00 -0000	[thread overview]
Message-ID: <bug-57267-4-rmDKsM4OZg@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-57267-4@http.gcc.gnu.org/bugzilla/>

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

--- Comment #4 from Jan Hubicka <hubicka at ucw dot cz> ---
> is this PR duplicate of lto/57038 ?
You are right, I meant lto/57038.
This PR is not exactly dup of lto/57038, but while fixing lto/57038 I
constructed artificial testcase similar to yours
and thus the problem should be fixed by
2013-05-15  Jan Hubicka  <jh@suse.cz>

        PR lto/57038
        PR lto/47375
        * lto-symtab.c (lto_symtab_symbol_p): Add external symbol;
        weakrefs are not external.
        (lto_symtab_merge_decls): Fix thinko when dealing with
        non-lto_symtab decls.
        (lto_symtab_merge_cgraph_nodes): Use lto_symtab_symbol_p.
        (lto_symtab_prevailing_decl): Get int sync with lto_symtab_symbol_p.
        * varpool.c (dump_varpool_node): Dump more flags.

        * lto-partition.c (get_symbol_class): Fix weakrefs.
        (lto_balanced_map): Fix weakrefs.
        (privatize_symbol_name): Remove unnecesary label.
        (rename_statics): Handle weakrefs as statics.


  parent reply	other threads:[~2013-05-20 12:31 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-05-13 21:44 [Bug lto/57267] New: " dimhen at gmail dot com
2013-05-13 21:47 ` [Bug lto/57267] " dimhen at gmail dot com
2013-05-14  9:55 ` rguenth at gcc dot gnu.org
2013-05-20 10:35 ` dimhen at gmail dot com
2013-05-20 12:31 ` hubicka at ucw dot cz [this message]
2013-05-20 12:44 ` dimhen at gmail dot com

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-57267-4-rmDKsM4OZg@http.gcc.gnu.org/bugzilla/ \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).