[Bug c++/60199] 'error: field initializer is not constant' when initializing static member function pointer to a function

2014-06-06 Thread paolo.carlini at oracle dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60199

--- Comment #2 from Paolo Carlini paolo.carlini at oracle dot com ---
Yes, this is fixed, I'm adding the testcase and closing the bug.


[Bug c++/60199] 'error: field initializer is not constant' when initializing static member function pointer to a function

2014-06-06 Thread paolo at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60199

--- Comment #3 from paolo at gcc dot gnu.org paolo at gcc dot gnu.org ---
Author: paolo
Date: Fri Jun  6 09:52:33 2014
New Revision: 211310

URL: http://gcc.gnu.org/viewcvs?rev=211310root=gccview=rev
Log:
2014-06-06  Paolo Carlini  paolo.carl...@oracle.com

PR c++/60199
* g++.dg/cpp0x/constexpr-60199.C: New.

Added:
trunk/gcc/testsuite/g++.dg/cpp0x/constexpr-60199.C
Modified:
trunk/gcc/testsuite/ChangeLog


[Bug c++/60199] 'error: field initializer is not constant' when initializing static member function pointer to a function

2014-06-06 Thread paolo.carlini at oracle dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60199

Paolo Carlini paolo.carlini at oracle dot com changed:

   What|Removed |Added

 Status|UNCONFIRMED |RESOLVED
  Known to work||4.10.0, 4.9.0
 Resolution|--- |FIXED
   Target Milestone|--- |4.9.0

--- Comment #4 from Paolo Carlini paolo.carlini at oracle dot com ---
Done.


[Bug c++/60199] 'error: field initializer is not constant' when initializing static member function pointer to a function

2014-02-16 Thread daniel.kruegler at googlemail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60199

Daniel Krügler daniel.kruegler at googlemail dot com changed:

   What|Removed |Added

 CC||daniel.kruegler@googlemail.
   ||com

--- Comment #1 from Daniel Krügler daniel.kruegler at googlemail dot com ---
Seems to be fixed in 4.9 trunk