aboutsummaryrefslogtreecommitdiff
path: root/gcc/predict.c
diff options
context:
space:
mode:
authorKriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net>2004-01-02 11:41:51 +0000
committerKriang Lerdsuwanakij <lerdsuwa@gcc.gnu.org>2004-01-02 11:41:51 +0000
commitb0bc6e8e6cd3f0a5789f7e3079f05d583e80a565 (patch)
tree28a6954b822b13e1756c9d931d9283cfa4358f34 /gcc/predict.c
parentdaef8bbd72bac6afdc1f0c13ff4b6349128d8674 (diff)
downloadgcc-b0bc6e8e6cd3f0a5789f7e3079f05d583e80a565.zip
gcc-b0bc6e8e6cd3f0a5789f7e3079f05d583e80a565.tar.gz
gcc-b0bc6e8e6cd3f0a5789f7e3079f05d583e80a565.tar.bz2
re PR c++/13520 (gcc crashes with inheritance + default template parameter of nested template type)
PR c++/13520 * cp-tree.h (DECL_UNBOUND_CLASS_TEMPLATE_P): New macro. (DECL_FUNCTION_TEMPLATE_P): Use it. (DECL_CLASS_TEMPLATE_P): Likewise. * parser.c (cp_parser_lookup_name): Add is_template parameter. (cp_parser_type_parameter): Adjust call to cp_parser_lookup_name. (cp_parser_template_name): Likewise. (cp_parser_elaborated_type_specifier): Likewise. (cp_parser_namespace_name): Likewise. (cp_parser_class_name): Likewise. (cp_parser_lookup_name_simple): Likewise. * g++.dg/template/qualttp22.C: New test. From-SVN: r75321
Diffstat (limited to 'gcc/predict.c')
0 files changed, 0 insertions, 0 deletions