-
- Downloads
decl2.c (build_anon_union_vars): Don't crash on empty sub-unions.
1998-05-25 Mark Mitchell <mark@markmitchell.com> * decl2.c (build_anon_union_vars): Don't crash on empty sub-unions. * cp-tree.h (processing_template_parmlist): Declare. * decl.c (pushtag): Don't call push_template_decl when we shouldn't. * pt.c (processing_template_parmlist): New variable. (TMPL_ARGS_HAVE_MULTIPLE_LEVELS): New macro. (complete_template_args): Use it. (add_to_template_args): Likewise. (innermost_args): Likewise. (tsubst): Likewise. (begin_template_parm_list): Use processing_template_parmlist. (end_template_parm_list): Likewise. * cp-tree.h (ANON_UNION_TYPE_P): New macro. * decl.c (grokdeclarator): Use it. * decl2.c (grok_x_components): Likewise. * init.c (initializing_context): Likewise. * method.c (do_build_copy_constructor): Likewise. (do_build_assign_ref): Likewise. * search.c (compute_access): Likewise. * typeck.c (build_component_ref): Likewise. * decl.c (grokdeclarator): Don't give a cv-qualified version of an unnamed type a typedef name "for linkage purposes". * pt.c (lookup_template_class): Don't look at IDENTIFIER_CLASS_VALUE when there's no current_class_type. * method.c (build_overload_int): Handle error cases gracefully. * pt.c (instantiate_decl): Handle static member variables correctly. * pt.c (tsubst): Use the tsubst'd type when producing new TEMPLATE_PARM_INDEX nodes. From-SVN: r20045
Showing
- gcc/cp/ChangeLog 39 additions, 0 deletionsgcc/cp/ChangeLog
- gcc/cp/cp-tree.h 6 additions, 0 deletionsgcc/cp/cp-tree.h
- gcc/cp/decl.c 11 additions, 5 deletionsgcc/cp/decl.c
- gcc/cp/decl2.c 7 additions, 5 deletionsgcc/cp/decl2.c
- gcc/cp/init.c 1 addition, 1 deletiongcc/cp/init.c
- gcc/cp/method.c 12 additions, 9 deletionsgcc/cp/method.c
- gcc/cp/pt.c 35 additions, 28 deletionsgcc/cp/pt.c
- gcc/cp/search.c 1 addition, 2 deletionsgcc/cp/search.c
- gcc/cp/typeck.c 3 additions, 3 deletionsgcc/cp/typeck.c
- gcc/testsuite/g++.old-deja/g++.other/typedef1.C 13 additions, 0 deletionsgcc/testsuite/g++.old-deja/g++.other/typedef1.C
- gcc/testsuite/g++.old-deja/g++.pt/crash5.C 12 additions, 0 deletionsgcc/testsuite/g++.old-deja/g++.pt/crash5.C
- gcc/testsuite/g++.old-deja/g++.pt/memtemp75.C 25 additions, 0 deletionsgcc/testsuite/g++.old-deja/g++.pt/memtemp75.C
- gcc/testsuite/g++.old-deja/g++.pt/spec18.C 30 additions, 0 deletionsgcc/testsuite/g++.old-deja/g++.pt/spec18.C
- gcc/testsuite/g++.old-deja/g++.pt/static2.C 21 additions, 0 deletionsgcc/testsuite/g++.old-deja/g++.pt/static2.C
Loading
Please register or sign in to comment