diff options
author | Mark Mitchell <mark@codesourcery.com> | 2005-09-27 23:31:57 +0000 |
---|---|---|
committer | Mark Mitchell <mmitchel@gcc.gnu.org> | 2005-09-27 23:31:57 +0000 |
commit | c43e95f8f5f67265f05633813f3950624bb4064b (patch) | |
tree | 1d48bc0ddc17e9104af7209393174573d9ace1ff /gcc/builtins.c | |
parent | 57f0d086d592e6c9bb44c330939b9dda63d24934 (diff) | |
download | gcc-c43e95f8f5f67265f05633813f3950624bb4064b.zip gcc-c43e95f8f5f67265f05633813f3950624bb4064b.tar.gz gcc-c43e95f8f5f67265f05633813f3950624bb4064b.tar.bz2 |
re PR c++/22147 (ICE in get_bindings)
PR c++/22147
* name-lookup.c (maybe_process_template_type_declaration): Don't
treat forward declarations of classes as templates just because
we're processing_template_decl.
* pt.c (tsubst_decl): Clear DECL_TEMPLATE_INFO for friend
functions.
PR c++/22147
* g++.dg/template/friend37.C: New test.
* g++.dg/parse/crash28.C: Adjust error markers.
From-SVN: r104713
Diffstat (limited to 'gcc/builtins.c')
0 files changed, 0 insertions, 0 deletions