public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "trippels at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug lto/66180] [6 Regression] many -Wodr false positives when building LLVM with -flto Date: Wed, 20 May 2015 14:16:00 -0000 [thread overview] Message-ID: <bug-66180-4-vCtvu3CoQr@http.gcc.gnu.org/bugzilla/> (raw) In-Reply-To: <bug-66180-4@http.gcc.gnu.org/bugzilla/> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66180 --- Comment #8 from Markus Trippelsdorf <trippels at gcc dot gnu.org> --- If I change foo1.cpp from comment5 to: #include <memory> namespace first{ class A { int i; }; } using namespace first; class G { std::unique_ptr<A> foo() const; }; std::unique_ptr<A> G::foo() const { return std::make_unique<A>(); } it works fine. So it looks like a bug after all, because an anonymous namespace should be equivalent to: namespace _compiler_generated_name { ... } using namespace _compiler_generated_name;
next prev parent reply other threads:[~2015-05-20 14:16 UTC|newest] Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top 2015-05-17 7:07 [Bug lto/66180] New: " trippels at gcc dot gnu.org 2015-05-17 7:19 ` [Bug lto/66180] " trippels at gcc dot gnu.org 2015-05-17 7:29 ` trippels at gcc dot gnu.org 2015-05-18 12:42 ` rguenth at gcc dot gnu.org 2015-05-19 17:56 ` hubicka at gcc dot gnu.org 2015-05-19 21:26 ` trippels at gcc dot gnu.org 2015-05-20 5:31 ` trippels at gcc dot gnu.org 2015-05-20 14:16 ` trippels at gcc dot gnu.org [this message] 2015-05-21 5:06 ` hubicka at gcc dot gnu.org 2015-05-24 19:38 ` hubicka at gcc dot gnu.org 2015-05-25 5:54 ` trippels at gcc dot gnu.org
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-66180-4-vCtvu3CoQr@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: linkBe 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).