[Bug c++/48948] [C++0x] constexpr friend function cannot be defined in-class

2011-05-20 Thread jason at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48948 --- Comment #10 from Jason Merrill 2011-05-20 19:02:46 UTC --- Author: jason Date: Fri May 20 19:02:42 2011 New Revision: 173975 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=173975 Log: PR c++/48948 * class.c (finalize_literal_t

[Bug c++/48948] [C++0x] constexpr friend function cannot be defined in-class

2011-05-18 Thread jason at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48948 --- Comment #9 from Jason Merrill 2011-05-18 17:19:19 UTC --- Author: jason Date: Wed May 18 17:19:15 2011 New Revision: 173869 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=173869 Log: PR c++/48948 PR c++/49015 * class.c (fi

[Bug c++/48948] [C++0x] constexpr friend function cannot be defined in-class

2011-05-11 Thread jason at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48948 Jason Merrill changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED CC|

[Bug c++/48948] [C++0x] constexpr friend function cannot be defined in-class

2011-05-11 Thread jason at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48948 --- Comment #7 from Jason Merrill 2011-05-11 21:30:23 UTC --- Author: jason Date: Wed May 11 21:30:18 2011 New Revision: 173683 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=173683 Log: PR c++/48948 * semantics.c (validate_conste

[Bug c++/48948] [C++0x] constexpr friend function cannot be defined in-class

2011-05-10 Thread schaub.johannes at googlemail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48948 --- Comment #6 from Johannes Schaub 2011-05-10 17:20:31 UTC --- (In reply to comment #4) > (In reply to comment #0) > > gcc 4.7.0 20110507 (experimental) in C++0x mode rejects the following code > > at > > the line marked with #: > > > > //---

[Bug c++/48948] [C++0x] constexpr friend function cannot be defined in-class

2011-05-10 Thread schaub.johannes at googlemail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48948 --- Comment #5 from Johannes Schaub 2011-05-10 17:07:30 UTC --- (In reply to comment #4) > (In reply to comment #0) > > gcc 4.7.0 20110507 (experimental) in C++0x mode rejects the following code > > at > > the line marked with #: > > > > //---

[Bug c++/48948] [C++0x] constexpr friend function cannot be defined in-class

2011-05-10 Thread schaub.johannes at googlemail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48948 --- Comment #4 from Johannes Schaub 2011-05-10 16:59:50 UTC --- (In reply to comment #0) > gcc 4.7.0 20110507 (experimental) in C++0x mode rejects the following code at > the line marked with #: > > //--- > struct B { > friend constexpr int f(

[Bug c++/48948] [C++0x] constexpr friend function cannot be defined in-class

2011-05-10 Thread schaub.johannes at googlemail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48948 --- Comment #3 from Johannes Schaub 2011-05-10 16:46:18 UTC --- (In reply to comment #2) > (In reply to comment #1) > > I don't think that this is intended, but I would like to await feedback from > the developer group before submitting a corres

[Bug c++/48948] [C++0x] constexpr friend function cannot be defined in-class

2011-05-10 Thread daniel.kruegler at googlemail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48948 --- Comment #2 from Daniel Krügler 2011-05-10 16:33:39 UTC --- (In reply to comment #1) I don't think that this is intended, but I would like to await feedback from the developer group before submitting a corresponding core issue. IMO there are

[Bug c++/48948] [C++0x] constexpr friend function cannot be defined in-class

2011-05-10 Thread schaub.johannes at googlemail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48948 Johannes Schaub changed: What|Removed |Added CC||schaub.johannes at |