public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
* [Bug c++/54537] New: undiagnosed using-declaration conflicting with used function @ 2012-09-09 17:38 fabien at gcc dot gnu.org 2012-09-09 17:40 ` [Bug c++/54537] " fabien at gcc dot gnu.org ` (2 more replies) 0 siblings, 3 replies; 4+ messages in thread From: fabien at gcc dot gnu.org @ 2012-09-09 17:38 UTC (permalink / raw) To: gcc-bugs http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54537 Bug #: 54537 Summary: undiagnosed using-declaration conflicting with used function Classification: Unclassified Product: gcc Version: 4.8.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ AssignedTo: unassigned@gcc.gnu.org ReportedBy: fabien@gcc.gnu.org Noticed while working on DR39, the below is wrongly accepted. A diagnostic is issued if the function f is not used. namespace a { void f(int); } namespace b { void f(int); void g() { f (3); } using a::f; // { dg-error "already declared" } } I have a patch for it. ^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug c++/54537] undiagnosed using-declaration conflicting with used function 2012-09-09 17:38 [Bug c++/54537] New: undiagnosed using-declaration conflicting with used function fabien at gcc dot gnu.org @ 2012-09-09 17:40 ` fabien at gcc dot gnu.org 2013-08-01 19:37 ` bergner at gcc dot gnu.org 2013-08-01 19:38 ` bergner at gcc dot gnu.org 2 siblings, 0 replies; 4+ messages in thread From: fabien at gcc dot gnu.org @ 2012-09-09 17:40 UTC (permalink / raw) To: gcc-bugs http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54537 fabien at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |ASSIGNED Last reconfirmed| |2012-09-09 AssignedTo|unassigned at gcc dot |fabien at gcc dot gnu.org |gnu.org | Ever Confirmed|0 |1 Known to fail| |4.6.3, 4.8.0 ^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug c++/54537] undiagnosed using-declaration conflicting with used function 2012-09-09 17:38 [Bug c++/54537] New: undiagnosed using-declaration conflicting with used function fabien at gcc dot gnu.org 2012-09-09 17:40 ` [Bug c++/54537] " fabien at gcc dot gnu.org @ 2013-08-01 19:37 ` bergner at gcc dot gnu.org 2013-08-01 19:38 ` bergner at gcc dot gnu.org 2 siblings, 0 replies; 4+ messages in thread From: bergner at gcc dot gnu.org @ 2013-08-01 19:37 UTC (permalink / raw) To: gcc-bugs http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54537 Peter Bergner <bergner at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED URL| |http://gcc.gnu.org/ml/gcc-p | |atches/2012-11/msg01166.htm | |l CC| |bergner at gcc dot gnu.org Resolution|--- |FIXED --- Comment #1 from Peter Bergner <bergner at gcc dot gnu.org> --- Given the OK by Paolo, I retested the patch from: http://gcc.gnu.org/ml/gcc-patches/2012-11/msg01166.html It needed a small change to the expected error message from using9.C, but otherwise bootstrapped and regtested with no errors. Committed to mainline as revision 201414. I have also asked about the appropriateness of backporting it to the FSF 4.8 branch. ^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug c++/54537] undiagnosed using-declaration conflicting with used function 2012-09-09 17:38 [Bug c++/54537] New: undiagnosed using-declaration conflicting with used function fabien at gcc dot gnu.org 2012-09-09 17:40 ` [Bug c++/54537] " fabien at gcc dot gnu.org 2013-08-01 19:37 ` bergner at gcc dot gnu.org @ 2013-08-01 19:38 ` bergner at gcc dot gnu.org 2 siblings, 0 replies; 4+ messages in thread From: bergner at gcc dot gnu.org @ 2013-08-01 19:38 UTC (permalink / raw) To: gcc-bugs http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54537 Peter Bergner <bergner at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #2 from Peter Bergner <bergner at gcc dot gnu.org> --- Fixed in mainline. ^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2013-08-01 19:38 UTC | newest] Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2012-09-09 17:38 [Bug c++/54537] New: undiagnosed using-declaration conflicting with used function fabien at gcc dot gnu.org 2012-09-09 17:40 ` [Bug c++/54537] " fabien at gcc dot gnu.org 2013-08-01 19:37 ` bergner at gcc dot gnu.org 2013-08-01 19:38 ` bergner at gcc dot gnu.org
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).