platform/upstream/gcc.git
22 years agoavr.c (avr_mcu_types): Add new MCU types.
Marek Michalkiewicz [Mon, 7 Jan 2002 15:04:35 +0000 (16:04 +0100)]
avr.c (avr_mcu_types): Add new MCU types.

* config/avr/avr.c (avr_mcu_types): Add new MCU types.
* config/avr/avr.h (CPP_SPEC): Likewise.
(LINK_SPEC): Likewise.
(CRT_BINUTILS_SPECS): Likewise.
* config/avr/t-avr (MULTILIB_MATCHES): Likewise.
* doc/invoke.texi (AVR Options): Document them.

From-SVN: r48604

22 years agounroll.c (copy_loop_body): Always properly update JUMP_LABEL and LABEL_NUSES.
Jan Hubicka [Mon, 7 Jan 2002 11:00:39 +0000 (12:00 +0100)]
unroll.c (copy_loop_body): Always properly update JUMP_LABEL and LABEL_NUSES.

* unroll.c (copy_loop_body): Always properly update JUMP_LABEL and
LABEL_NUSES.

From-SVN: r48600

22 years agoerrors.c: Update copyright date.
Graham Stott [Mon, 7 Jan 2002 09:11:11 +0000 (09:11 +0000)]
errors.c: Update copyright date.

        * errors.c: Update copyright date.
        (print_scope_operator): Add parenthesis.
        (print_left_paren): Likewise.
        (print_right_paren): Likewise.
        (print_left_bracket): Likewise.
        (print_right_bracket): Likewise.
        (print_template_argument_list_start): Likewise.
        (print_template_argument_list_end): Likewise.
        (print_non_consecutive_character): Likewise.
        (print_tree_identifier): Likewise.
        (print_identifier): Likewise.
        (NEXT_CODE): Uppercase macro parameter.
        (ident_fndecl): Delete unused.
        (GLOBAL_THING): Likewise.

From-SVN: r48599

