public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/63889] New: Ice with redundant static in class scope constexpr variable template.
@ 2014-11-15 15:03 emsr at gcc dot gnu.org
  2014-11-15 18:48 ` [Bug c++/63889] " daniel.kruegler at googlemail dot com
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: emsr at gcc dot gnu.org @ 2014-11-15 15:03 UTC (permalink / raw)
  To: gcc-bugs

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.


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2015-01-27 19:19 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-11-15 15:03 [Bug c++/63889] New: Ice with redundant static in class scope constexpr variable template emsr at gcc dot gnu.org
2014-11-15 18:48 ` [Bug c++/63889] " daniel.kruegler at googlemail dot com
2014-12-03  9:43 ` [Bug c++/63889] [5 Regression] " mpolacek at gcc dot gnu.org
2014-12-10 15:26 ` rguenth at gcc dot gnu.org
2014-12-15 16:39 ` jakub at gcc dot gnu.org
2014-12-18 14:50 ` ktietz at gcc dot gnu.org
2015-01-27 16:27 ` jason at gcc dot gnu.org
2015-01-27 19:17 ` jason at gcc dot gnu.org
2015-01-27 19:19 ` jason at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).