Commit Graph

40112 Commits

Author SHA1 Message Date
Graham Stott
ff0b0e4c4e mangle.c (MANGLE_TRACE): Add parenthesis.
* mangle.c (MANGLE_TRACE): Add parenthesis.
        (MANGLE_TRACE_TREE): Likewise.
        (write_signed_number): Likewise.
        (write_unsigned_number): Likewise.

From-SVN: r48638
2002-01-08 10:21:56 +00:00
Graham Stott
84b4a6f866 Remove change log entries for error.c
From-SVN: r48637
2002-01-08 10:21:17 +00:00
Graham Stott
75ac8dec77 decl.c (BINDING_LEVEL): Add parenthesis.
* decl.c (BINDING_LEVEL): Add parenthesis.
        (DEF_OPERATOR): Likewise.

From-SVN: r48636
2002-01-08 10:19:10 +00:00
Graham Stott
12f50451ab class.c (VTT_TOP_LEVEL_P): Uppercase macro parameter and whitespace.
* class.c (VTT_TOP_LEVEL_P): Uppercase macro parameter and
        whitespace.
        (VTT_MARKED_BINFO_P): Likewise.

From-SVN: r48635
2002-01-08 10:18:40 +00:00
Graham Stott
f11f20b0f5 call.c (convert_like): Add parenthesis and wrap.
* call.c (convert_like): Add parenthesis and wrap.
        (convert_like_with_context): Likewise.
        (ICS_RANK): Whitespace.
        (NEED_TEMPORARY_P): Remove parenthesis.

From-SVN: r48634
2002-01-08 10:18:06 +00:00
Graham Stott
9180074778 xref.c (FILE_NAME_ABSOLUTE_P): Add parenthesis.
* xref.c (FILE_NAME_ABSOLUTE_P): Add parenthesis.
        (PALLOC): Uppercase macro parameter and whitespace.
        (SALLOC): Uppercase macro parameter.
        (SFREE): Uppercase macros parameter, add parenthese and
        whitespace.
        (STREQL): Uppercase macro parameter and whitespace.
        (STRNEQ): Likewise.
        (STRLSS): Likewise.
        (STRLEQ): Likewise.
        (STRGTR): Likewise.
        (STRGEQ): Likewise.

From-SVN: r48633
2002-01-08 10:17:21 +00:00
Graham Stott
a8086abfa0 c-tree.h (C_TYPE_FIELDS_READONLY): Uppercase macro parameter.
* c-tree.h (C_TYPE_FIELDS_READONLY): Uppercase macro parameter.
        (C_TYPE_FIELDS_VOLATILE): Likewise.
        (C_TYPE_BEING_DEFINED): Likewise.
        (C_IS_RESERVED_WORD): Likewise.
        (C_TYPE_VARIABLE_SIZE): Likewise.
        (C_DECL_VARIABLE_SIZE): Likewise.
        (C_MISSING_PROTOTYPE_WARNED): Likewise.
        (C_SET_EXP_ORIGINAL_CODE): Likewise.
        (C_TYPEDEF_EXPLICITLY_SIGNED): Uppercase macro parameter and remove
        parenthesis.
        (C_DECL_ANTICIPATED): Likewise.
        (c_build_type_variant): Add parenthesis.

From-SVN: r48632
2002-01-08 10:03:10 +00:00
Joseph Myers
3f595aa14c re PR other/704 (--help and --version)
* gcc.c (option_map): Remove --version.
	(process_command): Handle -fversion following the GNU Coding
	Standards.  Partially addresses PR other/704.

f:
	* g77spec.c (lookup_option): Handle -fversion.
	(lang_specific_driver): Update copyright date in --version output.

From-SVN: r48631
2002-01-08 10:00:27 +00:00
Graham Stott
5bc5a8f9b7 * combine.c (combine_instructions): Fix typo.
From-SVN: r48630
2002-01-08 09:57:48 +00:00
Graham Stott
16ec4ebf00 * debug.h: Use "tree" and "rtx" throughout.
From-SVN: r48629
2002-01-08 09:54:39 +00:00
Gerald Pfeifer
489406028d invoke.texi: Markup g77 as @command.
* invoke.texi: Markup g77 as @command.  Remove reference to
	http://gcc.gnu.org/thanks.html.