22 years agoi386.h: Update copyright date.
Graham Stott [Mon, 7 Jan 2002 09:06:00 +0000 (09:06 +0000)]
i386.h: Update copyright date.

        * config/i386/i386.h: Update copyright date.
        (HALF_PIC_PTR): Add parenthesis.
        (OPTIMIZATION_OPTIONS): Whitespace, add parenthesis and wrap.
        (CONSTANT_ALIGNMENT): Add parenthesis.
        (DATA_ALIGNMENT): Likewise.
        (LOCAL_ALIGNMENT): Likewise.
        (FUNCTION_ARG_BOUNDARY): Whitespace, add parenthesis and wrap.
        (IS_STACK_MODE): Uppercase macro parameter, add parenthesis and wrap.
        (CONDITIONAL_REGISTER_USAGE): Wrap in do {...} while (0).
        (HARD_REGNO_NREGS): Add paranethesis.
        (VALID_SSE_REG_MODE): Whitespace.
        (VALID_MMX_REG_MODE): Whitespace.
        (VALID_FP_MODE_P): Uppercase macros parameter and whitespace.
        (ix86_hard_regno_mode_ok): Add parenthesis.
        (HARD_REGNO_CALLER_SAVE_MODE): Whitespace.
        (RETURN_IN_MEMORY): Whitespace.
        (N_REG_CLASSES): Add parenthesis.
        (INTEGER_CLASS_P): Add parenthesis and wrap.
        (FLOAT_CLASS_P): Likewise.
        (SSE_CLASS_P): Likewise.
        (MMX_CLASS_P): Likewise.
        (MAYBE_INTEGER_CLASS_P): Likewise.
        (MAYBE_FLOAT_CLASS_P): Likewise.
        (MAYBE_SSE_CLASS_P): Likewise.
        (MAYBE_MMX_CLASS_P): Likewise.
        (Q_CLASS_P): Likewise.
        (REGNO_REG_CLASS): Add parenthesis.
        (GENERAL_REGNO_P): Uppercase macro parameter.
        (REX_INT_REGNO_P): Uppercase macro parameter and wrap.
        (FP_REGNO_P): Likewise.
        (ANY_FP_REGNO_P): Uppercase macro parameter.
        (SSE_REGNO_P): Likewise.
        (SSE_REGNO): Likewise.
        (SSE_REG_P): Likewise.
        (SSE_FLOAT_MODE_P): Likewise.
        (MMX_REGNO_P): Likewise.
        (MMX_REG_P):Likewise.
        (STACK_REG_P): Likewise.
        (NON_STACK_REG_P): Likewise.
        (STACK_TOP_P): Likewise.
        (CONVERT_HARD_REGISTER_TO_SSA_P): Add parenthesis.
        (PREFERRED_RELOAD_CLASS): Add parenthesis and whitespace.
        (SECONDARY_MEMORY_NEEDED): Likewise.
        (SECONDARY_OUTPUT_RELOAD_CLASS): Whitespace.
        (MD_ASM_CLOBBERS): Whitespace and wrap.
        (MUST_PASS_IN_STACK): Whitespace and wrap.
        (RETURN_POPS_ARGS): Add parenthesis.
        (INIT_CUMULATIVE_ARGS): Likewise.
        (FUNCTION_ARG): Likewise.
        (FUNCTION_OK_FOR_SIBCALL): Add parenthesis and whitespace.
        (SETUP_INCOMING_VARARGS): Likewise.
        (BUILD_VA_LIST_TYPE):  Add parenthesis.
        (EXPAND_BUILTIN_VA_START): Uppercase macro paremeters and add
        parenthsis.
        (EXPAND_BUILTIN_VA_ARG): Likewise.
        (FUNCTION_PROFILER): Wrap in do { ... } while (0) and add parenthesis.
        (INITIALIZE_TRAMPOLINE): Add parenthesis.
        (INITIAL_ELIMINATION_OFFSET): Likewise.
        (REGNO_OK_FOR_INDEX_P): Add parenthesis.
        (REGNO_OK_FOR_BASE_P): Likewise.
        (REGNO_OK_FOR_SIREG_P): Add parenthesis and wrap.
        (REGNO_OK_FOR_DIREG_P): Likewise.
        (REG_OK_FOR_INDEX_P): Whitespace.
        (REG_OK_FOR_BASE_P): Whitespace.
        (GO_IF_LEGITIMATE_ADDRESS): Wrap in do { ... } while (0) and add
        parenthesis.
        (FIND_BASE_TERM): Fix typo.
        (LEGITIMIZE_ADDRESS): Wrap in  { .. } while (0) and add parenthesis.
        (REWRITE_ADDRESS): Uppercase macro parameter and whitespace.
        (SYMBOLIC_CONST; Whitespace.
        (GO_IF_MODE_DEPENDENT_ADDRESS):Wrap in  { .. } while (0) and wrap.
        (ENCODE_SECTION_INFO): Whitespace.
        (FINALIZE_PIC): Remove do { ... } while (0).
        (PROMOTE_MODE): Wrap in do { ... } while (0).
        (CONST_COSTS): Whitespace.
        (RTX_COSTS): Add paramethesis, whitespace and wrap.
        (REGISTER_MOVE_COST): Add parenthesis.
        (MEMORY_MOVE_COST): Likewise.
        (EXTRA_CC_MODES): Whitespace.
        (SELECT_CC_MODE): Add parenthesis and whitespace.
        (DBX_REGISTER_NUMBER): Uppercase macro parameter and add parenthsis.
        (ASM_PREFERRED_EH_DATA_FORMAT): Add parenthesis and whitespace.
        (ASM_OUTPUT_LABEL): Add paranethesis.
        (ASM_OUTPUT_REG_PUSH): Add parenthesis and whitespace.
        (ASM_OUTPUT_REG_POP): Likewise.
        (ASM_OUTPUT_ADDR_VEC_ELT): Add parenthesis.
        (ASM_OUTPUT_ADDR_DIFF_ELT): Likewise.

From-SVN: r48598

22 years agoi386.c: Update copyright.
Graham Stott [Mon, 7 Jan 2002 08:52:56 +0000 (08:52 +0000)]
i386.c: Update copyright.

        * config/i386/i386.c: Update copyright.
        (CHECK_STACK_LIMIT): Add parenthesis.
        (AT_BP): Uppercase macro parameter.
        (x86_64_int_parameter_registers): Constify.
        (x86_64_int_return_registers): Likewise.
        (ix86_compare_op0): Use rtx.
        (construct_container): Constify INTREG parameter.
        (function_arg): Use rtx.

From-SVN: r48597

22 years agodiagnostic.h: Update copyright date.
Graham Stott [Mon, 7 Jan 2002 08:50:07 +0000 (08:50 +0000)]
diagnostic.h: Update copyright date.

* diagnostic.h: Update copyright date.
(output_buffer_state): Add perenthesis.
(output_buffer_format_args): Likewise.

From-SVN: r48596

22 years agocombine.c (combine_instructions): Replace XEXP (links, 0) with link.
Graham Stott [Mon, 7 Jan 2002 08:46:27 +0000 (08:46 +0000)]
combine.c (combine_instructions): Replace XEXP (links, 0) with link.

        * combine.c (combine_instructions): Replace XEXP (links, 0)
        with link.

From-SVN: r48595

22 years agoDaily bump.
GCC Administrator [Mon, 7 Jan 2002 08:16:13 +0000 (08:16 +0000)]
Daily bump.

From-SVN: r48593

22 years agocfgcleanup.c (thread_jump): Fix 2 typos.
H.J. Lu [Mon, 7 Jan 2002 02:14:30 +0000 (18:14 -0800)]
cfgcleanup.c (thread_jump): Fix 2 typos.

2002-01-06  H.J. Lu <hjl@gnu.org>

* cfgcleanup.c (thread_jump): Fix 2 typos.

From-SVN: r48592

22 years agoconfig.gcc: Add support for --enable-altivec.
Aldy Hernandez [Mon, 7 Jan 2002 01:30:10 +0000 (01:30 +0000)]
config.gcc: Add support for --enable-altivec.

2002-02-06  Aldy Hernandez  <aldyh@redhat.com>

        * config.gcc: Add support for --enable-altivec.

From-SVN: r48591

22 years agotestsuite_flags.in: Add -fmessage-length=0 to CXXFLAGS testsuite/lib/prune.exp...
David Billinghurst [Mon, 7 Jan 2002 00:07:27 +0000 (00:07 +0000)]
testsuite_flags.in: Add -fmessage-length=0 to CXXFLAGS testsuite/lib/prune.exp...

2002-01-07  David Billinghurst <David.Billinghurst@riotinto.com>

* testsuite_flags.in:  Add -fmessage-length=0 to CXXFLAGS
testsuite/lib/prune.exp: Delete lines ":In function ..."
from compiler output
testsuite/23_containers/map_operators.cc: Remove
dg-excess-errors comment
testsuite/23_containers/set_operators.cc: Likewise

From-SVN: r48590

22 years agoupdate_web_docs (contrib_file): Remove.
Gerald Pfeifer [Sun, 6 Jan 2002 22:44:51 +0000 (23:44 +0100)]
update_web_docs (contrib_file): Remove.

* update_web_docs (contrib_file): Remove.
Also removing special handling of thanks.html.

From-SVN: r48589

22 years agoconfigure, [...]: Rebuilt.
Andreas Tobler [Sun, 6 Jan 2002 21:38:15 +0000 (22:38 +0100)]
configure, [...]: Rebuilt.

2002-01-06 Andreas Tobler <a.tobler@schweiz.ch>

* configure, include/config.h.in: Rebuilt.
* java/lang/natSystem.cc (getSystemTimeZone): Check HAVE_TM_ZONE.
* configure.in: Call AC_STRUCT_TIMEZONE.

From-SVN: r48588

22 years agoSuggest `-flame -War'
Alexandre Oliva [Sun, 6 Jan 2002 21:15:14 +0000 (21:15 +0000)]
Suggest `-flame -War'

From-SVN: r48587

22 years agoemit-rtl.c (gen_highpart): Add check for NULL_RTX.
Craig Rodrigues [Sun, 6 Jan 2002 20:54:52 +0000 (20:54 +0000)]
emit-rtl.c (gen_highpart): Add check for NULL_RTX.

2002-01-06  Craig Rodrigues  <rodrigc@gcc.gnu.org>

        * emit-rtl.c (gen_highpart): Add check for NULL_RTX.

From-SVN: r48586

22 years agore PR c/5279 (Internal compiler error in gen_highpart, at emit-rtl.c:1184)
Craig Rodrigues [Sun, 6 Jan 2002 20:44:59 +0000 (20:44 +0000)]
re PR c/5279 (Internal compiler error in gen_highpart, at emit-rtl.c:1184)

2002-01-06  Craig Rodrigues  <rodrigc@gcc.gnu.org>

        PR c/5279
        * gcc.c-torture/compile/20020106-1.c: New test.

From-SVN: r48585

22 years agoobjc-act.c (handle_impent): Use assemble_variable to emit __objc_class_name_*.
Jakub Jelinek [Sun, 6 Jan 2002 20:21:03 +0000 (21:21 +0100)]
objc-act.c (handle_impent): Use assemble_variable to emit __objc_class_name_*.

* objc/objc-act.c (handle_impent): Use assemble_variable to emit
__objc_class_name_*.

From-SVN: r48584

22 years agoinstall.texi (sparcv9-*-solaris2*): Add documentation.
Craig Rodrigues [Sun, 6 Jan 2002 15:14:30 +0000 (15:14 +0000)]
install.texi (sparcv9-*-solaris2*): Add documentation.

2002-01-06  Craig Rodrigues  <rodrigc@gcc.gnu.org>

        * doc/install.texi (sparcv9-*-solaris2*): Add documentation.

From-SVN: r48581

22 years agoreorg.c (emit_delay_sequence): Remove death notes, not merely nop them out.
Richard Henderson [Sun, 6 Jan 2002 10:25:07 +0000 (02:25 -0800)]
reorg.c (emit_delay_sequence): Remove death notes, not merely nop them out.

        * reorg.c (emit_delay_sequence): Remove death notes, not merely
        nop them out.  Increment label reference count for REG_LABEL.
        (fill_slots_from_thread): Frob label reference count around
        delete_related_insns.

From-SVN: r48580

22 years agostl_function.h: Remove two lines of comments; adjust copyright years.
Paolo Carlini [Sun, 6 Jan 2002 09:14:15 +0000 (10:14 +0100)]
stl_function.h: Remove two lines of comments; adjust copyright years.

2002-01-06  Paolo Carlini  <pcarlini@unitus.it>

* include/bits/stl_function.h:  Remove two lines of comments;
adjust copyright years.

From-SVN: r48579

22 years agoFix date in last entry.
Graham Stott [Sun, 6 Jan 2002 08:40:36 +0000 (08:40 +0000)]
Fix date in last entry.

From-SVN: r48578

22 years agoclass.c (compile_resource_file): Update copyright date.
Graham Stott [Sun, 6 Jan 2002 08:38:55 +0000 (08:38 +0000)]
class.c (compile_resource_file): Update copyright date.

* class.c (compile_resource_file): Update copyright date.
Constify filename parameter.
(java-tree.h): Update copyright date.
(compile_resource_file): Constify filename parameter.

From-SVN: r48577

22 years agoDaily bump.
GCC Administrator [Sun, 6 Jan 2002 08:16:15 +0000 (08:16 +0000)]
Daily bump.

From-SVN: r48575

22 years agocfgcleanup.c (try_forward_edges): Detect infinite loops while jump threading.
Richard Henderson [Sun, 6 Jan 2002 07:38:28 +0000 (23:38 -0800)]
cfgcleanup.c (try_forward_edges): Detect infinite loops while jump threading.

        * cfgcleanup.c (try_forward_edges): Detect infinite loops while
        jump threading.

From-SVN: r48574

22 years agocp-tree.h (VAR_OR_FUNCTION_DECL_CHECK): Add parenthesis.
Graham Stott [Sun, 6 Jan 2002 05:24:03 +0000 (05:24 +0000)]
cp-tree.h (VAR_OR_FUNCTION_DECL_CHECK): Add parenthesis.

        * cp-tree.h (VAR_OR_FUNCTION_DECL_CHECK): Add parenthesis.
        (VAR_FUNCTION_OR_PARM_DECL_CHECK): Likewise.
        (VAR_TEMPL_TYPE_OR_FUNCTION_DECL_CHECK) Likewise.
        (RECORD_OR_UNION_TYPE_CHECK): Likewise.
        (BOUND_TEMPLATE_TEMPLATE_PARM_TYPE_CHECK): Likewise.
        (C_IS_RESERVED_WORD): Uppercase macro parameter.
        (C_RID_YYCODE) Likewise.
        (ptrmem_cst): Use rtx.
        (LOCAL_BINDING_P): Add whitespace.
        (INHERITED_VALUE_BINDING_P): Likewise.
        (BINDING_SCOPE): Wrap long line.
        (BINDING_HAS_LEVEL_P): Remove parenthesis.
        (BINDING_VALUE): Wrap long line.
        (BINDING_TYPE): Whitespace.
        (IDENTIFIER_GLOBAL_VALUE): Add parenthesis.
        (SET_IDENTIFIER_GLOBAL_VALUE): Likewise.
        (IDENTIFIER_NAMESPACE_VALUE): Likewise.
        (SET_IDENTIFIER_NAMESPACE_VALUE: Likewise.
        (same_type_p): Uppercase macro parameters.
        (same_type_ignoring_top_level_qualifiers_p): Likewise.
        (OVL_FUNCTION): Wrap long line.
        (OVL_CHAIN): Whitespace.
        (OVL_CURRENT): Add paranthesis and whitespace.
        (OVL_NEXT): Whitespace.
        (OVL_USED): Likewise.
        (IDENTIFIER_TYPE_VALUE): Likewise.
        (REAL_IDENTIFIER_TYPE_VALUE): Remove parenthesis.
        (SET_IDENTIFIER_TYPE_VALUE): Add parenthesis and whitespace.
        (LANG_ID_FIELD): Whitespace.
        (SET_LANG_ID(NODE,VALUE,NAME): Likewise.
        (IDENTIFIER_LABEL_VALUE): Whitespace and wrap.
        (SET_IDENTIFIER_LABEL_VALUE): Whitespace.
        (IDENTIFIER_IMPLICIT_DECL): Whitespace and wrap.
        (SET_IDENTIFIER_IMPLICIT_DECL); Whitespace.
        (IDENTIFIER_ERROR_LOCUS): Whitespace and wrap.
        (SET_IDENTIFIER_ERROR_LOCUS); Whitespace.
        (IDENTIFIER_VIRTUAL_P): Likewise.
        (IDENTIFIER_OPNAME_P): Likewise.
        (IDENTIFIER_TYPENAME_P): Remove parenthesis.
        (C_TYPE_FIELDS_READONLY): Uppercase macro parameters.
        (C_SET_EXP_ORIGINAL_CODE): Likewise.
        (TYPE_ASSEMBLER_NAME_STRING): Wrap long line.
        (TYPE_ASSEMBLER_NAME_LENGTH): Likewise.
        (IS_AGGR_TYPE): Uppercase macro parameter.
        (CLASS_TYPE_P): Likewise.
        (IS_AGGR_TYPE_CODE): Uppercase macro parameter and parenthesis.
        (IS_AGGR_TYPE_2): Whitespace.
        (TAGGED_TYPE_P): Uppercase macro parameter.
        (TYPE_BUILT_IN): Whitespace.
        (TYPE_FOR_JAVA): Likewise.
        (FUNCTION_ARG_CHAIN): Remove parenthesis.
        (FUNCTION_FIRST_USER_PARMTYPE): Add parenthesis.
        (FUNCTION_FIRST_USER_PARAM): Likewise.
        (PROMOTES_TO_AGGR_TYPE): Whitespace.
        (DERIVED_FROM_P): Add parenthesis and wrap.
        (UNIQUELY_DERIVED_FROM_P): Likewise.
        (ACCESSIBLY_UNIQUELY_DERIVED_P): Likewise.
        (PUBLICLY_UNIQUELY_DERIVED_P): Likewise.
        (CLASSTYPE_USE_TEMPLATE): Whitespace.
        (CLASSTYPE_INLINE_FRIENDS): Remove parenthesis.
        (TYPE_GETS_DELETE): Add parenthesis.
        (TYPE_HAS_CONVERSION): Add parenthesis and wrap.
        (TYPE_HAS_ASSIGN_REF): Likewise,
        (TYPE_HAS_CONST_ASSIGN_REF): Likewise.
        (TYPE_HAS_INIT_REF): Likewise.
        (TYPE_HAS_CONST_INIT_REF): Likewise.
        (TYPE_BEING_DEFINED): Likewise.
        (TYPE_LANG_SPECIFIC): Likewise.
        (CLASSTYPE_RTTI): Likewise.
        (TYPE_OVERLOADS_CALL_EXPR): Likewise.
        (TYPE_OVERLOADS_ARRAY_REF): Likewise.
        (TYPE_OVERLOADS_ARROW): Likewise.
        (TYPE_USES_MULTIPLE_INHERITANCE): Likewise.
        (TYPE_USES_VIRTUAL_BASECLASSES): Add parenthesis.
        (CLASSTYPE_METHOD_VEC): Likewise.
        (CLASSTYPE_MARKED_N): Likewise.
        (CLASSTYPE_MARKED): Likewise.
        (CLASSTYPE_MARKED2): Likewise.
        (CLASSTYPE_MARKED3): Likewise.
        (CLASSTYPE_MARKED4): Likewise.
        (CLASSTYPE_MARKED5): Likewise.
        (CLASSTYPE_MARKED6): Likewise.
        (SET_CLASSTYPE_MARKED): Whitespace.
        (CLEAR_CLASSTYPE_MARKED): Likewise.
        (SET_CLASSTYPE_MARKED2): Likewise.
        (CLEAR_CLASSTYPE_MARKED2): Likewise.
        (SET_CLASSTYPE_MARKED3): Likewise.
        (CLEAR_CLASSTYPE_MARKED3): Likewise.
        (SET_CLASSTYPE_MARKED4): Likewise.
        (CLEAR_CLASSTYPE_MARKED4): Likewise.
        (SET_CLASSTYPE_MARKED5): Likewise.
        (CLEAR_CLASSTYPE_MARKED5): Likewise.
        (SET_CLASSTYPE_MARKED6): Likewise.
        (CLEAR_CLASSTYPE_MARKED6): Likewise.
        (CLASSTYPE_TAGS): Likewise.
        (CLASSTYPE_VSIZE): Likewise.
        (CLASSTYPE_VBASECLASSES): Likewise.
        (CANONICAL_BINFO): Add parenthesis.
        (CLASSTYPE_SIZE(NODE): Likewise.
        (CLASSTYPE_SIZE_UNIT): Likewise.
        (CLASSTYPE_ALIGN(NODE): Likewise.
        (CLASSTYPE_USER_ALIGN): Likewise.
        (TYPE_JAVA_INTERFACE): Likewise.
        (CLASSTYPE_PURE_VIRTUALS): Likewise.
        (CLASSTYPE_NEEDS_VIRTUAL_REINIT): Whitespace and wrap.
        (TYPE_HAS_DEFAULT_CONSTRUCTOR): Likewise.
        (CLASSTYPE_HAS_MUTABLE): Likewise.
        (CLASSTYPE_FRIEND_CLASSES): Likewise. Likewise.
        (CLASSTYPE_DECLARED_CLASS): Whitespace and wrap.
        (CLASSTYPE_READONLY_FIELDS_NEED_INIT): Likewise.
        (CLASSTYPE_REF_FIELDS_NEED_INIT): Likewise.
        (CLASSTYPE_INTERFACE_ONLY): Likewise.
        (CLASSTYPE_INTERFACE_KNOWN): Likewise.
        (CLASSTYPE_INTERFACE_UNKNOWN): Likewise.
        (SET_CLASSTYPE_INTERFACE_UNKNOWN_X): Likewise.
        (SET_CLASSTYPE_INTERFACE_UNKNOWN): Likewise.
        (SET_CLASSTYPE_INTERFACE_KNOWN): Likewise.
        (CLASSTYPE_DEBUG_REQUESTED): Whitespace and wrap.
        (BINFO_UNSHARED_MARKED): Whitespace.
        (BINFO_MARKED): Whitespace and wrap.
        (SET_BINFO_MARKED): Likewise.
        (CLEAR_BINFO_MARKED): Likewise.
        (BINFO_VTABLE_PATH_MARKED): Likewise.
        (SET_BINFO_VTABLE_PATH_MARKED): Likewise.
        (CLEAR_BINFO_VTABLE_PATH_MARKED): Likewise.
        (BINFO_SUBVTT_INDEX): Remove parenthesis.
        (BINFO_VPTR_INDEX): Likewise.
        (BINFO_PRIMARY_BASE_OF): Likewise,
        (CLASSTYPE_VFIELDS): Whitespace.
        (VF_DERIVED_VALUE): Wrap long line.
        (NAMESPACE_LEVEL): Whitespace.
        (CAN_HAVE_FULL_LANG_DECL_P): Remove parenthesis.
        (DEFARG_POINTER): Whitespace.
        (DECL_NEEDED_P): Remove parenthesis.
        (DECL_LANGUAGE): Whitespace.
        (SET_DECL_LANGUAGE): Add parenthesis.
        (DECL_CONSTRUCTOR_P): Whitespace and wrap.
        (DECL_OVERLOADED_OPERATOR_P): Remove parenthesis.
        (DECL_IN_AGGR_P): Whitespace.
        (DECL_FRIEND_P): Likewise.
        (DECL_BEFRIENDING_CLASSES): Likewise.
        (DECL_STATIC_FUNCTION_P): Whitespace and wrap.
        (DECL_NONCONVERTING_P): Whitespace.
        (DECL_PURE_VIRTUAL_P): Likewise.
        (DECL_NEEDS_FINAL_OVERRIDER_P): Likewise.
        (DECL_PENDING_INLINE_INFO): Whitespace.
        (DECL_SORTED_FIELDS): Likewise.
        (DECL_DEFERRED_FN): Likewise.
        (DECL_TEMPLATE_INFO): Likewise.
        (CLASSTYPE_TEMPLATE_INFO): Whitespace and wrap.
        (TEMPLATE_TEMPLATE_PARM_TEMPLATE_INFO); Likewise.
        (SET_TYPE_TEMPLATE_INFO): Add parenthesis.
        (TMPL_ARGS_LEVEL): Likewise.
        (SET_TMPL_ARGS_LEVEL): Likewise.
        (INNERMOST_TEMPLATE_PARMS): Whitespace.
        (C_TYPEDEF_EXPLICITLY_SIGNED): Uppercase macro parameter.
        (INTEGRAL_CODE_P(CODE): Add parenthesis.
        (CP_INTEGRAL_TYPE_P): Remove parenthesis.
        (TYPE_HAS_CONSTRUCTOR): Whitespace.
        (TREE_HAS_CONSTRUCTOR): Likewise.
        (TYPE_HAS_DESTRUCTOR): Likewise.
        (TYPE_HAS_REAL_ASSIGN_REF): Likewise.
        (TYPE_HAS_COMPLEX_ASSIGN_REF): Likewise.
        (TYPE_HAS_ABSTRACT_ASSIGN_REF): Likewise.
        (TYPE_HAS_COMPLEX_INIT_REF): Likewise.
        (TYPE_HAS_NONTRIVIAL_DESTRUCTOR): Likewise.
        (TYPE_PTRMEMFUNC_P): Likewise.
        (TYPE_PTRMEMFUNC_FLAG): Likewise.
        (TYPE_GET_PTRMEMFUNC_TYPE): Likewise.
        (TYPE_SET_PTRMEMFUNC_TYPE): Likewise.
        (TYPE_PTRMEM_CLASS_TYPE): Remove paranthesis.
        (TYPE_PTRMEM_POINTED_TO_TYPE): Likewise.
        (DECL_ACCESS): Whitespace.
        (DECL_GLOBAL_CTOR_P): Remove paranthesis.
        (DECL_GLOBAL_DTOR_P): Likewise.
        (GLOBAL_INIT_PRIORITY): Likewise.
        (DECL_TEMPLATE_PARMS): Likewise.
        (DECL_TEMPLATE_RESULT): Likewise.
        (DECL_TEMPLATE_INSTANTIATIONS): Likewise.
        (DECL_TEMPLATE_SPECIALIZATIONS): Likewise.
        (DECL_IMPLICIT_TYPEDEF_P): Remove parenthesis.
        (SET_DECL_IMPLICIT_TYPEDEF_P): Likewise.
        (PRIMARY_TEMPLATE_P): Add parenthesis.
        (DECL_USE_TEMPLATE): Whitespace.
        (CLASSTYPE_IMPLICIT_INSTANTIATION): Likewise.
        (SET_CLASSTYPE_IMPLICIT_INSTANTIATION): Likewise.
        (CLASSTYPE_EXPLICIT_INSTANTIATION): Likewise.
        (SET_CLASSTYPE_EXPLICIT_INSTANTIATION): Likewise.
        (CALL_DECLARATOR_PARMS): Remove parenthesis.
        (CALL_DECLARATOR_QUALS): Likewise.
        (CALL_DECLARATOR_EXCEPTION_SPEC): Likewise.
        (TEMP_NAME_P): Wrap.
        (VFIELD_NAME_P): Likewise.
        (B_SET): Uppercase macro parameters and add parenthesis.
        (B_CLR): Likewise.
        (B_TST): Likewise.
        (LOOKUP_NAMESPACES_ONLY): Uppercase macro parameters.
        (LOOKUP_TYPES_ONLY): Uppercase macro parameters.
        (LOOKUP_QUALIFIERS_ONLY): Uppercase macro parameters.
        (same_or_base_type_p): Likewise.
        (cp_deprecated): Likewise.

From-SVN: r48573

22 years agoc-decl.c (c_expand_body): Don't call outlining_inline_function.
Richard Henderson [Sun, 6 Jan 2002 03:51:13 +0000 (19:51 -0800)]
c-decl.c (c_expand_body): Don't call outlining_inline_function.

        * c-decl.c (c_expand_body): Don't call outlining_inline_function.
        * integrate.c (output_inline_function): Likewise.
        * toplev.c (rest_of_compilation): Do it here instead.  Move call
        to remove_unnecessary_notes after emitting abstract instance.
        Force an emitted nested function to have its parent emited as well.
        * dwarf2out.c (loc_descriptor_from_tree): Read mode after checking
        for null.
        (rtl_for_decl_location): Do not look at reload data structures
        before reload has run.

        * semantics.c (expand_body): Revert last change.

From-SVN: r48572

22 years agojni.exp: Add -I..
H.J. Lu [Sat, 5 Jan 2002 22:26:58 +0000 (22:26 +0000)]
jni.exp: Add -I..

2002-01-05  H.J. Lu <hjl@gnu.org>

* libjava.jni/jni.exp: Add -I.. for generated header.

From-SVN: r48571

22 years agocse.c: Fix formatting.
Kazu Hirata [Sat, 5 Jan 2002 22:11:21 +0000 (22:11 +0000)]
cse.c: Fix formatting.

* cse.c: Fix formatting.
* dwarf2asm.c: Likewise.
* dwarf2out.c: Likewise.
* explow.c: Likewise.
* expmed.c: Likewise.
* function.c: Likewise.
* gcov.c: Likewise.
* gencheck.c: Likewise.
* genrecog.c: Likewise.
* ggc-common.c: Likewise.
* ggc-page.c: Likewise.
* global.c: Likewise.

From-SVN: r48570

22 years ago* combine.c: Fix formatting.
Kazu Hirata [Sat, 5 Jan 2002 20:32:44 +0000 (20:32 +0000)]
* combine.c: Fix formatting.

From-SVN: r48569

22 years agore PR middle-end/1557 (Regrename macro not documented)
Craig Rodrigues [Sat, 5 Jan 2002 19:50:43 +0000 (19:50 +0000)]
re PR middle-end/1557 (Regrename macro not documented)

2002-01-05  Craig Rodrigues  <crodrigu@bbn.com>

        PR middle-end/1557
        * config/ia64/ia64.h (RENAME_EXTENDED_BLOCKS): Remove.

From-SVN: r48568

22 years agors6000.h (TARGET_POWERPC): For IN_LIBGCC2, define as 1 for __powerpc64__ as well.
David Edelsohn [Sat, 5 Jan 2002 16:52:31 +0000 (16:52 +0000)]
rs6000.h (TARGET_POWERPC): For IN_LIBGCC2, define as 1 for __powerpc64__ as well.

        * config/rs6000/rs6000.h (TARGET_POWERPC): For IN_LIBGCC2, define
        as 1 for __powerpc64__ as well.

        * config/rs6000/t-aix43 (T_ADAFLAGS): Define.

        * alias.c (find_base_value, PLUS/MINUS): If we found a base,
        return it.

From-SVN: r48567

22 years agolcm.c: Revert change...
Daniel Berlin [Sat, 5 Jan 2002 14:31:45 +0000 (14:31 +0000)]
lcm.c: Revert change...

2002-01-05  Daniel Berlin  <dan@dberlin.org>

* lcm.c: Revert change, due to performance regression it causes on
SPEC because it's slightly more conservative (sigh, I hate
edge-based LCM).

From-SVN: r48566

22 years ago* cfgcleanup.c (try_forward_edges): Allow multiple jump threading.
Jan Hubicka [Sat, 5 Jan 2002 10:52:54 +0000 (11:52 +0100)]
* cfgcleanup.c (try_forward_edges): Allow multiple jump threading.

From-SVN: r48563

22 years ago* doc/cppinternals.texi: Update.
Neil Booth [Sat, 5 Jan 2002 10:00:24 +0000 (10:00 +0000)]
* doc/cppinternals.texi: Update.

From-SVN: r48562

22 years agoDaily bump.
GCC Administrator [Sat, 5 Jan 2002 08:16:12 +0000 (08:16 +0000)]
Daily bump.

From-SVN: r48560

22 years agoRestore wild card match before "vms*"
Bruce Korb [Sat, 5 Jan 2002 04:06:51 +0000 (04:06 +0000)]
Restore wild card match before "vms*"

From-SVN: r48559

22 years agoinvoke.texi (Option Summary): Document -mbranch-predict, -mreg-stack-fill-bug-workaro...
Hans-Peter Nilsson [Sat, 5 Jan 2002 04:03:36 +0000 (04:03 +0000)]
invoke.texi (Option Summary): Document -mbranch-predict, -mreg-stack-fill-bug-workaround and their negatives.

* doc/invoke.texi (Option Summary) <MMIX Options>: Document
-mbranch-predict, -mreg-stack-fill-bug-workaround and their
negatives.
(MMIX Options): Ditto.  Fix item/itemx typo for -mno-zero-extend.
* config/mmix/mmix.c (mmix_target_asm_function_prologue): Rework
kludge for pre-october-14th mmix versions to handle new-found bug
with PUSHJ/PUSHGO and the register stack.
* config/mmix/mmix.h (struct machine_function): Rename member
has_call_value_without_parameters to has_call_without_parameters.
All referers changed.
(TARGET_MASK_REG_STACK_FILL_BUG, TARGET_DEFAULT
TARGET_MASK_BRANCH_PREDICT): New macros.
(TARGET_SWITCHES): New options -mreg-stack-fill-bug-workaround,
-mno-reg-stack-fill-bug-workaround.
* config/mmix/mmix.md ("call"): Set struct machine member
has_call_without_parameters.

From-SVN: r48558

22 years agoconfigure.host: Disable the interpreter for Darwin.
Andreas Tobler [Sat, 5 Jan 2002 04:00:32 +0000 (05:00 +0100)]
configure.host: Disable the interpreter for Darwin.

2002-01-02 Andreas Tobler <a.tobler@schweiz.ch>

* configure.host: Disable the interpreter for Darwin.

From-SVN: r48557

22 years ago* gcc.c-torture/execute/nestfunc-4.c: New test.
Hans-Peter Nilsson [Sat, 5 Jan 2002 03:56:05 +0000 (03:56 +0000)]
* gcc.c-torture/execute/nestfunc-4.c: New test.

From-SVN: r48556

22 years ago* cfgcleanup.c (thread_jump): Fix handling of reversed branches.
Jan Hubicka [Sat, 5 Jan 2002 01:21:30 +0000 (02:21 +0100)]
* cfgcleanup.c (thread_jump): Fix handling of reversed branches.

From-SVN: r48554

22 years agocfgcleanup.c: Include tm_p.h
Jan Hubicka [Sat, 5 Jan 2002 00:36:26 +0000 (01:36 +0100)]
cfgcleanup.c: Include tm_p.h

* cfgcleanup.c: Include tm_p.h
(mark_effect): Fix handling of hard register; fix handling of SET

From-SVN: r48553

22 years agoaggregates.C: Corrected last patch: removed extra triple that slipped in.
Loren J. Rittle [Fri, 4 Jan 2002 23:26:45 +0000 (23:26 +0000)]
aggregates.C: Corrected last patch: removed extra triple that slipped in.

* g++.old-deja/g++.abi/aggregates.C: Corrected last patch: removed
extra triple that slipped in.
* g++.old-deja/g++.abi/align.C: Likewise.
* g++.old-deja/g++.abi/bitfields.C: Likewise.

From-SVN: r48551

22 years agorbug.c: Force FP to extended-precision on FreeBSD/i386.
Loren J. Rittle [Fri, 4 Jan 2002 23:13:54 +0000 (23:13 +0000)]
rbug.c: Force FP to extended-precision on FreeBSD/i386.

* gcc.c-torture/execute/ieee/rbug.c: Force FP to extended-precision
on FreeBSD/i386.
* gcc.c-torture/execute/ieee/rbug.x: Remove all XFAIL markers for
FreeBSD.

From-SVN: r48548

22 years agoaggregates.C: Do not skip i?86-*-freebsd*.
Loren J. Rittle [Fri, 4 Jan 2002 22:41:50 +0000 (22:41 +0000)]
aggregates.C: Do not skip i?86-*-freebsd*.

* g++.old-deja/g++.abi/aggregates.C: Do not skip i?86-*-freebsd*.
* g++.old-deja/g++.abi/align.C: Likewise.
* g++.old-deja/g++.abi/bitfields.C: Likewise.

From-SVN: r48547

22 years agofio.h (FSEEK): Enforce type of second parameter to be off_t when...
Loren J. Rittle [Fri, 4 Jan 2002 22:24:07 +0000 (22:24 +0000)]
fio.h (FSEEK): Enforce type of second parameter to be off_t when...

* libI77/fio.h (FSEEK): Enforce type of second parameter to be
off_t when prototype is missing from system headers for the
non-standard function.

From-SVN: r48546

22 years agoh8300.md (anonymous patterns): Check that operands are registers before using REGNO...
Kazu Hirata [Fri, 4 Jan 2002 22:08:24 +0000 (22:08 +0000)]
h8300.md (anonymous patterns): Check that operands are registers before using REGNO on them.

* config/h8300/h8300.md (anonymous patterns): Check that
operands are registers before using REGNO on them.

From-SVN: r48545

22 years agoMakefile.am (std_headers): Remove cXXX from list.
Benjamin Kosnik [Fri, 4 Jan 2002 21:27:36 +0000 (21:27 +0000)]
Makefile.am (std_headers): Remove cXXX from list.

2002-01-04  Benjamin  Kosnik  <bkoz@redhat.com>

* include/Makefile.am (std_headers): Remove cXXX from list.
(c_base_srcdir): No bits subdirectory.
(c_base_builddir): Same.
(c_base_headers): Adjust names, add ciso646.
(bits_headers): Remove std_xxx.h headers.
* include/Makefile.in: Regenerate.

* include/ext/iterator: Adjust includes.
* include/ext/ropeimpl.h: Same.
* include/ext/stl_hash_fun.h: Same.
* include/ext/algorithm: Same.

* include/backward/bvector.h: Adjust includes.
* include/backward/vector.h: Same.
* include/backward/strstream: Same.
* include/backward/streambuf.h: Same.
* include/backward/stack.h: Same.
* include/backward/set.h: Same.
* include/backward/queue.h: Same.
* include/backward/multiset.h: Same.
* include/backward/multimap.h: Same.
* include/backward/map.h: Same.
* include/backward/list.h: Same.
* include/backward/iterator.h: Same.
* include/backward/iostream.h: Same.
* include/backward/iomanip.h: Same.
* include/backward/fstream.h: Same.
* include/backward/deque.h: Same.
* include/backward/complex.h: Same.

* include/bits/std_algorithm.h: Move to...
* include/std/algorithm: ...here.
* include/bits/std_iosfwd.h, std_locale.h, std_stack.h,
std_bitset.h, std_ios.h, std_map.h, std_stdexcept.h,
std_complex.h, std_iostream.h, std_memory.h, std_streambuf.h,
std_deque.h, std_istream.h, std_numeric.h, std_string.h,
std_fstream.h, std_ostream.h, std_utility.h, std_iterator.h,
std_queue.h, std_valarray.h, std_functional.h, std_limits.h,
std_set.h, std_vector.h, std_iomanip.h, std_list.h, std_sstream.h:
Same.

* include/c_std/bits/std_cassert.h: Move to...
* include/c_std/cassert: Here.
* include/c_std/std_cctype.h, std_cerrno.h, std_cfloat.h,
std_climits.h, std_clocale.h, std_cmath.h, std_csetjmp.h,
std_csignal.h, std_cstdarg.h, std_cstddef.h, std_cstdio.h,
std_cstdlib.h, std_cstring.h, std_ctime.h, std_cwchar.h,
std_cwctype.h: Same.
* include/c_std/cmath: Adjust cmath.tcc include.
* include/c_std/cstdlib: Adjust includes.
* include/c_std/cwchar: Same.
* include/c_std/ctime: Same.
* include/c_std/cstring: Same.
* include/c_std/cstdio: Same.
* include/c_std/bits: Remove directory.

* include/c/bits/std_cassert.h: Move to...
* include/c/cassert: Here.
* include/c/std_cctype.h, std_cerrno.h, std_cfloat.h,
std_climits.h, std_clocale.h, std_cmath.h, std_csetjmp.h,
std_csignal.h, std_cstdarg.h, std_cstddef.h, std_cstdio.h,
std_cstdlib.h, std_cstring.h, std_ctime.h, std_cwchar.h,
std_cwctype.h: Same.
* include/c/bits: Remove directory.

* include/std/cwctype: Remove.
* include/std/cwchar: Remove.
* include/std/ctime: Remove.
* include/std/cstring: Remove.
* include/std/cstdlib: Remove.
* include/std/cstdio: Remove.
* include/std/cstddef: Remove.
* include/std/cstdarg: Remove.
* include/std/csignal: Remove.
* include/std/csetjmp: Remove.
* include/std/cmath: Remove.
* include/std/clocale: Remove.
* include/std/climits: Remove.
* include/std/ciso646: Remove.
* include/std/cfloat: Remove.
* include/std/cerrno: Remove.
* include/std/cctype: Remove.
* include/std/cassert: Remove.

* include/bits/fpos.h: Adjust includes, removing <bits/std_xxx.h>
files and subsituting <.xxx>
* include/bits/valarray_array.h: Same.
* include/bits/stl_uninitialized.h: Same.
* include/bits/stl_alloc.h: Same.
* include/bits/stl_algobase.h: Same.
* include/bits/sstream.tcc: Same.
* include/bits/pthread_allocimpl.h: Same.
* include/bits/ostream.tcc: Same.
* include/bits/localefwd.h: Same.
* include/bits/locale_facets.tcc: Same.
* include/bits/locale_facets.h: Same.
* include/bits/istream.tcc: Same.
* include/bits/char_traits.h: Same.
* include/bits/boost_concept_check.h: Same.
* include/bits/basic_file.h: Same.
* include/std/bitset: Same.
* include/std/complex: Same.
* include/std/fstream: Same.
* include/std/functional: Same.
* include/std/ios: Same.
* include/std/iostream: Same.
* include/std/ostream: Same.
* include/std/sstream: Same.
* include/std/streambuf: Same.
* include/std/string: Same.
* include/std/iterator: Same.
* include/std/valarray: Same.

* src/ios.cc: Adjust includes.
* src/valarray-inst.cc: Same.
* src/string-inst.cc: Same.
* src/stl-inst.cc: Same.
* src/stdexcept.cc: Same.
* src/misc-inst.cc: Same.
* src/localename.cc: Same.
* src/locale-inst.cc: Same.
* src/locale.cc: Same.
* src/limits.cc: Same.
* src/concept-inst.cc: Same.
* src/complex_io.cc: Same.
* src/codecvt.cc: Same.
* src/bitset.cc: Same.
* src/cmath.cc: Same.

From-SVN: r48544

22 years ago* doc/invoke.texi (RS/6000 and PowerPC Options): Add -mcall-gnu.
Roland McGrath [Fri, 4 Jan 2002 21:19:53 +0000 (21:19 +0000)]
* doc/invoke.texi (RS/6000 and PowerPC Options): Add -mcall-gnu.

From-SVN: r48543

22 years ago* gcc.dg/20020104-2.c: New test.
Jakub Jelinek [Fri, 4 Jan 2002 21:05:50 +0000 (22:05 +0100)]
* gcc.dg/20020104-2.c: New test.

From-SVN: r48542

22 years agotree.h (expand_expr_stmt_value): Add maybe_last argument.
Jakub Jelinek [Fri, 4 Jan 2002 21:03:20 +0000 (22:03 +0100)]
tree.h (expand_expr_stmt_value): Add maybe_last argument.

* tree.h (expand_expr_stmt_value): Add maybe_last argument.
* c-common.h (genrtl_expr_stmt_value): Likewise.
* stmt.c (expand_expr_stmt): Pass 1 as maybe_last.
(expand_expr_stmt_value): Add maybe_last argument.
Don't warn about statement with no effect if it is the last statement
in expression statement.
* c-semantics.c (genrtl_expr_stmt): Pass 1 as maybe_last.
(genrtl_expr_stmt_value): Add maybe_last argument, pass it down to
expand_expr_stmt_value.
(expand_stmt) [EXPR_STMT]: Pass 1 as maybe_last to
genrtl_expr_stmt_value if t is the last EXPR_STMT in its scope.
* expr.c (expand_expr) [LABELED_BLOCK_EXPR, LOOP_EXPR]: Pass 1
as maybe_last to expand_expr_stmt_value.

* gcc.dg/20020104-1.c: New test.

From-SVN: r48541

22 years agoThread.java (stop): No longer synchronized.
Tom Tromey [Fri, 4 Jan 2002 20:38:20 +0000 (20:38 +0000)]
Thread.java (stop): No longer synchronized.

* java/lang/Thread.java (stop): No longer synchronized.
(start): Likewise.

From-SVN: r48540

22 years agoc-common.c (c_expand_start_cond): Expect the IF_STMT node to be passed in, do not...
Jeff Law [Fri, 4 Jan 2002 18:42:56 +0000 (11:42 -0700)]
c-common.c (c_expand_start_cond): Expect the IF_STMT node to be passed in, do not build it.

        * c-common.c (c_expand_start_cond): Expect the IF_STMT node to
        be passed in, do not build it.
        (c_begin_if_stmt): New function.
        (c_begin_while_stmt, c_finish_while_stmt_cond): Likewise.
        * c-common.h (c_expand_start_cond): Update prototype.
        (c_begin_if_stmt): Prototype new function.
        (c_begin_while_stmt, c_finish_while_stmt_cond): Likewise.
        * c-parse.in (if_prefix): Use c_begin_if_stmt,
        c_begin_while_stmt and c_finish_while_stmt_cond.

From-SVN: r48539

22 years agostl_tree.h (rb_tree): Move to...
Paolo Carlini [Fri, 4 Jan 2002 17:02:28 +0000 (18:02 +0100)]
stl_tree.h (rb_tree): Move to...

2002-01-04  Paolo Carlini  <pcarlini@unitus.it>

* include/bits/stl_tree.h (rb_tree):  Move to...
* include/ext/rb_tree:  ...here, new file.
        * include/Makefile.am (ext_headers):  Add new file.
        * include/Makefile.in:  Regenerate.
        * include/bits/stl_tempbuf.h (get_temporary_buffer + helper,
return_temporary_buffer, struct temporary_buffer):  Move to...
        * include/ext/memory:  ...here.
        * testsuite/ext/headers.cc:  Include <ext/rb_tree>.
* include/backward/tempbuf.h:  Include <ext/memory>, tweak.
* include/backward/tree.h:  Include <ext/rb_tree), tweak.

From-SVN: r48538

22 years agoelf.h (ASM_FILE_START): Reverted to profile_flag.
William Cohen [Fri, 4 Jan 2002 15:43:30 +0000 (15:43 +0000)]
elf.h (ASM_FILE_START): Reverted to profile_flag.

* config/pa/elf.h (ASM_FILE_START): Reverted to profile_flag.
* config/pa/pa-linux.h (ASM_FILE_START): Likewise.
* config/pa/pa64-hpux.h (ASM_FILE_START): Likewise.
* config/pa/som.h (ASM_FILE_START): Likewise.

From-SVN: r48537

22 years agolcm.c: Include df.h.
Daniel Berlin [Fri, 4 Jan 2002 15:23:30 +0000 (15:23 +0000)]
lcm.c: Include df.h.

2001-01-04  Daniel Berlin  <dan@cgsoftware.com>

* lcm.c: Include df.h.
Add available_transfer_function prototype.
(compute_available): Rework to use iterative dataflow framework.
(struct bb_info): s/bb_info/lcm_bb_info/g to avoid conflict
with bb_info in df.h
(available_transfer_function): New function.

* Makefile.in (lcm.o): add df.h to dependencies.

From-SVN: r48536

22 years agoclass.c (update_vtable_entry_for_fn): Set delta to zero for a lost primary.
Jason Merrill [Fri, 4 Jan 2002 14:02:14 +0000 (09:02 -0500)]
class.c (update_vtable_entry_for_fn): Set delta to zero for a lost primary.

        * class.c (update_vtable_entry_for_fn): Set delta to zero for a
        lost primary.

        * class.c (build_vtbl_initializer): Check for a lost primary
        before calculating the vtable entry to throw away.

From-SVN: r48535

22 years agoDaily bump.
GCC Administrator [Fri, 4 Jan 2002 08:16:10 +0000 (08:16 +0000)]
Daily bump.

From-SVN: r48532

22 years agoalpha.c (some_operand): Accept HIGH.
Richard Henderson [Fri, 4 Jan 2002 08:15:22 +0000 (00:15 -0800)]
alpha.c (some_operand): Accept HIGH.

* config/alpha/alpha.c (some_operand): Accept HIGH.
(input_operand): Likewise; accept simple references to globals.
(alpha_const_ok_for_letter_p): New, outlined from alpha.h.
(alpha_const_double_ok_for_letter_p): Likewise.
(alpha_extra_constraint): Likewise.
(alpha_preferred_reload_class): Likewise.  Do not force
symbolic constants to memory.
(alpha_legitimate_address_p): Accept simple references
to small_symbolic_operand.
(alpha_legitimize_address): New arg scratch.  Be prepared to be
called when no_new_pseudos.  Emit simple symbolic references.
Split integers into low, high, and rest.
(alpha_expand_mov): Use alpha_legitimize_address.
(some_small_symbolic_mem_operand): New.
(split_small_symbolic_mem_operand): New.
* config/alpha/alpha-protos.h: Update.
* config/alpha/alpha.h (CONST_OK_FOR_LETTER_P): Out-line.
(CONST_DOUBLE_OK_FOR_LETTER_P): Likewise.
(EXTRA_CONSTRAINT): Likewise.
(PREFERRED_RELOAD_CLASS): Likewise.
(LEGITIMIZE_ADDRESS): Update for alpha_legitimize_address change.
(PREDICATE_CODES): Update.
* config/alpha/alpha.md: New post-reload splitters to convert
simplfied symbolic operands to the form that references $29.
(divide expanders): Use emit_move_insn, not gen_movdi_er_high_g.
(movdi_er_nofix, movdi_er_fix): Accept any symbolic operand.

From-SVN: r48531

22 years ago* local-alloc.c (function_invariant_p): Update commentary.
Richard Henderson [Fri, 4 Jan 2002 07:19:19 +0000 (23:19 -0800)]
* local-alloc.c (function_invariant_p): Update commentary.

From-SVN: r48530

22 years ago* Makefile.in ($(LIBG2C):): Let libtool decide when to add -lc.
Loren J. Rittle [Fri, 4 Jan 2002 06:22:49 +0000 (06:22 +0000)]
* Makefile.in ($(LIBG2C):): Let libtool decide when to add -lc.

From-SVN: r48529

22 years ago* gcc.dg/20020103-1.c: Fix typo in target selector.
Hans-Peter Nilsson [Fri, 4 Jan 2002 05:57:59 +0000 (05:57 +0000)]
* gcc.dg/20020103-1.c: Fix typo in target selector.

From-SVN: r48528

22 years agotoplev.c (rest_of_compilation): Fix a typo when calling cleanup_cfg.
H.J. Lu [Fri, 4 Jan 2002 05:41:24 +0000 (06:41 +0100)]
toplev.c (rest_of_compilation): Fix a typo when calling cleanup_cfg.

2002-01-04  H.J. Lu <hjl@gnu.org>

* toplev.c (rest_of_compilation): Fix a typo when calling
cleanup_cfg.

From-SVN: r48527

22 years agoc-common.c: Fix formatting.
Kazu Hirata [Fri, 4 Jan 2002 02:00:26 +0000 (02:00 +0000)]
c-common.c: Fix formatting.

* c-common.c: Fix formatting.
* diagnostic.c: Likewise.
* doloop.c: Likewise.
* dwarf2out.c: Likewise.

From-SVN: r48526

22 years ago* gcc.dg/20020103-1.c: New.
Richard Henderson [Fri, 4 Jan 2002 01:10:38 +0000 (17:10 -0800)]
* gcc.dg/20020103-1.c: New.

From-SVN: r48525

22 years agoh8300.c (output_logical_op): Use 'not.w' instead of 'neg.w' when xoring with 0x0000ff...
Kazu Hirata [Fri, 4 Jan 2002 00:50:50 +0000 (00:50 +0000)]
h8300.c (output_logical_op): Use 'not.w' instead of 'neg.w' when xoring with 0x0000ffff or 0xffff0000.

* config/h8300/h8300.c (output_logical_op): Use 'not.w' instead
of 'neg.w' when xoring with 0x0000ffff or 0xffff0000.

From-SVN: r48524

22 years agoRotate 6 months of ChangeLog entries into ChangeLog.6
Jeff Law [Fri, 4 Jan 2002 00:19:27 +0000 (17:19 -0700)]
Rotate 6 months of ChangeLog entries into ChangeLog.6

From-SVN: r48523

22 years agocpperror.c: Update comments and copyright.
Neil Booth [Thu, 3 Jan 2002 21:43:09 +0000 (21:43 +0000)]
cpperror.c: Update comments and copyright.

* cpperror.c: Update comments and copyright.
* cppexp.c, cppfiles.c, cpphash.c, cpphash.h, cppinit.c,
cpplex.c, cpplib.c, cpplib.h, cppmacro.c, cppmain.c: Similarly.

From-SVN: r48522

22 years ago* collect2.c (main): Use strcmp when testing for "-shared".
John David Anglin [Thu, 3 Jan 2002 19:34:16 +0000 (19:34 +0000)]
* collect2.c (main): Use strcmp when testing for "-shared".

From-SVN: r48520

22 years agostl_numeric.h (power + helpers, iota): Move to...
Paolo Carlini [Thu, 3 Jan 2002 19:02:18 +0000 (20:02 +0100)]
stl_numeric.h (power + helpers, iota): Move to...

2002-01-02  Paolo Carlini  <pcarlini@unitus.it>

* include/bits/stl_numeric.h (power + helpers, iota):  Move to...
* include/ext/numeric:  ...here, new file.
        * include/bits/stl_function.h (identity_element, unary_compose,
binary_compose, compose1, compose2, identity, select1st,
select2nd, project1st + helper, project2nd + helper,
constant_void_fun + helper, constant_unary_fun + helper,
costant_binary_fun + helper, constant0, constant1, constant2,
subtractive_rng, mem_fun1, mem_fun1_ref):  Move to...
        * include/ext/functional:  ...here, new file.
        * include/Makefile.am (ext_headers):  Add new files.
        * include/Makefile.in:  Regenerate.
        * testsuite/ext/headers.cc:  Include <ext/numeric> and
<ext/functional>.
* include/backward/algo.h:  Include <ext/numeric>, tweak.
* include/backward/function.h:  Include <ext/functional>, tweak.
        * include/ext/ropeimpl.h:  Include <ext/numeric>.

From-SVN: r48519

22 years agocppmacro.c: Don't include intl.h.
Neil Booth [Thu, 3 Jan 2002 18:32:55 +0000 (18:32 +0000)]
cppmacro.c: Don't include intl.h.

* cppmacro.c: Don't include intl.h.  Update comments.
(new_number_token): Allocate enough buffer for 64-bit unsigned
integers; update prototype.
* cppmain.c: Update comments.

From-SVN: r48518

22 years agoCorrect ChangeLog entry: toc_section -> ASM_FILE_START.
David Edelsohn [Thu, 3 Jan 2002 18:16:31 +0000 (13:16 -0500)]
Correct ChangeLog entry: toc_section -> ASM_FILE_START.

From-SVN: r48517

22 years agoos_defines.h: Prefix __strtoll and __strtoull declarations with __extension__.
Jeff Law [Thu, 3 Jan 2002 18:03:15 +0000 (11:03 -0700)]
os_defines.h: Prefix __strtoll and __strtoull declarations with __extension__.

        * config/os/hpux/bits/os_defines.h: Prefix __strtoll and
        __strtoull declarations with __extension__.

From-SVN: r48516

22 years agofunction.h (struct function): Add profile.
William Cohen [Thu, 3 Jan 2002 17:40:07 +0000 (17:40 +0000)]
function.h (struct function): Add profile.

* function.h (struct function): Add profile.
(current_function_profile): New.
doc/extend.texi: Update documentation.
* final.c (final_start_function): Use current_function_profile
instead of profile_flag.
(profile_after_prologue): Likewise.
* function.c (expand_function_start): Likewise.
(expand_function_start): Likewise.
* config/alpha/alpha.c (direct_call_operand):
(alpha_does_function_need_gp): Likewise.
(alpha_expand_prologue): Likewise.
* config/arm/arm.c (arm_expand_prologue): Likewise.
thumb_expand_prologue: Likewise.
* config/d30v/d30v.c (d30v_stack_info): Likewise.
* config/fr30/fr30.c (MUST_SAVE_RETURN_POINTER): Likewise.
(fr30_expand_prologue): Likewise.
* config/i386/cygwin.h (SUBTARGET_PROLOGUE): Likewise.
* config/i386/i386.c (ix86_osf_output_function_prologue): Likewise.
* config/i386/i386.h (FINALIZE_PIC): Likewise.
* config/i386/win32.h (SUBTARGET_PROLOGUE): Likewise.
* config/i960/i960.c (i960_output_function_prologue): Likewise.
* config/ia64/ia64.c (ia64_compute_frame_size): Likewise.
* config/m32r/m32r.c (MUST_SAVE_RETURN_ADDR): Likewise.
(m32r_expand_prologue): Likewise.
* config/m88k/m88k.c (m88k_layout_frame): Likewise.
(m88k_expand_prologue): Likewise.
* config/m88k/m88k.h (ADJUST_INSN_LENGTH): Likewise.
* config/mips/mips.c (compute_frame_size): Likewise.
(mips_expand_prologue): Likewise.
(mips_can_use_return_insn): Likewise.
* config/pa/elf.h (ASM_FILE_START): Likewise.
* config/pa/pa-linux.h (ASM_FILE_START): Likewise.
* config/pa/pa64-hpux.h (ASM_FILE_START): Likewise.
* config/pa/som.h (ASM_FILE_START): Likewise.
* config/romp/romp.c (romp_using_r14): Likewise.
* config/rs6000/rs6000.c (first_reg_to_save): Likewise.
(rs6000_stack_info): Likewise.
* config/rs6000/sysv4.h (ASM_DECLARE_FUNCTION_NAME): Likewise.
* config/rs6000/xcoff.h (toc_section): Likewise.
* config/v850/v850.c (compute_register_save_size): Likewise.

From-SVN: r48515

22 years agosimplify-rtx.c (simplify_binary_operation): If gen_lowpart_common fails, use gen_lowp...
Jakub Jelinek [Thu, 3 Jan 2002 17:24:13 +0000 (18:24 +0100)]
simplify-rtx.c (simplify_binary_operation): If gen_lowpart_common fails, use gen_lowpart_SUBREG.

* simplify-rtx.c (simplify_binary_operation) [DIV]: If
gen_lowpart_common fails, use gen_lowpart_SUBREG.

* gcc.c-torture/compile/20020103-1.c: New test.

From-SVN: r48514

22 years agodarwin.c (machopic_output_possible_stub_label): Don't generate stub routines for...
Turly O'Connor [Thu, 3 Jan 2002 17:18:25 +0000 (17:18 +0000)]
darwin.c (machopic_output_possible_stub_label): Don't generate stub routines for pseudo-stubs which we've just defined.

* darwin.c (machopic_output_possible_stub_label): Don't generate
stub routines for pseudo-stubs which we've just defined.

From-SVN: r48513

22 years agobuiltins.c: Fix formatting.
Kazu Hirata [Thu, 3 Jan 2002 16:05:54 +0000 (16:05 +0000)]
builtins.c: Fix formatting.

* builtins.c: Fix formatting.
* c-typeck.c: Likewise.
* combine.c: Likewise.
* expr.c: Likewise.
* loop.c: Likewise.

From-SVN: r48512

22 years agoprune.exp: Correct regular expression for -ffunction-sections
David Billinghurst [Thu, 3 Jan 2002 14:25:14 +0000 (14:25 +0000)]
prune.exp: Correct regular expression for -ffunction-sections

2002-01-03  David Billinghurst <David.Billinghurst@riotinto.com>

* testsuite/lib/prune.exp: Correct regular expression for
-ffunction-sections

From-SVN: r48511

22 years ago* g++.dg/other/debug2.C: New test.
Jakub Jelinek [Thu, 3 Jan 2002 10:01:23 +0000 (11:01 +0100)]
* g++.dg/other/debug2.C: New test.

From-SVN: r48508

22 years agocppfiles.c (_cpp_pop_file_buffer): Change return type to bool and return true if...
Andreas Schwab [Thu, 3 Jan 2002 09:41:00 +0000 (09:41 +0000)]
cppfiles.c (_cpp_pop_file_buffer): Change return type to bool and return true if...

* cppfiles.c (_cpp_pop_file_buffer): Change return type to bool
and return true if _cpp_push_next_buffer pushed a new include
file.
* cpplib.c (_cpp_pop_buffer): Only call obstack_free if
_cpp_pop_file_buffer did not push a new file.
* cpphash.h (_cpp_pop_file_buffer): Update declaration.

From-SVN: r48507

22 years agofinal.c (final_scan_insn): Change 0 -> NULL_RTX in FIND_REG_INC_NOTE call.
Eric Christopher [Thu, 3 Jan 2002 09:18:22 +0000 (09:18 +0000)]
final.c (final_scan_insn): Change 0 -> NULL_RTX in FIND_REG_INC_NOTE call.

2002-01-02  Eric Christopher  <echristo@redhat.com>

* final.c (final_scan_insn): Change 0 -> NULL_RTX in
FIND_REG_INC_NOTE call. Update copyright.
* loop.c (canonicalize_condition): Ditto.
* reorg.c (delete_scheduled_jump): Ditto.

From-SVN: r48506

22 years agoDaily bump.
GCC Administrator [Thu, 3 Jan 2002 08:16:20 +0000 (08:16 +0000)]
Daily bump.

From-SVN: r48504

22 years agoclass.c (compile_resource_file): Update copyright date.
Graham Stott [Thu, 3 Jan 2002 07:50:49 +0000 (07:50 +0000)]
class.c (compile_resource_file): Update copyright date.

        * class.c (compile_resource_file): Update copyright date.
        Constify filename parameter.
        java-tree.h: Update copyright date.
        (compile_resource_file): Constify filename parameter.

From-SVN: r48503

22 years ago* gcse.c: Fix formatting.
Kazu Hirata [Thu, 3 Jan 2002 06:36:42 +0000 (06:36 +0000)]
* gcse.c: Fix formatting.

From-SVN: r48502

22 years agojcf-parse.c: Update copyright date.
Graham Stott [Thu, 3 Jan 2002 05:47:27 +0000 (05:47 +0000)]
jcf-parse.c: Update copyright date.

        * gcc/jcf-parse.c: Update copyright date.
        (yyparse): Constify resource_filename.

From-SVN: r48500

22 years agomkconfig.sh: Output to config.h...
Graham Stott [Thu, 3 Jan 2002 05:22:51 +0000 (05:22 +0000)]
mkconfig.sh: Output to config.h...

* mkconfig.sh: Output to config.h, hconfig.h and tconfig.h
  forward defs for struct tags rtx_def, union_tree, rtvec_def
  also output corresponding typedefs for rtxm, tree, and rtvcec.

  * system.h: Move forward defs for struct tags rtx_def, union_tree,
  rtvec_def along with corresponding typedefs for rtx, tree, and
  rtvcec to config.h, hconfig.h, tconfig.h

From-SVN: r48499

22 years agotree.h: Update copyright date.
Graham Stott [Thu, 3 Jan 2002 05:18:25 +0000 (05:18 +0000)]
tree.h: Update copyright date.

        * tree.h: Update copyright date.
        (IS_EXPR_CODE_CLASS): Add parenthesis.
        (TREE_SET_CODE): Add whitespace.
        (TREE_CHECK): Add parenthesis.
        (TREE_CLASS_CODE): Add parenthesis and wrap long line.
        (CST_OR_CONSTRUCTOR_CHECK):
        (EXPR_CHECK): Add parenthis, whitespace and wrap line.
        (TREE_SYMBOL_REFERENCED): Whitespace.
        (INT_CST_LT): Likewise.
        (INT_CST_LT_UNSIGNED): Likewise.
        (tree_real_cst): Unwrap comment.
        (tree_string): Likewise.
        (tree_complex): Likewise.
        (IDENTIFIER_POINTER): correct cast.
        (SAVE_EXPR_CONTEXT): Whitespace.
        (EXPR_WFL_FILENAME_NODE): Likewise.
        (EXPR_WFL_FILENAME): Remove parenthesis.
        (DECL_ORIGIN): Add parenthesis.
        (DECL_FROM_INLINE): Use NULL_TREE.
        (build_int_2): Whitespace.
        (build_type_variant): Add parenthesis.

        * gcc/jcf-parse.c: Update copyright date.
        (yyparse): Constify resource_filename.

From-SVN: r48498

22 years agortl.h: Update copyright date.
Graham Stott [Thu, 3 Jan 2002 05:11:05 +0000 (05:11 +0000)]
rtl.h: Update copyright date.

        * rtl.h: Update copyright date.
        (RTL_CHECK1): Wrap long line.
        (RTL_CHECK2): Likewise.
        (RTL_CHECKC1): Wrap long line and whitespace.
        (RTL_CHECKC2): Likewise.
        (XWINT): Whitespace.
        (XINT): Likewise.
        (XSTR): Likewise.
        (XEXP): Likewise.
        (XVEC): Likewise.
        (XMODE): Likewise.
        (XBITMAP): Likewise.
        (XTREE): Likewise.
        (XBBDEF): Likewise.
        (XTMPL): Likewise.
        (X0WINT): Likewise.
        (X0INT):Likewise.
        (X0UINT): Likewise.
        (X0STR): Likewise.
        (X0EXP): Likewise.
        (X0VEC): Likewise.
        (X0MODE): Likewise.
        (X0BITMAP): Likewise.
        (X0TREE): Likewise.
        (X0BBDEF): Likewise.
        (X0ADVFLAGS): Likewise.
        (X0CSELIB): Likewise.
        (X0MEMATTR): Likewise.
        (XCWINT): Likewise.
        (XCINT): Likewise.
        (XCUINT): Likewise.
        (XCSTR): Likewise.
        (XCEXP): Likewise.
        (XCVEC): Likewise.
        (XCMODE): Likewise.
        (XCBITMAP): Likewise.
        (XCTREE): Likewise.
        (XCBBDEF): Likewise.
        (XCADVFLAGS): Likewise.
        (XCCSELIB): Likewise.
        (XC2EXP): Likewise.
        (INSN_UID): Likewise.
        (PREV_INSN): Likewise.
        (PATTERN): Likewise.
        (INSN_CODE): Likewise.
        (PUT_REG_NOTE_KIND): Likewise.
        (CODE_LABEL_NUMBER): Likewise.
        (NOTE_SOURCE_FILE): Likewise.
        (NOTE_BLOCK): Likewise.
        (NOTE_EH_HANDLER): Likewise.
        (NOTE_RANGE_INFO): Likewise.
        (NOTE_LIVE_INFO): Likewise.
        (NOTE_BASIC_BLOCK): Likewise.
        (NOTE_EXPECTED_VALUE): Likewise.
        (NOTE_LINE_NUMBER): Likewise.
        (LABEL_NAME): Likewise.
        (LABEL_NUSES): Likewise.
        (LABEL_ALTERNATE_NAME): Likewise.
        (ADDRESSOF_DECL): Likewise.
        (JUMP_LABEL): Likewise.
        (LABEL_NEXTREF): Likewise.
        (REGNO): Likewise.
        (ORIGINAL_REGNO: Likewise.
        (HARD_REGISTER_NUM_P): Add parenthesis.
        (SUBREG_REG): Whitespace.
        (SUBREG_BYTE): Likewise.
        (ASM_OPERANDS_TEMPLATE): Remove parenthesis.
        (ASM_OPERANDS_OUTPUT_CONSTRAINT): Likewise.
        (ASM_OPERANDS_OUTPUT_IDX): Likewise.
        (ASM_OPERANDS_INPUT_VEC): Likewise.
        (ASM_OPERANDS_INPUT_CONSTRAINT_VEC): Likewise.
        (ASM_OPERANDS_INPUT): Likewise.
        (ASM_OPERANDS_INPUT_LENGTH): Likewise.
        (ASM_OPERANDS_INPUT_CONSTRAINT_EXP): Likewise.
        (ASM_OPERANDS_INPUT_CONSTRAINT): Likewise.
        (ASM_OPERANDS_INPUT_MODE): Likewise.
        (ASM_OPERANDS_SOURCE_FILE): Likewise.
        (ASM_OPERANDS_SOURCE_LINE): Likewise.
        (MEM_SET_IN_STRUCT_P): Minor reformat.
        (TRAP_CONDITION): Whitespace.
        (TRAP_CODE): Likewise.
        (COND_EXEC_TEST): Likewise.
        (COND_EXEC_CODE): Likewise.
        (FIND_REG_INC_NOTE): Uppercase macro args and add parenthesis.
        (PHI_NODE_P): Add parenthesis.
        (plus_constant): Whitespace and add paraenthese.

From-SVN: r48497

22 years agoavr.c: Fix comment typos.
Kazu Hirata [Thu, 3 Jan 2002 05:04:34 +0000 (05:04 +0000)]
avr.c: Fix comment typos.

* config/avr/avr.c: Fix comment typos.
* config/c4x/c4x.md: Likewise.
* config/dsp16xx/dsp16xx.h: Likewise.
* config/dsp16xx/dsp16xx.md: Likewise.
* config/i386/i386.md: Likewise.
* config/ia64/ia64.c: Likewise.
* config/m32r/m32r.h: Likewise.
* config/m68hc11/m68hc11.md: Likewise.
* config/mmix/mmix.c: Likewise.
* config/mn10200/mn10200.c: Likewise.
* config/romp/romp.c: Likewise.
* config/sh/sh.c: Likewise.
* config/stormy16/stormy16.c: Likewise.
* config/stormy16/stormy16.h: Likewise.
* config/stormy16/stormy16.md: Likewise.

From-SVN: r48496

22 years agore PR bootstrap/5117 (irix6.5 bootstrap failure when using SGI's compiler)
Craig Rodrigues [Thu, 3 Jan 2002 05:01:04 +0000 (05:01 +0000)]
re PR bootstrap/5117 (irix6.5 bootstrap failure when using SGI's compiler)

2001-01-02  Craig Rodrigues  <rodrigc@gcc.gnu.org>

        PR bootstrap/5117
        * configure.in (AC_CHECK_HEADERS): Check for stdlib.h.
        * Makefile.am: Move grepjar to bin_PROGRAMS.
        * config.h.in: Regenerated.
        * Makefile.in: Regenerated.
        * aclocal.m4: Regenerated.
        * stamp-h.in: Regenerated.
        * jargrep.c: Eliminate some signed/unsigned and default
        uninitialized warnings. Use HAVE_STDLIB_H instead of
        STDC_HEADERS macro.
        * jartool.c: Likewise.
        * compress.c: Likewise.

From-SVN: r48495

22 years agortl.h: Update copyright date.
Graham Stott [Thu, 3 Jan 2002 04:59:07 +0000 (04:59 +0000)]
rtl.h: Update copyright date.

        * rtl.h: Update copyright date.
        (LOOP_MOVABLES): Fix typo.
        (LOOP_REGS): Likewise.
        (LOOP_IVS): Likewise.

From-SVN: r48494

22 years agore PR bootstrap/5117 (irix6.5 bootstrap failure when using SGI's compiler)
Craig Rodrigues [Thu, 3 Jan 2002 04:57:56 +0000 (04:57 +0000)]
re PR bootstrap/5117 (irix6.5 bootstrap failure when using SGI's compiler)

2001-01-02  Craig Rodrigues  <rodrigc@gcc.gnu.org>

        PR bootstrap/5117
        * configure.in (AC_CHECK_HEADERS): Check for stdlib.h.
        * Makefile.am: Move grepjar to bin_PROGRAMS.
        * config.h.in: Regenerated.
        * Makefile.in: Regenerated.
        * aclocal.m4: Regenerated.
        * jargrep.c: Eliminate some signed/unsigned and default
        uninitialized warnings. Use HAVE_STDLIB_H instead of
        STDC_HEADERS macro.
        * jartool.c: Likewise.
        * compress.c: Likewise.

From-SVN: r48493

22 years agore PR libstdc++/2054 (g++-3 rejects legal code, accepted by g++-2.95.2 (functors))
Phil Edwards [Thu, 3 Jan 2002 04:44:07 +0000 (04:44 +0000)]
re PR libstdc++/2054 (g++-3 rejects legal code, accepted by g++-2.95.2 (functors))

2002-01-02  Phil Edwards  <pme@gcc.gnu.org>

* include/bits/stl_algo.h (upper_bound, equal_range, binary_search):
Change concept checks, as with lower_bound and PR 2054.
* testsuite/ext/concept_checks.cc:  Expand test to include those.

From-SVN: r48492

22 years agore PR c/5226 (-mthreads not available in gcc 3.0.3 but still in doc)
Craig Rodrigues [Thu, 3 Jan 2002 04:37:11 +0000 (04:37 +0000)]
re PR c/5226 (-mthreads not available in gcc 3.0.3 but still in doc)

2002-01-02  Craig Rodrigues  <rodrigc@gcc.gnu.org>

        PR c/5226
        * invoke.texi (-mthreads): Remove from documented RS/6000 options.
        (-pthread) Add to RS/6000 options.

From-SVN: r48491

22 years agocppinit.c: Update copyright date.
Graham Stott [Thu, 3 Jan 2002 03:55:19 +0000 (03:55 +0000)]
cppinit.c: Update copyright date.

        * cppinit.c: Update copyright date.
        Don't include output.h
        * Makefile.in: Update copyright date.
        Update dependency.

From-SVN: r48490

22 years agoboost_concept_check.h: Import some changes from upsteam (Boost) version.
Phil Edwards [Thu, 3 Jan 2002 03:21:19 +0000 (03:21 +0000)]
boost_concept_check.h: Import some changes from upsteam (Boost) version.

2002-01-02  Phil Edwards  <pme@gcc.gnu.org>

* include/bits/boost_concept_check.h:  Import some changes from
upsteam (Boost) version.

From-SVN: r48489

22 years agoexcept.c: Fix comment typos.
Kazu Hirata [Thu, 3 Jan 2002 00:53:36 +0000 (00:53 +0000)]
except.c: Fix comment typos.

* except.c: Fix comment typos.
* loop.c: Likewise.
* varasm.c: Likewise.
* doc/tm.texi: Fix a typo.

From-SVN: r48488

22 years agoc-typeck.c (output_init_element): Allow initializing static storage duration objects...
Jakub Jelinek [Wed, 2 Jan 2002 23:43:24 +0000 (00:43 +0100)]
c-typeck.c (output_init_element): Allow initializing static storage duration objects with compound literals.

* c-typeck.c (output_init_element): Allow initializing static storage
duration objects with compound literals.

* gcc.dg/gnu89-init-1.c: Added new tests.

From-SVN: r48487

22 years agoobjc-act.c (hack_method_prototype): Clear current_function_decl after abusing it.
Richard Henderson [Wed, 2 Jan 2002 23:22:52 +0000 (15:22 -0800)]
objc-act.c (hack_method_prototype): Clear current_function_decl after abusing it.

        * objc/objc-act.c (hack_method_prototype): Clear current_function_decl
        after abusing it.

From-SVN: r48486

22 years agogcc.c (default_compilers): Const-ify.
Kaveh R. Ghazi [Wed, 2 Jan 2002 23:18:59 +0000 (23:18 +0000)]
gcc.c (default_compilers): Const-ify.

* gcc.c (default_compilers): Const-ify.
* mips-tdump.c (stab_names): Likewise.
* mips-tfile.c (map_coff_types, map_coff_storage,
map_coff_sym_type, map_coff_derived_type, stabs_symbol,
pseudo_ops_t, pseudo_ops): Likewise.
* protoize.c (default_include): Likewise

f:
* com.c (clear_binding_level): Const-ify.
(ffecom_arglist_expr_): Likewise.
* info.c (ffeinfo_types_): Don't needlessly zero init.
* lex.c (ffelex_hash_kludge): Const-ify.

java:
* parse.y (src_parse_roots): Don't needlessly zero init.

libiberty:
* cp-demangle.c (long_options): Const-ify.
* cplus-dem.c (long_options): Likewise.

From-SVN: r48485

22 years agoreal.c (GET_REAL, PUT_REAL): Don't cast away const-ness.
Kaveh R. Ghazi [Wed, 2 Jan 2002 23:11:30 +0000 (23:11 +0000)]
real.c (GET_REAL, PUT_REAL): Don't cast away const-ness.

* real.c (GET_REAL, PUT_REAL): Don't cast away const-ness.
(ezero, ehalf, eone, etwo, e32, elog2, esqrt2, epi): Const-ify.
Add array size in declaration.
(endian, emov, eisneg, eisinf, eisnan, eiisnan, eiisneg, emovi,
emovo, emovz, eiisinf, ecmpm, eaddm, esubm, m16m, edivm, emulm,
esub, eadd, eadd1, ediv, emul, e53toe, e64toe, e113toe, e24toe,
etoe113, etoe64, etoe53, etoe24, ecmp, eround, ltoe, ultoe,
eifrac, euifrac, e24toasc, e53toasc, e64toasc, e113toasc, etoasc,
efloor, efrexp, eldexp, eremain, dectoe, etodec, ibmtoe, etoibm,
c4xtoe, etoc4x, uditoe, ditoe, etoudi, etodi, esqrt, etens,
emtens, make_nan): Const-ify.
(TFbignan, TFlittlenan, XFbignan, XFlittlenan, DFbignan,
DFlittlenan, SFbignan, SFlittlenan): Make static and const-ify.

From-SVN: r48484