[Bug c++/90550] ICE in determine_visibility, at cp/decl2.c:2567

2019-05-20 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90550

Marek Polacek  changed:

   What|Removed |Added

 Status|UNCONFIRMED |NEW
   Last reconfirmed||2019-05-20
 CC||mpolacek at gcc dot gnu.org
 Ever confirmed|0   |1

--- Comment #1 from Marek Polacek  ---
Confirmed.

[Bug c++/90550] ICE in determine_visibility, at cp/decl2.c:2567

2019-05-20 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90550

--- Comment #2 from Marek Polacek  ---
Started with r145440.  Before that:

90550.C: In function ‘void f() [with  = int]’:
90550.C:9:   instantiated from here
90550.C:5: error: ‘b’ has incomplete type

[Bug c++/90550] ICE in determine_visibility, at cp/decl2.c:2567

2021-07-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90550

Andrew Pinski  changed:

   What|Removed |Added

 Resolution|--- |FIXED
 Status|NEW |RESOLVED
   Last reconfirmed|2019-05-20 00:00:00 |
   Target Milestone|--- |11.0

--- Comment #3 from Andrew Pinski  ---
Fixed in GCC 11:
: In instantiation of 'void f() [with  = int]':
:9:10:   required from here
:5:15: error: 'f()::S::a b' has incomplete type
5 |   struct S::a b;
  |   ^
Compiler returned: 1