This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]