http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53563

Richard Guenther <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
      Known to work|                            |4.3.6
           Keywords|                            |error-recovery,
                   |                            |ice-on-invalid-code
   Last reconfirmed|                            |2012-06-04
     Ever Confirmed|0                           |1
            Summary|ICE in start_decl, at       |[4.5/4.6/4.7/4.8
                   |cp/decl.c:4427              |Regression] ICE in
                   |                            |start_decl, at
                   |                            |cp/decl.c:4427
   Target Milestone|---                         |4.5.4

--- Comment #2 from Richard Guenther <rguenth at gcc dot gnu.org> 2012-06-04 
10:10:13 UTC ---
4.7 and trunk issue an error before:

t.ii: In function 'int main()':
t.ii:9:20: error: using typedef-name 's<void>' after 'struct'
t.ii:9:20: internal compiler error: tree check: expected tree that contains
'decl minimal' structure, have 'baselink' in check_elaborated_type_specifier,
at cp/decl.c:11475
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.

4.3 "works":

t.ii: In function 'int main()':
t.ii:9: error: no matching function for call to 's<void>::s()'
t.ii:3: note: candidates are: s<void>::s(const s<void>&)

Reply via email to