[Bug c++/51373] [C++0x] ICE for static pointer to member initialized in-class

vl.still at gmail dot com gcc-bugzilla@gcc.gnu.org
Fri Jun 6 11:27:00 GMT 2014


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.


More information about the Gcc-bugs mailing list