This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/63889] New: Ice with redundant static in class scope constexpr variable template.
- From: "emsr at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sat, 15 Nov 2014 15:03:17 +0000
- Subject: [Bug c++/63889] New: Ice with redundant static in class scope constexpr variable template.
- Auto-submitted: auto-generated
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63889
Bug ID: 63889
Summary: Ice with redundant static in class scope constexpr
variable template.
Product: gcc
Version: 5.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: emsr at gcc dot gnu.org
Created attachment 33984
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=33984&action=edit
Class snippet demonstrating the ICE.
This little test ices instead of issuing a warning (I'm not even sure it should
error) if a constexpr variable template member is declared static.
>From N3651 "A variable template at class scope is a static data member
template."
So the 'static', is at worst, redundant.