https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92134
Marek Polacek changed:
What|Removed |Added
Status|ASSIGNED|RESOLVED
Resolution|---
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&root=gcc&view=rev
Log:
PR c++/92134 - constinit malfunction in static data member.
I
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, ds_c
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92134
Marek Polacek changed:
What|Removed |Added
Status|NEW |ASSIGNED
Assignee|unassigned a
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92134
Jonathan Wakely changed:
What|Removed |Added
Keywords||accepts-invalid
Status|UNC