diff options
author | kan <kan@FreeBSD.org> | 2002-10-10 04:40:18 +0000 |
---|---|---|
committer | kan <kan@FreeBSD.org> | 2002-10-10 04:40:18 +0000 |
commit | 92318bc515d223b2eeebb665f76e131dd2318b2b (patch) | |
tree | f505e08c93c8d3d8e51f5dac050b459cce4d4ae2 /contrib/gcc/cp/ChangeLog | |
parent | 48f00f4c43af857e09b5f961c806a8811c504a3c (diff) | |
download | FreeBSD-src-92318bc515d223b2eeebb665f76e131dd2318b2b.zip FreeBSD-src-92318bc515d223b2eeebb665f76e131dd2318b2b.tar.gz |
Gcc 3.2.1-prerelease from the FSF anoncvs repo gcc-3_2-branch on October 9th 2002 20:15 EST.
Diffstat (limited to 'contrib/gcc/cp/ChangeLog')
-rw-r--r-- | contrib/gcc/cp/ChangeLog | 85 |
1 files changed, 68 insertions, 17 deletions
diff --git a/contrib/gcc/cp/ChangeLog b/contrib/gcc/cp/ChangeLog index f75f91f..cc84a03 100644 --- a/contrib/gcc/cp/ChangeLog +++ b/contrib/gcc/cp/ChangeLog @@ -1,3 +1,54 @@ +2002-10-09 Zack Weinberg <zack@codesourcery.com> + + PR c/7353 + * decl.c (start_decl): Unconditionally issue error for + 'typedef foo = bar'. + (cp_finish_decl): Remove special case for TYPE_DECL with initializer. + (grokdeclarator): Remove redundant error for 'typedef foo = bar'. + +2002-10-03 Mark Mitchell <mark@codesourcery.com> + + PR c++/7754 + * decl2.c (finish_anon_union): Do not expand anonymous unions when + procesing template functions. + * pt.c (tsubst_decl, case VAR_DECL): Try to complete the variable + type. Call layout_decl. + (tsubst_expr, case DECL_STMT): Handle anonymous unions. + +2002-10-07 Richard Henderson <rth@redhat.com> + + * decl2.c: Complete reversion of c++/7754. + +2002-10-06 Roger Sayle <roger@eyesopen.com> + + PR optimization/6627 + * cp/cp-tree.h (enum ptrmemfunc_vbit_where_t): Delete definition + from here, and move it to tree.h. + * cp/decl.c (cxx_init_decl_processing): If storing the vbit + in function pointers, ensure that force_align_functions_log + is atleast one. + +2002-10-04 H.J. Lu (hjl@gnu.org) + + * pt.c (tsubst_decl, case VAR_DECL): Back out the last change. + (tsubst_expr, case DECL_STMT): Likewise. + +2002-10-02 Mark Mitchell <mark@codesourcery.com> + + PR c++/7754 + * decl2.c (finish_anon_union): Do not expand anonymous unions when + procesing template functions. + * pt.c (tsubst_decl, case VAR_DECL): Try to complete the variable + type. Call layout_decl. + (tsubst_expr, case DECL_STMT): Handle anonymous unions. + +2002-10-02 Mark Mitchell <mark@codesourcery.com> + + PR c++/7188. + * init.c (expand_member_init): Allow a FIELD_DECL to be passed in + directly. + * pt.c (tsubst_initializer_list): Use expand_member_init. + 2002-09-04 Jakub Jelinek <jakub@redhat.com> * decl.c (start_cleanup_fn): Clear interface_only before @@ -336,7 +387,7 @@ 2002-04-29 Nathan Sidwell <nathan@codesourcery.com> PR c++/5719 - * decl.c (grok_op_properties): Assignment ops don't have to return + * decl.c (grok_op_properties): Assignment ops don't have to return by value. operator% should. 2002-04-28 Franz Sirl <Franz.Sirl-kernel@lauterbach.com> @@ -420,7 +471,7 @@ (finish_init_stmts): Set STMT_EXPR_NO_SCOPE. * semantics.c (begin_gobal_stmt_expr): Adjust call to expand_start_stmt_expr. - + 2002-04-15 Mark Mitchell <mark@codesourcery.com> * decl.c (register_dtor_fn): Pass the address of dso_handle, not @@ -449,11 +500,11 @@ * typeck.c (type_after_usual_arithmetic_conversions): If two types have the same variant, return immediately. - When two floating-point operands are the same precision: + When two floating-point operands are the same precision: convert to float if one of the operands is float; if neither operand is one of the standard types, return the type of the first operand. - + 2002-04-12 Richard Sandiford <rsandifo@redhat.com> * decl.c (duplicate_decls): Don't try to unify an implicit typedef @@ -511,7 +562,7 @@ set before checking it. PR c++/6179 - * method.c (implicitly_declare_fn): Pass unqualified type to + * method.c (implicitly_declare_fn): Pass unqualified type to synthesize_exception_spec. 2002-04-03 Jason Merrill <jason@redhat.com> @@ -576,7 +627,7 @@ PR c++/4884 * call.c (build_op_delete_call): Allow for the fact the placement may be a COMPOUND_EXPR. - + 2002-03-26 Nathan Sidwell <nathan@codesourcery.com> PR c++/5682 @@ -630,7 +681,7 @@ 2002-03-18 Ashif Harji <asharji@uwaterloo.ca> - * lang-specs.h (compiler default_compilers): Add + * lang-specs.h (compiler default_compilers): Add -no-integrated-cpp flag to invoke an external cpp. 2002-03-18 Jason Merrill <jason@redhat.com> @@ -747,7 +798,7 @@ with pointer to member conversions. 2002-03-08 Craig Rodrigues <rodrigc@gcc.gnu.org> - + * cp-tree.h (CLEAR_BINFO_MARKED): Make both parts of conditional return void. @@ -781,7 +832,7 @@ * decl.c (finish_function): Only warn about missing return statement with -Wreturn-type. -2002-02-24 Craig Rodrigues <rodrigc@gcc.gnu.org> +2002-02-24 Craig Rodrigues <rodrigc@gcc.gnu.org> PR c++/4093 * cp-tree.h (SET_BINFO_MARKED): Cast false part of condition @@ -835,7 +886,7 @@ 2002-02-19 Jason Merrill <jason@redhat.com> - ABI change: Mangle `void (A::*)() const' as + ABI change: Mangle `void (A::*)() const' as M1AKFvvE, not MK1AFvvE. * mangle.c (write_function_type): Write cv-quals for member function type here. @@ -910,14 +961,14 @@ (coerce_template_template_parms, convert_template_argument, coerce_template_parms, maybe_get_template_decl_from_type_decl, lookup_template_class, tsubst_friend_function, tsubst_friend_class, - instantiate_class_template, tsubst_template_arg_vector, - tsubst_template_parms, tsubst_aggr_type, tsubst_default_argument, + instantiate_class_template, tsubst_template_arg_vector, + tsubst_template_parms, tsubst_aggr_type, tsubst_default_argument, tsubst_decl, tsubst_arg_types, tsubst_function_type, - tsubst_call_declarator_parms, tsubst, tsubst_copy, tsubst_expr, + tsubst_call_declarator_parms, tsubst, tsubst_copy, tsubst_expr, instantiate_template, fn_type_unification, - resolve_overloaded_unification, verify_class_unification, - unify, get_bindings_real, do_type_instantiation, - regenerate_decl_from_template, instantiate_decl, + resolve_overloaded_unification, verify_class_unification, + unify, get_bindings_real, do_type_instantiation, + regenerate_decl_from_template, instantiate_decl, tsubst_initializer_list, tsubst_enum, get_mostly_instantiated_function_type, invalid_nontype_parm_type_p): Likewise. @@ -978,7 +1029,7 @@ 2002-02-01 Jason Merrill <jason@redhat.com> PR c++/4872 - * decl.c (finish_function): Warn about a non-void function with + * decl.c (finish_function): Warn about a non-void function with no return statement and no abnormal exit. * cp-tree.h (struct cp_language_function): Add returns_abnormally. (current_function_returns_abnormally): New macro. |