This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/22464] [3.4/4.0/4.1 Regression] ICE on classes in template functions which attempt closure
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 13 Jul 2005 18:21:45 -0000
- Subject: [Bug c++/22464] [3.4/4.0/4.1 Regression] ICE on classes in template functions which attempt closure
- References: <20050713181558.22464.albertm@uphs.upenn.edu>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-07-13 18:21 -------
Confirmed, this is invalid code, you cannot reference a local variable in a local class.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed| |1
Keywords| |ice-on-invalid-code
Last reconfirmed|0000-00-00 00:00:00 |2005-07-13 18:21:44
date| |
Summary|ICE on classes in template |[3.4/4.0/4.1 Regression] ICE
|functions which attempt |on classes in template
|closure |functions which attempt
| |closure
Target Milestone|--- |3.4.5
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22464