[Bug c++/63942] [5.0 Regression] constexpr conflicts with previous declaration

2014-11-24 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63942 --- Comment #13 from Jason Merrill --- Author: jason Date: Mon Nov 24 12:49:08 2014 New Revision: 218016 URL: https://gcc.gnu.org/viewcvs?rev=218016&root=gcc&view=rev Log: PR c++/63942 * mangle.c (mangle_decl): If we aren't going to crea

[Bug c++/63942] [5.0 Regression] constexpr conflicts with previous declaration

2014-11-21 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63942 Jason Merrill changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug c++/63942] [5.0 Regression] constexpr conflicts with previous declaration

2014-11-21 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63942 --- Comment #11 from Jason Merrill --- Author: jason Date: Fri Nov 21 21:35:09 2014 New Revision: 217950 URL: https://gcc.gnu.org/viewcvs?rev=217950&root=gcc&view=rev Log: PR c++/63942 * name-lookup.c (supplement_binding_1): Override a m

[Bug c++/63942] [5.0 Regression] constexpr conflicts with previous declaration

2014-11-21 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63942 --- Comment #10 from Jason Merrill --- Reduced: template struct A { A(const T&) {} A(const A&) {} }; template class A;

[Bug c++/63942] [5.0 Regression] constexpr conflicts with previous declaration

2014-11-21 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63942 --- Comment #9 from Jason Merrill --- (In reply to David Edelsohn from comment #8) > I see -nostdinc++ -std=gnu++11 -g -O2 Ah, it seems to be triggered by -g.

[Bug c++/63942] [5.0 Regression] constexpr conflicts with previous declaration

2014-11-21 Thread dje at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63942 --- Comment #8 from David Edelsohn --- The testsuite invokes compiles overloaded.cc with the following command line on AIX: /tmp/20141120/./gcc/xg++ -shared-libgcc -B/tmp/20141120/./gcc -nostdinc++ -L/tmp/20141120/powerpc-ibm-aix7.1.0.0/libstdc+

[Bug c++/63942] [5.0 Regression] constexpr conflicts with previous declaration

2014-11-21 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63942 --- Comment #7 from Jason Merrill --- (In reply to David Edelsohn from comment #6) > It still occurred as of [trunk revision 217822] I'm still not seeing it in a cross-compiler. Does the error depend on particular flags?

[Bug c++/63942] [5.0 Regression] constexpr conflicts with previous declaration

2014-11-20 Thread dje at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63942 --- Comment #6 from David Edelsohn --- It still occurred as of [trunk revision 217822]

[Bug c++/63942] [5.0 Regression] constexpr conflicts with previous declaration

2014-11-19 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63942 --- Comment #5 from Jason Merrill --- I'm not able to reproduce this with a cross compiler at r217823; is it still happening for you?

[Bug c++/63942] [5.0 Regression] constexpr conflicts with previous declaration

2014-11-19 Thread dje at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63942 --- Comment #4 from David Edelsohn --- Created attachment 34039 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=34039&action=edit preprocessed source for testcase

[Bug c++/63942] [5.0 Regression] constexpr conflicts with previous declaration

2014-11-19 Thread dje at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63942 --- Comment #3 from David Edelsohn --- Created attachment 34038 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=34038&action=edit preprocessed source for testcase

[Bug c++/63942] [5.0 Regression] constexpr conflicts with previous declaration

2014-11-19 Thread dje at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63942 David Edelsohn changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug c++/63942] [5.0 Regression] constexpr conflicts with previous declaration

2014-11-19 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63942 Richard Biener changed: What|Removed |Added Component|libstdc++ |c++ Target Milestone|---