10 GCC HEAD regressions, 0 new, with your patch on 2005-06-27T19:41:43Z.
GCC regression checker
geoffk@apple.com
Tue Jun 28 14:38:00 GMT 2005
With your recent patch, GCC HEAD has some regression test failures,
which used to pass. There are 0 new failures, and 10
failures that existed before and after that patch; 0 failures
have been fixed.
The old failures, which were not fixed or introduced by your patch, are:
native gcc.sum gcc.dg/compat/scalar-by-value-1
native gcc.sum gcc.dg/tree-ssa/loop-2.c
native gcc.sum gcc.dg/tree-ssa/loop-4.c
native libjava.sum Array_3
native libjava.sum Divide_1
native libstdc++.sum 26_numerics/cmath/c99_classification_macros_c.cc
native libstdc++.sum 27_io/basic_filebuf/seekoff/char/1-io.cc
native libstdc++.sum 27_io/basic_filebuf/seekoff/char/2-io.cc
native libstdc++.sum 27_io/basic_filebuf/seekpos/char/1-io.cc
native libstdc++.sum 27_io/basic_filebuf/seekpos/char/2-io.cc
For more information, see http://gcc.gnu.org/regtest/.
-------------- next part --------------
ChangeLog entries since last run on 2005-06-27T01:19:53Z:
--- /Users/regress/tbox/changelog_mail/gcc/gcc/ChangeLog Sun Jun 26 18:21:05 2005
+++ gcc/gcc/ChangeLog Mon Jun 27 12:42:54 2005
@@ -1,3 +1,144 @@
+2005-06-27 David Edelsohn <edelsohn@gnu.org>
+
+ * config/rs6000/rs6000.c (rs6000_file_start): Note PPC405 erratum
+ in verbose_asm output.
+ * config/rs6000/rs6000.h (PPC405_ERRATUM77): Bracket with
+ CONFIG_PPC405CR.
+ * config.gcc (powerpc with_which): Define CONFIG_PPC405CR for
+ 405cr.
+
+2005-06-27 Jakub Jelinek <jakub@redhat.com>
+
+ * builtin-attrs.def (DEF_ATTR_FOR_INT): Add for 5 and 6.
+ (DEF_LIST_INT_INT): Add for 4,0, 4,5, 5,0, 5,6.
+ (ATTR_NOTHROW_NONNULL_4, ATTR_NOTHROW_NONNULL_5): Define.
+ (ATTR_FORMAT_PRINTF_4_0, ATTR_FORMAT_PRINTF_4_5,
+ ATTR_FORMAT_PRINTF_5_0, ATTR_FORMAT_PRINTF_5_6): Define.
+ * builtins.c: Include tree-flow.h.
+ (expand_builtin_mempcpy, expand_builtin_memmove): Comment fixes.
+ (expand_builtin_object_size, expand_builtin_memory_chk,
+ maybe_emit_chk_warning, maybe_emit_sprintf_chk_warning,
+ compute_object_offset, compute_builtin_object_size,
+ fold_builtin_object_size): New functions.
+ (expand_builtin): Handle BUILT_IN_OBJECT_SIZE and BUILT_IN_*_CHK.
+ (fold_builtin_1): Likewise. Handle BUILT_IN_{,V}{,F}PRINTF
+ and BUILT_IN_{,F}PRINTF_UNLOCKED.
+ (fold_builtin_memory_chk, fold_builtin_stxcpy_chk,
+ fold_builtin_strncpy_chk, fold_builtin_strcat_chk,
+ fold_builtin_strncat_chk, fold_builtin_sprintf_chk,
+ fold_builtin_snprintf_chk, fold_builtin_printf, fold_builtin_fprintf):
+ New functions.
+ * builtins.def (BUILT_IN_OBJECT_SIZE, BUILT_IN_MEMCPY_CHK,
+ BUILT_IN_MEMMOVE_CHK, BUILT_IN_MEMPCPY_CHK, BUILT_IN_MEMSET_CHK,
+ BUILT_IN_STPCPY_CHK, BUILT_IN_STRCAT_CHK, BUILT_IN_STRCPY_CHK,
+ BUILT_IN_STRNCAT_CHK, BUILT_IN_STRNCPY_CHK, BUILT_IN_SNPRINTF_CHK,
+ BUILT_IN_SPRINTF_CHK, BUILT_IN_VSNPRINTF_CHK, BUILT_IN_VSPRINTF_CHK,
+ BUILT_IN_FPRINTF_CHK, BUILT_IN_PRINTF_CHK, BUILT_IN_VFPRINTF_CHK,
+ BUILT_IN_VPRINTF_CHK): New builtins.
+ * builtin-types.def (DEF_FUNCTION_TYPE_5, DEF_FUNCTION_TYPE_VAR_4):
+ Document.
+ (BT_FN_SIZE_CONST_PTR_INT, BT_FN_INT_INT_CONST_STRING_VALIST_ARG,
+ BT_FN_PTR_PTR_CONST_PTR_SIZE_SIZE, BT_FN_PTR_PTR_INT_SIZE_SIZE,
+ BT_FN_STRING_STRING_CONST_STRING_SIZE_SIZE,
+ BT_FN_INT_FILEPTR_INT_CONST_STRING_VALIST_ARG,
+ BT_FN_INT_STRING_INT_SIZE_CONST_STRING_VALIST_ARG,
+ BT_FN_INT_STRING_SIZE_INT_SIZE_CONST_STRING_VALIST_ARG,
+ BT_FN_INT_INT_CONST_STRING_VAR, BT_FN_INT_FILEPTR_INT_CONST_STRING_VAR,
+ BT_FN_INT_STRING_INT_SIZE_CONST_STRING_VAR,
+ BT_FN_INT_STRING_SIZE_INT_SIZE_CONST_STRING_VAR): New types.
+ * c-common.c (DEF_FUNCTION_TYPE_5, DEF_FUNCTION_TYPE_6,
+ DEF_FUNCTION_TYPE_VAR_4, DEF_FUNCTION_TYPE_VAR_5): Define.
+ * Makefile.in (OBJS-common): Add tree-object-size.o.
+ (tree-object-size.o): Add dependencies.
+ * tree-pass.h (pass_object_sizes): Add.
+ * tree-optimize.c (init_tree_optimization_passes): Add
+ pass_object_sizes.
+ * tree-object-size.c: New file.
+ * tree.h (fold_builtin_memory_chk, fold_builtin_stxcpy_chk,
+ fold_builtin_strncpy_chk, fold_builtin_snprintf_chk,
+ compute_builtin_object_size, init_object_sizes, fini_object_sizes):
+ New prototypes.
+ * tree-ssa-ccp.c (get_strlen): Rename to ...
+ (get_maxval_strlen): ...this function. Handle also computing of maximum
+ string length and maximum integral value.
+ (ccp_fold_builtin): Handle BUILT_IN_*_CHK. Use get_maxval_strlen
+ instead of get_strlen. Pass CALLEE and ARGLIST variables to the
+ folding functions instead of computing them again.
+ (execute_fold_all_builtins): Retry ccp_fold_builtin if a builtin changed
+ into some other builtin.
+ * doc/extend.texi (Object Size Checking): Document.
+
+ * regrename.c (copy_value): Fix comment.
+
+ * toplev.c (process_options): Use if (FRAME_GROWS_DOWNWARD)
+ instead of preprocessor conditionals.
+
+ * targhooks.c (default_hidden_stack_protect_fail): Fall back to
+ default_external_stack_protect_fail if visibility is not supported
+ or not flag_pic.
+ * config/i386/i386.c (ix86_stack_protect_fail): New function.
+ (TARGET_STACK_PROTECT_FAIL): Define.
+ * config/i386/i386.md (stack_protect_si): Change CLOBBER into
+ SET to zero.
+ (stack_protect_di): Likewise. Use %k2 instead of %2 to avoid
+ invalid instruction xorl %rax, %rax.
+
+2005-06-27 Richard Henderson <rth@redhat.com>
+
+ * c-cppbuiltin.c (c_cpp_builtins): Add __SSP_ALL__ and __SSP__.
+ * cfgexpand.c: Include params.h.
+ (has_protected_decls, has_short_buffer): New.
+ (expand_stack_vars): Take a predicate to determine what to expand.
+ (defer_stack_allocation): True when flag_stack_protect on.
+ (SPCT_HAS_LARGE_CHAR_ARRAY, SPCT_HAS_SMALL_CHAR_ARRAY): New.
+ (SPCT_HAS_ARRAY, SPCT_HAS_AGGREGATE): New.
+ (stack_protect_classify_type, stack_protect_decl_phase): New.
+ (stack_protect_decl_phase_1, stack_protect_decl_phase_2): New.
+ (add_stack_protection_conflicts, create_stack_guard): New.
+ (expand_used_vars): Add stack protection logic.
+ (tree_expand_cfg): Likewise.
+ * common.opt (Wstack-protector): New.
+ (fstack-protector, fstack-protector-all): New.
+ * function.c: Include predict.h.
+ (assign_parm_adjust_stack_rtl): Zap stack_parm when stack protect
+ wants to copy the parameter into the stack frame.
+ (stack_protect_prologue, stack_protect_epilogue): New.
+ (expand_function_end): Call stack_protect_epilogue. Do
+ sjlj_emit_function_exit_after after naked_return_label.
+ * function.h (struct function): Add stack_protect_guard.
+ * params.def (PARAM_SSP_BUFFER_SIZE): New.
+ * toplev.c (process_options): Disable flag_stack_protect and/or
+ warn_stack_protect based on FRAME_GROWS_DOWNWARD.
+ * tree.h (stack_protect_prologue): Declare.
+
+ * target-def.h (TARGET_STACK_PROTECT_GUARD): New.
+ (TARGET_STACK_PROTECT_FAIL): New.
+ (TARGET_INITIALIZER): Add them.
+ * target.h (struct gcc_target): Add stack_protect_guard and
+ stack_protect_fail.
+ * targhooks.c: Include ggc.h, gty header.
+ (stack_chk_guard_decl, default_stack_protect_guard): New.
+ (stack_chk_fail_decl, default_external_stack_protect_fail): New.
+ (default_hidden_stack_protect_fail): New.
+ * targhooks.h (default_stack_protect_guard): Declare.
+ (default_external_stack_protect_fail): Declare.
+ (default_hidden_stack_protect_fail): Declare.
+ * config/i386/i386.c (TARGET_STACK_PROTECT_FAIL): New.
+ * config/i386/i386.md (UNSPEC_SP_SET, UNSPEC_SP_TEST): New.
+ (trap): Use ud2.
+ (conditional_trap, conditional_trap_1): Remove.
+ (stack_protect_set, stack_protect_set_si, stack_protect_set_di): New.
+ (stack_protect_test, stack_protect_test_si, stack_protect_test_di): New.
+ * doc/md.texi (stack_protect_set, stack_protect_test): New.
+ * doc/tm.texi (TARGET_STACK_PROTECT_GUARD): New.
+ (TARGET_STACK_PROTECT_FAIL): New.
+
+ * libgcc-std.ver (GCC_4.1.0): New.
+ * libgcc.h (__stack_chk_guard): Declare.
+ (__stack_chk_fail, __stack_chk_fail_local): Declare.
+ * libgcc2.c (L_stack_chk, L_stack_chk_local): New.
+ * mklibgcc.in (lib2funcs): Add them.
+
2005-06-26 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
PR c/21911
--- /Users/regress/tbox/changelog_mail/gcc/gcc/cp/ChangeLog Sun Jun 26 18:21:11 2005
+++ gcc/gcc/cp/ChangeLog Mon Jun 27 12:43:03 2005
@@ -1830,6882 +1830,3 @@
* decl.c (finish_function): Fix comment. Annotate the compiler
generated return with the current file name and line 0.
-2004-12-31 Richard Henderson <rth@redhat.com>
-
- PR middle-end/17799
- * call.c (make_temporary_var_for_ref_to_temp): Set DECL_IGNORED_P.
- * class.c (build_vtable): Don't conditionallize setting it
- based on DWARF2_DEBUG.
- (layout_class_type): Set DECL_IGNORED_P.
- * decl2.c (get_guard): Likewise.
- * rtti.c (get_tinfo_decl, build_lang_decl): Likewise.
- * tree.c (build_local_temp): Likewise.
-
-2004-12-30 Mark Mitchell <mark@codesourcery.com>
-
- * cp-tree.h (cp_declarator): Split "name" field into
- qualifying_scope and unqualified_name.
- * decl.c (get_scope_of_declarator): Adjust accordingly.
- (grokdeclarator): Likewise.
- * decl2.c (grokfield): Likewise, and adjust call to
- do_class_using_decl.
- * name-lookup.c (do_class_using_decl): Split "decl" into
- "scope" and "name". Remove unnecessary code.
- * name-lookup.h (do_class_using_decl): Adjust declaration.
- * parser.c (make_id_declarator): Split "id" into qualifying_scope
- and unqualified_name.
- (cp_parser_using_declaration): Adjust call to do_class_using_decl.
- (cp_parser_direct_declarator): Adjust to handle the fact that
- cp_parser_declarator_id no longer returns a SCOPE_REF.
- (cp_parser_direct_declarator): Likewise.
- (cp_parser_declarator_id): Do not create a SCOPE_REF for qualified
- names.
- (cp_parser_member_declaration): Adjust call to make_id_declarator.
- (cp_parser_check_declarator_template_parameters): Do not expect a
- SCOPE_REF.
-
- * decl.c (duplicate_decls): Call ggc_free on declarations we will
- not be needing any longer.
-
- PR c++/19190
- * cvt.c (convert_to_void): Do not use STRIP_NOPs.
-
-2004-12-28 Richard Henderson <rth@redhat.com>
-
- PR inline-asm/15740
- * semantics.c (finish_asm_stmt): Resolve asm names. Validate input
- constraints. Mark memory inputs addressable.
-
-2004-12-27 Jason Merrill <jason@redhat.com>
-
- * decl.c (expand_static_init): Don't use shortcut if
- targetm.relaxed_ordering.
-
-2004-12-27 Mark Mitchell <mark@codesourcery.com>
-
- PR c++/19149
- * decl.c (check_tag_decl): Robustify.
-
-2004-12-23 Mark Mitchell <mark@codesourcery.com>
-
- PR c++/17595
- * parser.c (cp_parser_error): Issue better messages about
- #pragma in locations where it is not permitted.
-
- PR c++/17413
- * pt.c (check_instantiated_args): Remove bogus SFINAE code.
-
- * cvt.c (convert_to_void): Fix typo in comment.
-
-2004-12-23 Alexandre Oliva <aoliva@redhat.com>
-
- PR c++/18962
- * pt.c (check_explicit_specialization): Use the argument list from
- the definition in a template function specialization definition.
-
-2004-12-23 Giovanni Bajo <giovannibajo@gcc.gnu.org>
-
- PR c++/18733
- * pt.c (check_explicit_specialization): Use special logic to validate
- befriended specializations.
-
-2004-12-22 Mark Mitchell <mark@codesourcery.com>
-
- * rtti.c (emit_support_tinfos): Avoid using C99 semantics.
-
- PR c++/18464
- * call.c (build_this): In templates, do not bother with
- build_unary_op.
- * typeck.c (unary_complex_lvalue): In a template, always refuse
- simplifications.
-
- PR c++/18492
- * cp-gimplify.c (cp_genericize): Relax assertion.
-
- PR c++/11224
- * cvt.c (convert_to_void): Warn about unused values.
-
- PR c++/18257
- * rtti.c (emit_support_tinfos): On systems without weak symbols,
- emit the runtime library type-info objects as non-COMDAT.
-
-2004-12-21 Mark Mitchell <mark@codesourcery.com>
-
- PR c++/18378
- * call.c (convert_like_real): Do not permit the use of a copy
- constructor to copy a packed field.
-
- PR c++/19063
- * decl.c (grokdeclarator): Return error_mark_node, not
- void_type_node, to indicate errors.
- * parser.c (cp_parser_template_parameter_list): Robustify.
- (cp_parser_template_parameter): Likewise.
-
- PR c++/19034
- * tree.c (cp_tree_equal): Handle OVERLOAD.
-
-2004-12-22 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
-
- * decl.c (define_label): Use POP_TIMEVAR_AND_RETURN.
- * name-lookup.c (pushdecl_class_level): Likewise.
-
-2004-12-21 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
-
- * name-lookup.c (pushtag): Add missing POP_TIMEVAR_AND_RETURN.
-
-2004-12-21 Andrew Pinski <pinskia@physics.uc.edu>
-
- PR c++/18984
- * cp-gimplify.c (cp_genericize_r): Don't insert first but instead
- check to see if contains the pointer. Insert the statement before
- returning.
-
-2004-12-21 Nathan Sidwell <nathan@codesourcery.com>
-
- PR c++/14075
- * decl.c (check_initializer): Check string initializer of array is
- not parenthesized.
- * cp-tree.h (PAREN_STRING_LITERAL_P): New.
- * semantics.c (finish_parenthesized_expr): Mark a STRING_CST.
- * error.c (dump_expr): <STRING_CST case> Add parens, if needed.
-
- * cp-tree.def (TEMPLATE_TYPE_PARM,
- BOUND_TEMPLATE_TEMPLATE_PARM, TYPE_OF_TYPE, TYPENAME_TYPE): Reorder
- for better code efficiency.
- * cp-tree.h (CLASS_TYPE_P): Short circuit IS_AGGR_TYPE check.
- (CAN_HAVE_FULL_LANG_DECL_P): Reorder for better optimization.
- (INTEGRAL_CODE_P, CP_INTEGRAL_TYPE_P,
- INTEGRAL_OR_ENUMERATION_TYPE_P, SCALAR_TYPE_P,
- CP_AGGREGATE_TYPE_P, TYPE_PTROB_P, TYPE_REF_OBJ_P,
- TYPE_PTROBV_P): Likewise.
-
- PR c++/18975
- * method.c (do_build_copy_constructor): Refactor. Don't const
- qualify a mutable field.
- (do_build_assign_ref): Likewise.
-
-2004-12-20 Matt Austern <austern@apple.com>
-
- PR c++/19044
- * decl.c (make_rtl_for_nonlocal_decl): Use
- set_builtin_user_assembler_name.
-
-2004-12-19 Mark Mitchell <mark@codesourcery.com>
-
- * cp-tree.h (note_decl_for_pch): New function.
- * class.c (build_clone): Call note_decl_for_pch.
- * semantics.c (finish_member_declaration): Likewise.
- (note_decl_for_pch): New function.
-
-2004-12-17 Steven Bosscher <stevenb@suse.de>
-
- * init.c (build_zero_init): max_index is the number of
- elements, minus 1.
-
-2004-12-17 Nathan Sidwell <nathan@codesourcery.com>
-
- PR c++/18721
- * class.c (add_method): Do not push conversion operators into a
- binding level.
-
- * cp-tree.h (CLASSTYPE_PRIMARY_TEMPLATE_TYPE): Reformat.
- * error.c (dump_decl): <TYPE_DECL case> Remove extraneous braces.
-
-2004-12-16 Nathan Sidwell <nathan@codesourcery.com>
-
- PR c++/18905
- * cp-tree.h (integral_constant_value): Declare.
- * call.c (null_ptr_cst_p): Use integral_constant_value, not
- decl_constant_value.
- (convert_like_real): Likewise.
- * class.c (check_bitfield_decl): Likewise.
- * cvt.c (ocp_convert): Likewise.
- (convert): Remove unnecessary decl_constant_value call.
- * decl.c (compute_array_index_type): Use integral_constant_value,
- not decl_constant_value.
- (build_enumerator): Likewise.
- * decl2.c (grokfield): Likewise.
- * init.c (decl_constant_value): Simplify.
- (integral_constant_value): New.
- * pt.c (fold_decl_constant_value): Use integral_constant_value,
- remove subsequent check.
- (tsubst): Use integral_constant_value, not decl_constant_value.
- (tsubst_copy, unify): Likewise.
- * typeck.c (decay_conversion): Likewise.
- (build_compound_expr): Remove unnecessary decl_constant_value
- calls.
- (build_static_cast_1, build_reinterpret_cast_1):
- (convert_for_assignment): Remove comment about not calling
- decl_constant_value.
-
-2004-12-15 Kriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net>
-
- PR c++/18825
- * pt.c (instantiate_class_template): Set input_location for
- friend function.
- (tsubst_friend_function): Don't set input_location here.
- Make sure the context is complete if necessary.
-
-2004-12-15 Nathan Sidwell <nathan@codesourcery.com>
-
- PR c++/18981
- * parser.c (cp_parser_lookup_name): Remove unneeded TYPENAME_TYPE
- flag setting.
-
-2004-12-14 Mark Mitchell <mark@codesourcery.com>
-
- PR c++/18738
- * decl.c (make_typename_type): Do not handle namespace-scoped
- names here.
- (tag_name): Handle typename_type.
- (check_elaborated_type_specifier): Handle typenames.
- * parser.c (cp_parser_diagnose_invalid_type_name): Improve
- comment.
- (cp_parser_elaborated_type_specifier): Use
- cp_parser_diagnose_invalid_type_name.
-
-2004-12-14 Andrew Pinski <pinskia@physics.uc.edu>
-
- PR c++/18965
- * init.c (build_zero_init): If the max_index is 0, there is no
- need to create a RANGE_EXPR.
-
-2004-12-14 Mark Mitchell <mark@codesourcery.com>
-
- PR c++/18793
- * cp-objcp-common.c (cp_expr_size): Loosen assertion.
-
-2004-12-14 Nathan Sidwell <nathan@codesourcery.com>
-
- PR c++/18949
- * pt.c (tsubst_copy_and_build): <INDIRECT_REF case> Check that a
- REFERENCE_REF_P is dereferencing a reference type.
- * typeck.c (build_static_cast): Convert from reference even in a
- template.
- (build_reinterpret_cast, build_const_cast, build_c_cast): Likewise.
-
-2004-12-14 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
-
- * parser.c (cp_parser_uncommitted_to_tentative_parse_p): New function.
- (cp_parser_name_lookup_error): Use it.
- (cp_parser_check_for_invalid_template_id): Likewise.
- (cp_parser_skip_to_closing_parenthesis): Likewise.
- (cp_parser_nested_name_specifier_opt): Likewise.
- (cp_parser_simple_declaration, cp_parser_template_id): Likewise.
- (cp_parser_parameter_declaration_list): Likewise.
- (cp_parser_parameter_declaration): Likewise.
- (cp_parser_template_name): Let cp_parser_simulate_error perform
- the checking.
- (cp_parser_committed_to_tentative_parse): Remove.
-
-2004-12-13 Andrew Pinski <pinskia@physics.uc.edu>
-
- PR c++/18968
- * class.c (build_base_path): Convert the zero constant to the correct
- type when comparing.
-
-2004-12-13 Mark Mitchell <mark@codesourcery.com>
-
- PR c++/18925
- * class.c (layout_class_type): Determine the visibility of static
- data members.
-
-2004-12-12 Roger Sayle <roger@eyesopen.com>
-
- PR middle-end/12454
- * cp-gimplify.c (gimplify_if_stmt): Optimize the case where the
- condition is a constant and the unexecuted clause is empty.
-
-2004-12-10 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
-
- PR c++/18731
- * parser.c (cp_parser_class_head): Reject typedef-name in class head.
-
-2004-12-09 Matt Austern <austern@apple.com>
-
- PR c++/18514
- * name-lookup.c (do_nonmember_using_decl): A real function
- declaration takes precedence over an anticipated declaration.
-
-2004-12-09 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
-
- * parser.c (cp_parser_member_declaration): Fix comment typo.
-
-2004-12-09 Alexandre Oliva <aoliva@redhat.com>
-
- PR c++/18757
- * parser.c (cp_parser_template_id): Don't create a CPP_TEMPLATE_ID
- if parsing failed.
-
-2004-12-09 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
-
- PR c++/18073
- * typeck.c (build_reinterpret_cast_1): Allow cast from vector type.
-
-2004-12-09 Nathan Sidwell <nathan@codesourcery.com>
-
- PR c++/16681
- * init.c (build_zero_init): Build a RANGE_EXPR for an array
- initializer.
-
-2004-12-08 Kelley Cook <kcook@gcc.gnu.org>
-
- * typeck.c: Remove DOS line endings.
-
-2004-12-08 Kriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net>
-
- PR c++/18100
- * decl.c (lookup_and_check_tag): Diagnose nested class with
- the same name as enclosing class.
-
-2004-12-08 Nathan Sidwell <nathan@codesourcery.com>
-
- PR c++/18803
- * cp-tree.h (REFERENCE_REF_P): New.
- (CPTI_TYPE_INFO_TYPE): Rename to ...
- (CPTI_CONST_TYPE_INFO_TYPE): ... here.
- (CPTI_TYPE_INFO_REF_TYPE): Remove.
- (type_info_type_node): Rename to ...
- (const_type_info_type_node): ... here.
- (type_info_ref_type): Remove.
- * call.c (build_user_type_conversion): Reformat.
- (resolve_args): Do not convert_from_reference.
- (build_object_call): Call convert_from_reference.
- (prep_operand): Do not convert_from_reference.
- (build_new_method_call): Likewise.
- * class.c (build_vfield_ref): Likewise.
- * cvt.c (convert_to_reference): Likewise.
- (convert_from_reference): Build INDIRECT_REF here, not with
- build_indirect_ref.
- (convert_force): Do not convert_from_reference.
- (build_expr_type_conversion): Likewise.
- * decl.c (grok_reference_init): Likewise.
- * decl2.c (delete_sanity): Likewise.
- * except.c (initialize_handler_parm): Use POINTER_TYPE_P.
- * init.c (build_dtor_call): Do not convert_from_reference.
- * parser.c (cp_parser_template_argument): Unwrap indirected
- reference. Allow TEMPLATE_PARM_INDEX as an object parm.
- * pt.c (tsubst_copy_and_build) <case INDIRECT_REF>: Use
- convert_from_reference, if indicated.
- <case CALL_EXPR>: Do not convert_from_reference.
- <case PARM_DECL, VAR_DECL>: Convert_from_reference if needed.
- (tsubst_initializer_list): Do not convert_from_reference.
- * rtti.c (init_rtti_processing): Adjust node creation.
- (throw_bad_typeid): Use const_type_info_type_node.
- Do not convert_from_reference.
- (typeid_ok_p): Use const_type_info_type_node.
- (build_typeid, get_typeid): Always return type_info typed node.
- (build_dynamic_cast_1): Dont convert_from_reference. Refactor.
- * semantics.c (finish_stmt_expr_expr): Do not
- convert_from_reference.
- (finish_id_expression): Convert_from_reference as appropriate.
- * typeck.c (decay_conversion): Do not convert_from_reference.
- (finish_class_member_access_expr): Likewise.
- (build_indirect_ref): Use POINTER_TYPE_P.
- (convert_arguments): Do not convert_from_reference.
- (build_modify_expr): Likewise.
- (convert_for_initialization): Likewise.
- * typeck2.c (build_x_arrow): Likewise.
-
-2004-12-07 Ziemowit Laski <zlaski@apple.com>
-
- * cp-tree.h (struct lang_type_class): Rename 'objc_protocols'
- field to 'objc_info'.
-
-2004-12-07 Kazu Hirata <kazu@cs.umass.edu>
-
- * pt.c: Replace a use of first_rtl_op with TREE_CODE_LENGTH.
-
-2004-12-07 Roger Sayle <roger@eyesopen.com>
-
- * name-lookup.c (leave_scope): We only need to update
- class_binding_level when leaving a class scope.
-
-2004-12-06 Ziemowit Laski <zlaski@apple.com>
-
- * cp-tree.h (struct lang_type_class): Add 'objc_protocols' field.
-
-2004-12-04 Kriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net>
-
- PR c++/17011, c++/17971
- * pt.c (tsubst_copy) <FIELD_DECL case>: Check and diagnose
- invalid field.
- (tsubst_copy_and_build) <COMPONENT_REF case>: Check
- error_mark_node after member substitution.
- * semantics.c (finish_id_expression): Call
- finish_non_static_data_member for non-dependent FIELD_DECL.
-
-2004-12-03 Nathan Sidwell <nathan@codesourcery.com>
-
- PR c++/18782
- * decl.c (grokdeclarator): Make sure class in pointer to member is
- not a namespace.
-
-2004-12-02 Nathan Sidwell <nathan@codesourcery.com>
-
- PR c++/18318
- * parser.c (cp_parser_new_type_id): Move array size expression
- checks from here ...
- * init.c (build_new): ... to here.
-
-2004-12-02 Nathan Sidwell <nathan@codesourcery.com>
-
- PR c++/18758
- * parser.c (cp_parser_class_head): Return NULL_TREE when
- push_template_decl fails. Update comment.
-
-2004-12-02 Kriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net>
-
- PR c++/15664, c++/18276
- * pt.c (tsubst_decl) <TEMPLATE_DECL case>: Reorganize. Correctly
- tsubst TEMPLATE_DECL that is a TEMPLATE_TEMPLATE_PARM.
-
-2004-12-02 Kriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net>
-
- PR c++/18123
- * parser.c (cp_parser_type_specifier): Catch template declaration
- of enum.
-
-2004-12-01 Matt Austern <austern@apple.com>
-
- * name-lookup.c (namespace_binding): Omit alias check for global
- namespace.
-
-2004-12-01 Nathan Sidwell <nathan@codesourcery.com>
-
- PR c++/18729
- * parser.c (cp_parser_class_name): Check decl's type is not
- error_mark_node.
-
- PR c++/17431
- * call.c (standard_conversion): Add FLAGS parameter. Do not allow
- derived to base conversion when checking constructor
- accessibility.
- (implicit_conversion): Pass FLAGS to standard_conversion.
- (check_constructir_callable): Disallow conversion functions.
-
-2004-11-30 Kazu Hirata <kazu@cs.umass.edu>
-
- * parser.c: Fix comment typos.
-
-2004-11-27 Mark Mitchell <mark@codesourcery.com>
-
- PR c++/18368
- * parser.c (cp_parser_check_for_definition_in_return_type): Take
- the defined type as a parameter, and inform the user about the
- possibility of a missing semicolon.
- (cp_parser_explicit_instantiation): Adjust call to
- cp_parser_check_for_definition_in_return_type.
- (cp_parser_init_declarator): Likewise.
- (cp_parser_member_declaration): Likewise.
-
- PR c++/18674
- * cp-tree.def (TYPENAME_TYPE): Remove discussion of implicit
- typename from comments.
- * cp-tree.h (TYPENAME_IS_ENUM_P): New macro.
- (TYPENAME_IS_CLASS_P): Likewise.
- (make_typename_type): Change prototype.
- * decl.c (struct_typename_info): New type.
- (typename_compare): Expect the second argument to be a
- typename_info, not a tree.
- (build_typename_type): Add tag_type parameter. Do not create a
- new type until necessary.
- (make_typename_type): Add tag_type parameter.
- * error.c (TYPENAME_TYPE): Print tags other than "typename" if
- appropriate.
- * friend.c (make_friend_class): Adjust call to make_typename_type.
- * parser.c (cp_parser_make_typename_type): Likewise.
- (cp_parser_primary_expression): Adjust call to
- cp_parser_lookup_name.
- (cp_parser_unqualified_id): Adjust calls to cp_parser_class_name.
- (cp_parser_class_or_namespace_name): Likewise.
- (cp_parser_postfix_expression): Adjust calls to
- make_typename_type.
- (cp_parser_mem_initializer_id): Adjust calls to
- cp_parser_class_name.
- (cp_parser_type_parameter): Adjust calls to cp_parser_lookup_name.
- (cp_parser_template_name): Likewise.
- (cp_parser_template_argument): Likewise.
- (cp_parser_type_name): Adjust call to cp_parser_class_name.
- (cp_parser_elaborated_type_specifier): Adjust calls to
- make_typename_type and cp_parser_lookup_name.
- (cp_parser_namespace_name): Likewise.
- (cp_parser_class_name): Replace type_p parameter with tag_type.
- Adjust calls to make_typename_type and cp_parser_lookup_name.
- (cp_parser_class_head): Adjust calls to cp_parser_class_name.
- (cp_parser_base_specifier): Likewise.
- (cp_parser_lookup_name): Replace is_type parameter with tag_type.
- Adjust calls to make_typename_type and lookup_qualified_name.
- (cp_parser_lookup_name_simple): Adjust call to
- cp_parser_lookup_name.
- (cp_parser_constructor_declarator_p): Adjust call to
- cp_parser_class_name.
- * pt.c (convert_template_argument): Adjust all to
- make_typename_type.
- (tsubst_decl): Do not pre-substitute the type of the declaration.
- (tsubst): Hand off declarations more quickly. Adjust call to
- make_typename_type.
-
- PR c++/18512
- * parser.c (cp_parser_postfix_dot_deref_expression): Robustify.
-
-2004-11-29 Daniel Jacobowitz <dan@codesourcery.com>
-
- PR c/7544
- * Make-lang.in (cp/decl2.o): Update dependencies.
- * decl2.c (finish_file): Call maybe_apply_pending_pragma_weaks.
-
-2004-11-29 Kriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net>
-
- PR c++/18652
- * name-lookup.c (pushtag): Change return type to tree.
- * cp-tree.h (pushtag): Adjust declaration.
- * decl.c (xref_tag, start_enum): Use return value of pushtag.
- * pt.c (push_template_decl_real): Return immediately if
- pushdecl_namespace_level returns error_mark_node.
-
-2004-11-27 Kazu Hirata <kazu@cs.umass.edu>
-
- * pt.c: Fix a comment typo.
-
-2004-11-27 Kriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net>
-
- Friend class name lookup 4/n
- * class.c (pushclass): Don't call cxx_remember_type_decls.
- * cp-tree.h (clear_anon_tags): Remove declaration.
- * decl.c (grokdeclarator): Don't call lookup_tag_reverse.
- * name-lookup.c (binding_entry_free, binding_table_free): Comment
- out functions.
- (binding_table_find_anon_type, binding_table_reverse_maybe_remap,
- binding_table_remove_anonymous_types, cxx_remember_type_decls,
- bt_print_entry, clear_anon_tags, follow_tag_typedef, lookup_tag,
- lookup_tag_reverse): Remove
- (begin_scope, leave_scope, kept_level_p, print_binding_level):
- Don't use type_decls field in cp_binding_level.
- (maybe_process_template_type_declaration, pushtag): Set
- CLASSTYPE_NESTED_UTDS directly.
- * name-lookup.h (binding_table_remove_anonymous_types,
- cxx_remember_type_decls, lookup_tag, lookup_tag_reverse): Remove
- declaration.
- (cp_binding_level): Remove type_decls field.
-
-2004-11-26 Kazu Hirata <kazu@cs.umass.edu>
-
- * typeck.c: Fix a comment typo.
-
-2004-11-25 Mark Mitchell <mark@codesourcery.com>
-
- PR c++/18445
- * class.c (instantiate_type): Treat NON_DEPENDENT_EXPRs with
- unknown_type as non matching. Tidy up.
- * pt.c (build_non_dependent_expr): Do not build a
- NON_DEPENDENT_EXPR for a VAR_DECL.
-
- PR c++/18001
- * cp-tree.h (lvalue_or_else): Remove declaration.
- * tree.c (lvalue_or_else): Remove.
- * typeck.c (build_unary_op): Adjust call to lvalue_or_else.
- (build_modify_expr): Likewise.
-
- PR c++/18625
- * decl.c (duplicate_decls): Return error_mark_node on error, as
- specified.
-
- PR c++/18466
- * decl.c (grokvardecl): Keep track of whether or not a there was
- explicit qualification.
- * name-lookup.c (set_decl_namespace): Complain about explicit
- qualification of a name within its own namespace.
-
- PR c++/18545
- * typeck.c (check_return_expr): Robustify.
-
-2004-11-25 Kriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net>
-
- Friend class name lookup 3/n, PR c++/3332
- * name-lookup.c (push_inner_scope, pop_inner_scope): New functions.
- (lookup_type_scope): Don't deal with name from user declaration
- specially.
- * name-lookup.h (push_inner_scope, pop_inner_scope): Add declarations.
- * parser.c (cp_parser_class_specifier): Use push_inner_scope and
- pop_inner_scope.
-
-2004-11-25 Kriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net>
-
- Friend class name lookup 2/n, PR c++/14513, c++/15410
- * name-lookup.c (lookup_name_real): Simplify.
- (lookup_type_scope): Add SCOPE parameter. Handle friend class
- lookup.
- * name-lookup.h (tag_scope): New enum type.
- (lookup_type_scope): Adjust declaration.
- * decl.c (lookup_and_check_tag, xref_tag, xref_tag_from_type):
- Change bool parameter GLOBALIZED to TAG_SCOPE parameter SCOPE.
- (start_enum): Likewise. Add assertion test that NAME is
- IDENTIFIER_NODE. Use anonymous name for dummy ENUMERAL_TYPE in
- case of error.
- * cp-tree.h (xref_tag, xref_tag_from_type): Adjust declarations.
- * parser.c (cp_parser_elaborated_type_specifier,
- cp_parser_class_head): Adjust call to xref_tag.
- * pt.c (lookup_template_class, instantiate_class_template):
- Likewise.
- * rtti.c (init_rtti_processing, build_dynamic_cast_1,
- tinfo_base_init, emit_support_tinfos): Likewise.
-
-2004-11-25 Joseph S. Myers <joseph@codesourcery.com>
-
- * g++spec.c, lex.c: Avoid ` as left quote in diagnostics.
-
-2004-11-24 Mark Mitchell <mark@codesourcery.com>
-
- PR c++/17473
- * name-lookup.c (supplement_binding): Do not allow typedefs to be
- redefined in class scope.
-
- PR c++/18285
- * parser.c (cp_parser_set_decl_type_spec): Do not try to allow
- redefinitions of builtin types other that "bool" or "wchar_t".
-
-2004-11-24 Steven Bosscher <stevenb@suse.de>
-
- * decl.c (cxx_init_decl_processing): Don't clear
- flag_inline_functions.
-
-2004-11-24 Mark Mitchell <mark@codesourcery.com>
-
- * pt.c (tsubst_function_type): Do not permit function types which
- return arrays or functions.
-
- PR c++/18586
- * parser.c (cp_parser_init_declarator): Do not pop scope twice.
-
- PR c++/18530
- * cp-tree.h (CTOR_NAME): Remove.
- (DTOR_NAME): Remove.
- * decl.c (initialize_predefined_identifiers): Add spaces to the
- end of constructor and destructor names.
-
-2004-11-24 Giovanni Bajo <giovannibajo@gcc.gnu.org>
-
- PR c++/8929
- * decl.c (start_decl): Check for invalid specialization headers.
-
-2004-11-24 Paolo Bonzini <bonzini@gnu.org>
-
- PR c++/16882
-
- * call.c (standard_conversion): Move check for conversions between
- vector pointers...
- * typeck.c (ptr_reasonably_similar): ... here.
-
-2004-11-23 Ben Elliston <bje@au.ibm.com>
-
- * cp-tree.h (context_as_string): Remove extern.
- * error.c (context_as_string): Remove.
-
- * cp-tree.h (cp_type_qual_from_rid): Remove extern.
- * lex.c (cp_type_qual_from_rid): Remove.
-
- * cp-tree.h (do_poplevel): Remove extern.
- (check_multiple_declarators): Likewise.
- * semantics.c (do_poplevel): Make static.
- (check_multiple_declarators): Remove.
-
- * cp-tree.h (check_final_overrider): Remove extern.
- * search.c (check_final_overrider): Make static.
-
- * cp-tree.h (build_artificial_parm): Remove extern.
- * decl2.c (build_artificial_parm): Make static.
-
-2004-11-22 Giovanni Bajo <giovannibajo@gcc.gnu.org>
-
- PR c++/18354
- * typeck.c (build_unary_op) <CONVERT_EXPR, NEGATE_EXPR>: Unify code.
- Make sure the result is always a rvalue.
-
-2004-11-16 Giovanni Bajo <giovannibajo@gcc.gnu.org>
-
- * decl.c (start_preparsed_function): Call check_function_type even
- in templates.
- (require_complete_types_for_parms): Skip dependent types.
- (check_function_type): Likewise.
-
-2004-11-16 Steven Bosscher <stevenb@suse.de>
-
- * Make-lang.in (cp/decl.o, cp/search.o): Don't depend on stack.h.
- * search.c: Don't include it.
-
-2004-11-15 Andrew Pinski <pinskia@physics.uc.edu>
-
- * cp-gimplify.c: Include pointer-set.h
- (cp_genericize_r): Use pointer_sets instead of a hashtable.
- Also instert the new statement for CLEANUP_STMT.
- (cp_genericize): Use pointer_sets instead of a hashtable.
- * Make-lang.in (cp-gimplify.o): Depend on pointer-set.h.
-
-2004-11-15 Kriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net>
-
- Friend class name lookup 1/n, PR c++/18471
- * decl.c (lookup_and_check_tag): New function.
- (xref_tag, start_enum): Use it.
- (check_elaborated_type_specifier): Move TEMPLATE_TYPE_PARM check
- before !DECL_IMPLICIT_TYPEDEF_P. Also display previously declared
- location.
- * name-lookup.c (lookup_name_current_level): Rename to ...
- (lookup_name_innermost_nonclass_level): ... this.
- (lookup_type_scope): New function.
- * name-lookup.h (lookup_name_current_level): Rename to ...
- (lookup_name_innermost_nonclass_level): ... this.
- (lookup_type_scope): Add declaration.
-
-2004-11-14 Kriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net>
-
- PR c++/17344
- * pt.c (coerce_template_parms): Only emit error message about
- invalid template argument when TF_ERROR.
-
-2004-11-12 Mark Mitchell <mark@codesourcery.com>
-
- PR c++/18389
- * decl.c (start_decl): Make sure to set *pop_scope_p. Return
- error_mark_node to indicate errors.
-
- PR c++/18429
- * parser.c (cp_parser_direct_declarator): Disallow non-constant
- array bounds when not inside a function.
-
- PR c++/18436
- * pt.c (tsubst_copy_and_build): Do not do Koenig lookup when an
- unqualified name resolves to a member function.
-
- PR c++/18407
- * pt.c (tsubst_copy_and_build): Handle qualified names used from a
- derived class correctly.
-
- * decl2.c (import_export_decl): Fix typo in comment.
- * tree.c (pod_type_p): Likewise.
-
-2004-11-10 Andrew Pinski <pinskia@physics.uc.edu>
-
- * typeck.c (cxx_mark_addressable): Add braces around the first if.
-
-2004-11-10 Adam Nemet <anemet@lnxw.com>
-
- PR middle-end/18160
- * typeck.c (cxx_mark_addressable): Issue an error if address of an
- explicit register variable is requested.
-
-2004-11-10 Nathan Sidwell <nathan@codesourcery.com>
-
- PR c++/18143
- * cp-tree.h (NON_THUNK_FUNCTION_CHECK, THUNK_FUNCTION_CHECK): New.
- (struct lang_decl_flags): Add thunk_p flag.
- (struct lang_decl): Remove separate fixed_offset. Place
- cloned_function and fixed_offset into union.
- (DECL_CLONED_FUNCTION_P, DECL_CLONED_FUNCTION): Adjust.
- (DECL_THUNK_P, SET_DECL_THUNK_P): Adjust.
- (THUNK_FIXED_OFFSET): Adjust.
- * method.c (make_thunk): Adjust.
-
-2004-11-09 Mark Mitchell <mark@codesourcery.com>
-
- PR c++/18369
- * init.c (build_new_1): Handle parenthesized type-ids that name an
- array type. Tidy.
-
-2004-11-09 Joseph S. Myers <joseph@codesourcery.com>
-
- * call.c, class.c, decl.c, decl2.c, error.c, mangle.c, parser.c,
- pt.c, search.c, semantics.c, typeck.c: Use %q, %< and %> for
- quoting in diagnostics.
- * parser.c (cp_parser_sizeof_operand): Use '' instead of `' for
- quoting in printf format.
- * decl.c (duplicate_decls, start_decl): Use %qD instead of
- unquoted %D.
-
-2004-11-08 Kazu Hirata <kazu@cs.umass.edu>
-
- * class.c, decl.c, lex.c, name-lookup.c, parser.c, pt.c,
- search.c, typeck2.c: Fix comment formatting.
-
-2004-11-04 Ulrich Weigand <uweigand@de.ibm.com>
-
- PR tree-optimization/18184
- * cp-objcp-common.c (cxx_types_compatible_p): Do not treat pointers
- of different modes or alias-all flags as equivalent.
- * typeck.c (comptypes): Likewise.
-
-2004-11-04 Giovanni Bajo <giovannibajo@gcc.gnu.org>
-
- DR 49, 100
- * cp-tree.h (TYPE_REF_OBJ_P): New macro.
- (TYPE_PTR_P, TYPE_PTROB_P, TYPE_PTROBV_P, TYPE_PTRFN_P,
- TYPE_REFFN_P): Document.
- (fold_decl_constant_value): New prototype.
- * pt.c (convert_nontype_argument_function): Rewrite and extract
- parts into...
- (fold_decl_constant_value, convert_nontype_argument_function): New.
- (lookup_template_class): Add comment about useless double call.
- * mangle.c (write_expression): Strip conversions before lowering
- pointer to members.
- * cvt.c (ocp_convert): Check LOOKUP_COMPLAIN for a pedwarn. Disallow
- enum to enum conversion.
-
-2004-11-02 Mark Mitchell <mark@codesourcery.com>
-
- PR c++/18124
- * parser.c (cp_parser_type_parameter): Robustify.
-
- PR c++/18155
- * parser.c (cp_parser_single_declaration): Disallow template
- typedefs.
-
- PR c++/18177
- * typeck.c (build_const_cast): Use error_operand_p.
-
-2004-11-02 Ziemowit Laski <zlaski@apple.com>
-
- * cp-lang.c (cxx_types_compatible_p): Remove prototype and definition.
- (LANG_HOOKS_TYPES_COMPATIBLE_P): Move to cp-objcp-common.h.
- * cp-objcp-common.c (cxx_types_compatible_p): Moved definition here
- from cp-lang.c.
- * cp-objcp-common.h (cxx_types_compatible_p): Moved prototype here
- from cp-lang.c.
- (LANG_HOOKS_TYPES_COMPATIBLE_P): Moved here from cp-lang.c.
-
-2004-11-01 Nathan Sidwell <nathan@codesourcery.com>
-
- PR c++/18064
- * search.c (check_final_overrider): Deprecate gnu covariant extension.
**** TRUNCATED ****
-------------- next part --------------
--
Geoffrey Keating <geoffk@apple.com>
(via an automated GCC regression-testing script.)
More information about the Gcc-regression
mailing list