This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/34573] [4.3 Regression] ICE with nested class in template
- 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: 25 Dec 2007 23:40:53 -0000
- Subject: [Bug c++/34573] [4.3 Regression] ICE with nested class in template
- References: <bug-34573-1902@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #3 from pinskia at gcc dot gnu dot org 2007-12-25 23:40 -------
Reduced testcase:
template < class Gtr_>
void compute_gr()
{
typedef int Less_chain;
struct utils {
utils(const Less_chain& lc) {};
};
utils U(1);
}
int main(void){
compute_gr<int>();
}
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |pinskia at gcc dot gnu dot
| |org
Severity|normal |blocker
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
GCC host triplet|i386-apple-darwin8.11.1 |
GCC target triplet| |i386-apple-darwin8.11.1
Keywords| |ice-on-valid-code
Last reconfirmed|0000-00-00 00:00:00 |2007-12-25 23:40:53
date| |
Summary|ICE with nested class |[4.3 Regression] ICE with
| |nested class in template
Target Milestone|--- |4.3.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34573