[Bug c++/92134] static constinit members incorrectly compile

2019-10-30 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92134 Marek Polacek changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/92134] static constinit members incorrectly compile

2019-10-30 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92134 --- Comment #2 from Marek Polacek --- Author: mpolacek Date: Wed Oct 30 18:49:59 2019 New Revision: 277636 URL: https://gcc.gnu.org/viewcvs?rev=277636=gcc=rev Log: PR c++/92134 - constinit malfunction in static data member. I wasn't

[Bug c++/92134] static constinit members incorrectly compile

2019-10-24 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92134 --- Comment #1 from Marek Polacek --- Untested fix: --- a/gcc/cp/decl2.c +++ b/gcc/cp/decl2.c @@ -990,6 +990,9 @@ grokfield (const cp_declarator *declarator, else flags = LOOKUP_IMPLICIT; + if (decl_spec_seq_has_spec_p (declspecs,

[Bug c++/92134] static constinit members incorrectly compile

2019-10-17 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92134 Marek Polacek changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug c++/92134] static constinit members incorrectly compile

2019-10-17 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92134 Jonathan Wakely changed: What|Removed |Added Keywords||accepts-invalid