From-SVN: r48628
2002-01-08 09:28:24 +00:00
GCC Administrator
bc68137d2a Daily bump.
From-SVN: r48626
2002-01-08 08:16:21 +00:00
Nick Clifton
4b69f385ca If a symbol ref is in the constant pool, use the pool's version of the symbol instead.
From-SVN: r48625
2002-01-08 06:52:57 +00:00
Richard Henderson
57d1019b98 regrename.c (find_oldest_value_reg): Ignore the value chain if the original register was copied in a mode with a...
* regrename.c (find_oldest_value_reg): Ignore the value chain if
        the original register was copied in a mode with a fewer number of
        hard registers than the desired mode.
        (copyprop_hardreg_forward_1): Likewise.
        (debug_value_data): Fix loop test.
        * toplev.c (parse_options_and_default_flags): Reenable
        -fcprop-registers at -O1.

From-SVN: r48624
2002-01-07 22:13:34 -08:00
Aldy Hernandez
70ec0b9b9f * testsuite/gcc.dg/altivec-4.c: Test altivec predicates.
From-SVN: r48623
2002-01-08 04:52:36 +00:00
Aldy Hernandez
fa066a2379 002-01-07 Aldy Hernandez <aldyh@redhat.com>
* config/rs6000/rs6000.c (bdesc_2arg): Add altivec predicates.
        (altivec_init_builtins): New node v4si_ftype_v16qi_v16qi.

        * config/rs6000/rs6000.h (rs6000_builtins): Add enums for altivec
        predicates.

        * config/rs6000/rs6000.md: Add altivec predicate patterns.

From-SVN: r48622
2002-01-08 04:50:33 +00:00
John David Anglin
8f949e7e12 pa.c (FUNC_BEGIN_PROLOG_LABEL, [...]): Define.
* pa.c (FUNC_BEGIN_PROLOG_LABEL, current_function_number): Define.
	(pa_output_function_prologue): Output local label at the beginning of
	the prologue when profiling.
	(hppa_profile_hook): Use the local label rather than the function label.
	* pa.h (PROFILE_BEFORE_PROLOGUE): Define.

From-SVN: r48621
2002-01-08 03:02:47 +00:00
Aldy Hernandez
c62f2db548 rs6000.c (bdesc_2arg): Add altivec predicates.
2002-01-07  Aldy Hernandez  <aldyh@redhat.com>

        * rs6000.c (bdesc_2arg): Add altivec predicates.

        * rs6000.c (print_operand): Remove extra space.
        (altivec_expand_unop_builtin): Fix thinko.
        (altivec_expand_binop_builtin): Same.
        (altivec_expand_ternop_builtin): Same.
        (altivec_expand_builtin): Same.

From-SVN: r48620
2002-01-08 01:13:36 +00:00
Richard Henderson
b5235ba76c * config/rs6000/xcoff.h (ASM_FILE_START): Reverted to profile_flag.
From-SVN: r48618
2002-01-07 16:37:34 -08:00
Jason Merrill
7d8ac2930b * unwind-dw2.c (execute_cfa_program): Use < again.
From-SVN: r48617
2002-01-07 17:41:42 -05:00
Jason Merrill
1b64d74774 add -mno-accumulate-outgoing-args on x86
From-SVN: r48616
2002-01-07 17:40:52 -05:00
Jakub Jelinek
571a03b876 * predict.c (combine_predictions_for_insn): Avoid division by zero.
From-SVN: r48615
2002-01-07 22:15:12 +01:00
Jakub Jelinek
2e9513841e simplify-rtx.c (simplify_plus_minus): Bump n_ops for NOT.
* simplify-rtx.c (simplify_plus_minus): Bump n_ops for NOT.
	Don't allow -1 - x -> ~x simplifications in the first pass.

	* gcc.c-torture/execute/20020107-1.c: New test.

From-SVN: r48614
2002-01-07 22:13:25 +01:00
Jason Merrill
15eb1e433c decl2.c (coerce_new_type): Downgrade error for size_t mismatch to pedwarn.
* decl2.c (coerce_new_type): Downgrade error for size_t mismatch
        to pedwarn.

        * method.c (make_thunk): If !flag_weak, give the thunk the
        function's linkage.
        (use_thunk): Here, too.

