[Bug c++/12403] [3.4 regression] ICE in push_template_decl_real on member function template specialization

bangerth at dealii dot org gcc-bugzilla@gcc.gnu.org
Thu Sep 25 16:30:00 GMT 2003


PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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


bangerth at dealii dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
           Keywords|                            |error-recovery, ice-on-
                   |                            |invalid-code
   Last reconfirmed|0000-00-00 00:00:00         |2003-09-25 15:50:33
               date|                            |
            Summary|ICE on member function      |[3.4 regression] ICE in
                   |template specialization     |push_template_decl_real on
                   |                            |member function template
                   |                            |specialization
   Target Milestone|---                         |3.4


------- Additional Comments From bangerth at dealii dot org  2003-09-25 15:50 -------
The code is invalid for exactly the same reason as PR 1908: specializations
cannot be declared _inside_ the class declaration.

The ICE is a mainline regression nevertheless. 3.3 spews out several lines
of unintelligible errors after the first one, while we now simply crash.

W.



More information about the Gcc-bugs mailing list