------- Comment #1 from rguenth at gcc dot gnu dot org  2009-03-11 10:48 -------
Confirmed.  4.1 does

g++-4.1 -S t.ii -ftemplate-depth-4
t.ii:8: error: explicit specialization in non-namespace scope ‘class a’
t.ii:15: error: expected unqualified-id at end of input


-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
           Keywords|                            |ice-on-invalid-code
      Known to fail|                            |4.2.4 4.3.3 4.4.0
      Known to work|                            |4.1.2
   Last reconfirmed|0000-00-00 00:00:00         |2009-03-11 10:48:39
               date|                            |
            Summary|gcc loops after reporting   |[4.2/4.3/4.4 Regression] gcc
                   |template instantiation      |loops after reporting
                   |errors                      |template instantiation
                   |                            |errors
   Target Milestone|---                         |4.2.5


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

Reply via email to