From-SVN: r48613
2002-01-07 15:52:32 -05:00
Aldy Hernandez
20e2671303 rs6000.c (altivec_expand_ternop_builtin): Don't die on invalid arguments.
2002-01-07  Aldy Hernandez  <aldyh@redhat.com>

        * rs6000.c (altivec_expand_ternop_builtin): Don't die on invalid
        arguments.
        (altivec_expand_binop_builtin): Same.
        (altivec_expand_unop_builtin): Same.
        (print_operand): Fix typo.
        (bdesc_1arg): Add vupk* variants.

        * rs6000.h (rs6000_builtins): Add vupk* enums.

        * rs6000.md: Add altivec_vupk* variants.

From-SVN: r48611
2002-01-07 20:43:18 +00:00
Joseph Myers
4dd57c1806 gcc.texi, [...]: Update copyright and last update dates.
* doc/gcc.texi, doc/gccint.texi, doc/cppinternals.texi,
	doc/install.texi, doc/invoke.texi, doc/rtl.texi: Update copyright
	and last update dates.

From-SVN: r48610
2002-01-07 19:03:37 +00:00
Benjamin Kosnik
f2e12550ca Makefile.am (mkinstalldirs): Add.
2002-01-07  Benjamin Kosnik  <bkoz@redhat.com>
 	    Craig Rodrigues  <rodrigc@mediaone.net>

	libstdc++/5174
	* po/Makefile.am (mkinstalldirs): Add.
	* po/Makefile.in: Regenerate.

From-SVN: r48609
2002-01-07 18:57:06 +00:00
Janis Johnson
0341c5d2c0 * doc/rtl.texi (Flags): Clean up documentation of RTL flags
From-SVN: r48608
2002-01-07 18:45:11 +00:00
Marek Michalkiewicz
c7f3e0b01f 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
2002-01-07 15:04:35 +00:00
Jan Hubicka
6ba4d630f6 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
2002-01-07 11:00:39 +00:00
Graham Stott
b34c06e332 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
2002-01-07 09:11:11 +00:00
Graham Stott
d9a5f1807c 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
2002-01-07 09:06:00 +00:00
Graham Stott
07933f7233 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
2002-01-07 08:52:56 +00:00
Graham Stott
0b4d32c964 diagnostic.h: Update copyright date.
* diagnostic.h: Update copyright date.
	(output_buffer_state): Add perenthesis.
	(output_buffer_format_args): Likewise.

From-SVN: r48596
2002-01-07 08:50:07 +00:00
Graham Stott
6253d571fa combine.c (combine_instructions): Replace XEXP (links, 0) with link.
* combine.c (combine_instructions): Replace XEXP (links, 0)
        with link.

From-SVN: r48595
2002-01-07 08:46:27 +00:00
GCC Administrator
c7941bcc1b Daily bump.
From-SVN: r48593
2002-01-07 08:16:13 +00:00
H.J. Lu
68f3f6f1a4 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
2002-01-06 18:14:30 -08:00
Aldy Hernandez
480f7f3a6b 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
2002-01-07 01:30:10 +00:00
David Billinghurst
ab10a269bb 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
2002-01-07 00:07:27 +00:00
Gerald Pfeifer
6cda74b0eb update_web_docs (contrib_file): Remove.
* update_web_docs (contrib_file): Remove.
	Also removing special handling of thanks.html.

From-SVN: r48589
2002-01-06 22:44:51 +00:00
Andreas Tobler
ebecd56de9 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
2002-01-06 21:38:15 +00:00
Alexandre Oliva
0b34d6fa11 Suggest `-flame -War'
From-SVN: r48587
2002-01-06 21:15:14 +00:00
Craig Rodrigues
13b8c631f3 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
2002-01-06 20:54:52 +00:00
Craig Rodrigues
a858ca75e2 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
2002-01-06 20:44:59 +00:00
Jakub Jelinek
58ad89b1a5 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
2002-01-06 21:21:03 +01:00
Craig Rodrigues
e403b4bcfe 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
2002-01-06 15:14:30 +00:00
Richard Henderson
e41c78316b 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
2002-01-06 02:25:07 -08:00
Paolo Carlini
9efc7479a2 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
2002-01-06 09:14:15 +00:00
Graham Stott
c0b65ff15c Fix date in last entry.
From-SVN: r48578
2002-01-06 08:40:36 +00:00
Graham Stott
79ab76fdf0 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
2002-01-06 08:38:55 +00:00