[Bug c++/86958] ICE in finish_member_declaration when an alias template is used

2018-08-14 Thread v.reshetnikov at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86958 Vladimir Reshetnikov changed: What|Removed |Added Status|RESOLVED|CLOSED --- Comment #6 from

[Bug c++/86958] ICE in finish_member_declaration when an alias template is used

2018-08-14 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86958 Marek Polacek changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug c++/86958] ICE in finish_member_declaration when an alias template is used

2018-08-14 Thread v.reshetnikov at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86958 --- Comment #4 from Vladimir Reshetnikov --- Apparently, I somehow pasted a wrong code into this bug report. If you wish, you can close this one, and I will file proper one(s).

[Bug c++/86958] ICE in finish_member_declaration when an alias template is used

2018-08-14 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86958 --- Comment #3 from Marek Polacek --- note: expected a constant of type ‘bool’, got ‘bool’ Though this is clearly bogus.

[Bug c++/86958] ICE in finish_member_declaration when an alias template is used

2018-08-14 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86958 Marek Polacek changed: What|Removed |Added CC||mpolacek at gcc dot gnu.org --- Comment

[Bug c++/86958] ICE in finish_member_declaration when an alias template is used

2018-08-14 Thread v.reshetnikov at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86958 --- Comment #1 from Vladimir Reshetnikov --- Sorry, there is a missing closing parenthesis in my code. The last line should look like this: static_assert(Outer::Alias::value == sizeof(bool)); // error