This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/51373] [C++0x] ICE for static pointer to member initialized in-class
- From: "vl.still at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 06 Jun 2014 11:27:00 +0000
- Subject: [Bug c++/51373] [C++0x] ICE for static pointer to member initialized in-class
- Auto-submitted: auto-generated
- References: <bug-51373-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=51373
--- Comment #4 from VladimÃr Åtill <vl.still at gmail dot com> ---
Problem is still present in 4.8.2, reproduce with following code, which
compiles in clang 3.4 (both with -std=c++11):
struct Y {
int o;
static constexpr int Y::* x = &Y::o;
};
gcc -v result included in previous comment. Tested on NixOS linux x86_64.