OSDN Git Service

/cp
authorpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 23 Sep 2011 16:19:52 +0000 (16:19 +0000)
committerpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 23 Sep 2011 16:19:52 +0000 (16:19 +0000)
commit9cb990f2c94a57d3ea1aec8eb83b12838a6242e7
treed51a1328ea7cd927a6f8cb46821821d3c0215fb9
parent21d583be65ddd667cbbdf5c0c85002bc538547ee
/cp
2011-09-23  Paolo Carlini  <paolo.carlini@oracle.com>

PR c++/50258
* decl.c (check_static_variable_definition): Allow in-class
initialization of static data member of non-integral type in
permissive mode.

/testsuite
2011-09-23  Paolo Carlini  <paolo.carlini@oracle.com>

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@179121 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/cp/ChangeLog
gcc/cp/decl.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/cpp0x/constexpr-static8.C [new file with mode: 0644]