This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/12403] [3.4 regression] ICE in push_template_decl_real on member function template specialization
- From: "bangerth at dealii dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 25 Sep 2003 15:50:35 -0000
- Subject: [Bug c++/12403] [3.4 regression] ICE in push_template_decl_real on member function template specialization
- References: <20030925154434.12403.stefaandr@hotmail.com>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
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.