Commit Graph

50959 Commits

Author SHA1 Message Date
Richard Sandiford 730cf82238 mips-protos.h (mips_expand_block_move): Declare.
* config/mips/mips-protos.h (mips_expand_block_move): Declare.
	(expand_block_move, output_block_move): Remove.
	* config/mips/mips.h (enum block_move_type): Remove.
	* config/mips/mips.c (block_move_call, output_block_move): Remove.
	(mips_block_move_straight, mips_adjust_block_mem): New function.
	(mips_block_move_loop): Renamed and reworked from block_move_loop.
	(mips_expand_block_move): Likewise expand_block_move.  Return false
	to fall back on the target-independent code.
	* config/mips/mips.md (movstrsi): Use mips_expand_block_move.
	(movstrsi_internal*): Remove.

From-SVN: r68071
2003-06-17 06:44:46 +00:00
Zack Weinberg 6cf87ca4e5 * cpplib.h, cpphash.h, cppcharset.c, cpperror.c, cppexp.c
* cppfiles.c, cpphash.c, cppinit.c, cpplex.c, cpplib.c
	* cppmacro.c, cpppch.c, cpptrad.c, cppspec.c: Convert to
	ISO C: new-style function declarations, no need for PARAMS,
	no special punctuation on indirect function calls, use string
	constant concatenation where convenient.

From-SVN: r68070
2003-06-17 06:17:44 +00:00
Benjamin Kosnik 82620aaf0b baseline_symbols.txt: Update to 3.3.0.
2003-06-17  Benjamin Kosnik  <bkoz@redhat.com>

	* config/abi/i486-linux-gnu/baseline_symbols.txt: Update to 3.3.0.

From-SVN: r68069
2003-06-17 06:09:55 +00:00
Benjamin Kosnik c4c064e771 03-06-16 Benjamin Kosnik <bkoz@redhat.com>
* Makefile.am (check-abi): Move...
	(new-abi-baseline): Move...
	* testsuite/Makefile.am: ...here.
	(new-abi-baseline): Conditionalize.
	(check-abi): Conditionalize.
	(check-abi-verbose): New.
	* Makefile.in: Regenerate.
	* testsuite/Makefile.in: Regenerate.
	* configure.in: Consolidate testsuite configure bits.
	* acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): Same.
	* configure: Regenerate.
	* aclocal.m4: Regenerate.
	* testsuite/abi_check.cc: Add --check-verbose.
	Only output detailed information if --check-verbose.

From-SVN: r68067
2003-06-17 05:46:01 +00:00
Andreas Jaeger 5b0e2409f7 rtl.h: Remove declarations from coverage.h.
* rtl.h: Remove declarations from coverage.h.
	* toplev.c: Include coverage.h.
	* Makefile.in (toplev.o): Depend on coverage.h.

	* toplev.h: Remove extra declaration of print_time.

	* gengtype.c (close_output_files): Remove duplicated declaration.

From-SVN: r68066
2003-06-17 07:09:13 +02:00
Andreas Jaeger 4c168c6e9d except.c: Remove duplicate declaration of push_eh_cleanup.
* except.c: Remove duplicate declaration of push_eh_cleanup.

	* call.c: Remove extra declaration of inhibit_warnings.

From-SVN: r68065
2003-06-17 07:08:00 +02:00
Matt Kraai 23d6baa345 bindgen.adb (Gen_Main_Ada, Gen_Main_C): Do not test Bind_Main_Program.
* bindgen.adb (Gen_Main_Ada, Gen_Main_C): Do not test
	Bind_Main_Program.

From-SVN: r68061
2003-06-17 02:55:27 +00:00
Nathanael Nerode cc0651d28d sysv4.h: Remove target-independent comment; replace "GNU CC" with "GCC".
* config/sparc/sysv4.h: Remove target-independent comment;
	replace "GNU CC" with "GCC".

From-SVN: r68058
2003-06-17 01:31:39 +00:00
Nathanael Nerode b06c827cb8 * config/vxworks.h: Replace "GNU compiler" with "GCC".
From-SVN: r68057
2003-06-17 01:07:04 +00:00
Nathanael Nerode de0a398e83 aout.h, [...]: Replace "GNU compiler", "GNU CC" with "GCC".
* config/sparc/aout.h, config/sparc/biarch64.h, config/sparc/elf.h,
	config/sparc/freebsd.h, config/sparc/linux.h, config/sparc/linux64.h,
	config/sparc/lite.h, config/sparc/litecoff.h, config/sparc/liteelf.h,
	config/sparc/netbsd-elf.h, config/sparc/openbsd.h,
	config/sparc/rtemself.h, config/sparc/sol2-64.h,
	config/sparc/sol2-bi.h, config/sparc/sol2-gas-bi.h,
	config/sparc/sol2-gld-bi.h, config/sparc/sol2-gld.h,
	config/sparc/sol2.h, config/sparc/sp64-aout.h,
	config/sparc/sp64-elf.h, config/sparc/sp86x-elf.h,
	config/sparc/sparc-protos.h, config/sparc/sysv4-only.h: Replace
	"GNU compiler", "GNU CC" with "GCC".

From-SVN: r68056
2003-06-17 01:00:44 +00:00
Nathanael Nerode 4d8af13f37 cypress.md, [...]: Replace "GNU CC", "GNU Compiler", and "GNU C Compiler" with "GCC".
* config/sparc/cypress.md, config/sparc/hypersparc.md,
	config/sparc/sparc-modes.def, config/sparc/sparc.c,
	config/sparc/sparc.md, config/sparc/sparclet.md,
	config/sparc/supersparc.md, config/sparc/ultra1_2.md,
	config/sparc/ultra3.md: Replace "GNU CC", "GNU Compiler", and
	"GNU C Compiler" with "GCC".

From-SVN: r68055
2003-06-17 00:39:21 +00:00
Nathanael Nerode 770948629a * config/ip2k/ip2k.h: Replace "GNU CC" and "GNU compiler" with "GCC".
From-SVN: r68054
2003-06-17 00:16:40 +00:00
GCC Administrator 4463c46363 Daily bump.
From-SVN: r68052
2003-06-17 00:16:09 +00:00
Nathanael Nerode 89aec4b191 mangle.c: Convert to ISO C.
2003-06-16  Jens-Michael Hoffmann  <jensmh@gmx.de>
	* mangle.c: Convert to ISO C.

From-SVN: r68050
2003-06-17 00:06:38 +00:00
Aldy Hernandez 0a84d874f1 simplify-rtx.c (simplify_subreg): Do not over-extend vector constants.
2003-06-16  Aldy Hernandez  <aldyh@redhat.com>

	* simplify-rtx.c (simplify_subreg): Do not over-extend vector
	constants.

	* testsuite/gcc.c-torture/execute/simd-4.c: New.

[[Split portion of a mixed commit.]]

From-SVN: r68049.2
2003-06-17 00:05:09 +00:00
Aldy Hernandez 825bd25cb6 simplify-rtx.c (simplify_subreg): Do not over-extend vector constants.
2003-06-16  Aldy Hernandez  <aldyh@redhat.com>

	* simplify-rtx.c (simplify_subreg): Do not over-extend vector
	constants.

	* testsuite/gcc.c-torture/execute/simd-4.c: New.

[[Split portion of a mixed commit.]]

From-SVN: r68047.2
2003-06-17 00:03:24 +00:00
Nathanael Nerode c24851dee5 * config/ip2k/ip2k.h: Remove target-independent comments.
From-SVN: r68046
2003-06-17 00:03:11 +00:00
Nathanael Nerode 9cd598aa72 config.gcc: Explicitly mention elfos.h in ip2k entry.
* config.gcc: Explicitly mention elfos.h in ip2k entry.
	* config/ip2k/ip2k.h: Don't #include it here.

From-SVN: r68045
2003-06-16 22:38:25 +00:00
Andreas Jaeger e7bb351101 abi_check.cc: Create summary report.
2003-06-16  Andreas Jaeger  <aj@suse.de>

        * testsuite/abi_check.cc: Create summary report.

From-SVN: r68044
2003-06-16 22:09:03 +00:00
Kaveh R. Ghazi fad205ffba decl.c, [...]: Don't use the PTR macro.
cp:
	* cp/decl.c, cp/pt.c, cp/search.c, cp/tree.c: Don't use the PTR
	macro.

gcc:
	* bitmap.c, builtins.c, c-incpath.c, cgraph.c, config/frv/frv.c,
	config/mips/mips.c, cppfiles.c, cpphash.c, cppinit.c, cpplib.c,
	dwarf2out.c, dwarfout.c, except.c, expr.c, expr.h, fold-const.c,
	function.c, gcc.c, genoutput.c, gensupport.c, global.c,
	haifa-sched.c, hashtable.c, ifcvt.c, integrate.c, local-alloc.c,
	loop.c, mips-tdump.c, mips-tfile.c, mkdeps.c, protoize.c,
	read-rtl.c, recog.h, reload1.c, sbitmap.c, ssa-dce.c,
	stringpool.c, tlink.c, tree.c, varasm.c, varray.c: Don't use
	the PTR macro.

From-SVN: r68043
2003-06-16 21:41:10 +00:00
Kaveh R. Ghazi 4ff5837176 gengtype.c: Don't use UNION_INIT_ZERO.
* gengtype.c: Don't use UNION_INIT_ZERO.
	* system.h (UNION_INIT_ZERO): Delete.

From-SVN: r68042
2003-06-16 21:29:20 +00:00
Paolo Carlini 8363b7738f 1-in.cc: Fix for systems with BUFSIZ != 8192.
2003-06-16  Paolo Carlini  <pcarlini@unitus.it>

	* testsuite/27_io/basic_filebuf/sgetn/char/1-in.cc: Fix
	for systems with BUFSIZ != 8192.
	* testsuite/27_io/basic_filebuf/sgetn/char/1-io.cc: Ditto.
	* testsuite/27_io/basic_filebuf/sgetn/char/1-out.cc:
	Minor tweaks.

From-SVN: r68041
2003-06-16 21:24:40 +00:00
Nathanael Nerode b57b79f767 * tree.c: Convert to ISO C.
From-SVN: r68040
2003-06-16 21:04:12 +00:00
Richard Henderson 799ab2c713 simplify-rtx.c (simplify_subreg): Use GET_MODE_SIZE instead of GET_MODE_UNIT_SIZE when simplifying constant vectors.
2003-06-16  Richard Henderson  <rth@redhat.com>

	* simplify-rtx.c (simplify_subreg): Use GET_MODE_SIZE instead of
	GET_MODE_UNIT_SIZE when simplifying constant vectors.

From-SVN: r68038
2003-06-16 20:56:20 +00:00
Andreas Jaeger 33b0d00f2a timevar.c (get_run_time): Remove function provided also by libiberty.
* timevar.c (get_run_time): Remove function provided also by
	libiberty.
	* timevar.h: Remove get_run_time declaration.

From-SVN: r68037
2003-06-16 22:40:47 +02:00
Kazu Hirata 3391875b69 m68hc11.c (m68hc11_rtx_costs): Remove unreachable code.
* config/m68hc11/m68hc11.c (m68hc11_rtx_costs): Remove
	unreachable code.

From-SVN: r68036
2003-06-16 20:14:44 +00:00
Kaveh R. Ghazi 9a23858679 builtin-attrs.def, [...]: Don't use macros from "symcat.h", instead rely on ISO C.
* builtin-attrs.def, builtin-attrs.def, builtins.c, cpplex.c,
	cpplib.c, gencheck.c, gengenrtl.c, machmode.def, protoize.c: Don't
	use macros from "symcat.h", instead rely on ISO C.

	* system.h: Don't include "symcat.h".
	* configure.in (AC_C_STRINGIZE): Delete.
	* config.in, configure: Regenerate.

From-SVN: r68035
2003-06-16 19:14:22 +00:00
Mark Mitchell 786a48dd97 gcc-dg.exp (dg-xfail-if): Fix thinko.
* lib/gcc-dg.exp (dg-xfail-if): Fix thinko.
	* gcc.c-torture/compile/simd-5.c: Remove spurious PowerPC-64 XFAIL
	indications.

From-SVN: r68034
2003-06-16 19:12:15 +00:00
Mark Mitchell a48e7d3616 simd-5.c: Correct SPARC XFAIL indications.
* gcc.c-torture/compile/simd-5.c: Correct SPARC XFAIL indications.
	Remove spurious PowerPC-64 XFAIL indications.

From-SVN: r68033
2003-06-16 19:04:36 +00:00
Richard Kenner f0c4fac7fe * Makefile.in (install-mkheaders): Use INSTALL_SCRIPT for scripts.
From-SVN: r68032
2003-06-16 15:00:37 -04:00
Richard Kenner 55448d1203 Whitespace change.
From-SVN: r68031
2003-06-16 14:56:09 -04:00
Benjamin Kosnik 5ab481e097 [multiple changes]
2003-06-16  Andreas Jaeger  <aj@suse.de>

	* acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): Make
	check-abi multilib aware.
	* aclocal.m4: Regenerate.
	* configure: Regenerate.

2003-06-16  Benjamin Kosnik  <bkoz@redhat.com>
            Andreas Jaeger  <aj@suse.de>

	* configure.host: Set x86_64 abi_baseline pair correctly.

From-SVN: r68029
2003-06-16 18:44:50 +00:00
Richard Kenner 7f42b6d718 tree.h (STMT_CHECK): New macro.
* tree.h (STMT_CHECK): New macro.
	Also upper-case argument names on all checking macros and
	fix some whitespace problems; assume CODE argument does not
	have side-effects.

From-SVN: r68028
2003-06-16 14:27:15 -04:00
Kaveh R. Ghazi 2a0621b949 scan.h: Convert to ISO C.
* scan.h: Convert to ISO C.
	* system.h: Likewise.

From-SVN: r68027
2003-06-16 18:24:08 +00:00
Graeme Peterson 83415b0b13 * MAINTAINERS (Write After Approval): Add myself.
From-SVN: r68026
2003-06-16 18:04:10 +00:00
Joern Rennecke 26d8387960 fix typo in last patch
From-SVN: r68024
2003-06-16 18:12:12 +01:00
Kaveh R. Ghazi 89d09f835a c-format.c (dynamic_format_types): New pointer for dynamic data.
* c-format.c (dynamic_format_types): New pointer for dynamic data.
	(find_length_info_modifier_index, init_dynamic_asm_fprintf_info):
	New functions split out of...
	(handle_format_attribute): ...here.

From-SVN: r68023
2003-06-16 16:34:04 +00:00
J"orn Rennecke 735cb76eba sh.h (REG_CLASS_FROM_LETTER): Change to: (REG_CLASS_FROM_CONSTRAINT).
* sh.h (REG_CLASS_FROM_LETTER): Change to:
	(REG_CLASS_FROM_CONSTRAINT).
	(CONST_OK_FOR_I): Rename to:
	(CONST_OK_FOR_I08).  Changed all users.
	(CONST_OK_FOR_J): Rename to:
	(CONST_OK_FOR_I16).  Changed all users.
	(CONST_OK_FOR_K): Rename to:
	(CONST_OK_FOR_P27).  Changed all users.
	(CONST_OK_FOR_L): Rename to:
	(CONST_OK_FOR_K08).  Changed all users.
	(CONST_OK_FOR_O): Rename to:
	(CONST_OK_FOR_I06).  Changed all users.
	(CONST_OK_FOR_P): Rename to:
	(CONST_OK_FOR_I10).  Changed all users.
	(CONSTRAINT_LEN, CONST_OK_FOR_I, CONST_OK_FOR_J16): Define.
	(CONST_OK_FOR_J, CONST_OK_FOR_K, CONST_OK_FOR_P): Likewise.
	(EXTRA_CONSTRAINT_A, EXTRA_CONSTRAINT_Bsc): Likewise.
	(EXTRA_CONSTRAINT_B, PIC_OFFSET_P, PIC_DIRECT_ADDR_P): Likewise.
	(EXTRA_CONSTRAINT_Cpg, EXTRA_CONSTRAINT_C): Likewise.
	(EXTRA_MEMORY_CONSTRAINT,(EXTRA_CONSTRAINT_Sr0): Likewise.
	(CONST_OK_FOR_LETTER_P): Replace with
	(CONST_OK_FOR_CONSTRAINT_P).
	(EXTRA_CONSTRAINT_S): Rename to:
	(EXTRA_CONSTRAINT_C16).  Changed all users.
	(MOVI_SHORI_BASE_OPERAND_P): Don't allow direct addresses.
	(EXTRA_CONSTRAINT_T): Rename to:
	(EXTRA_CONSTRAINT_Csy).  Changed all users.
	(EXTRA_CONSTRAINT_Z): Remove.
	(EXTRA_CONSTRAINT): Replace with:
	(EXTRA_CONSTRAINT_STR).
	(EXTRA_CONSTRAINT_U): Rename to:
	 (EXTRA_CONSTRAINT_Z).  Changed all users.
	* sh.c (and_operand): Use CONST_OK_FOR_J16.
	* sh.md (cmpeqsi_t-1, cmpeqsi_t, adddi3_media): Use new constraints.
	(addsi3_media, addsi3_compact, andsi3_compact, anddi3): Likewise.
	(iorsi3, iordi3, xorsi3, xordi3, ashlsi3_std, ashlhi3_k): Likewise.
	(lshrsi3_k, movsi_i, movsi_ie, movsi_i_lowpart, movsi_media): Likewise.
	(movsi_media_nofpu, movqi_media, movhi_i, movhi_media): Likewise.
	(*movdi_i, movdi_media, movdi_media_nofpu, shori_media): Likewise.
	(movdf_media, movdf_media_nofpu, movv2sf_i, movv4sf_i): Likewise.
	(movsf_media, movsf_media_nofpu, movsi_y, beq_media): Likewise.
	(beq_media_i, bne_media, pt, ptb, movv8qi_i, movv2hi_i): Likewise.
	(movv4hi_i, movv2si_i, negcmpeqv8qi, negcmpeqv2si): Likewise.
	(negcmpeqv4hi, negcmpgtuv8qi, negcmpgtv2si, negcmpgtv4hi): Likewise.
	(mcmv, mcnvs_lw, mcnvs_wb, mcnvs_wub, mextr_rl, mextr_lr): Likewise.
	(mextr1, mextr2, mextr3, mextr4, mextr5, mextr6, mextr7): Likewise.
	(mperm_w, mperm_w_little, mperm_w_big, msad_ubq_i): Likewise.
	(mshards_q, mshfhi_b, mshflo_b, mshf4_b, mshf0_b, mshfhi_l): Likewise.
	(mshflo_l, mshf4_l, mshf0_l, mshfhi_w, mshflo_w, mshf4_w): Likewise.
	(mshf0_w, mshflo_w_x, mshfhi_l_di, mshfhi_l_di_rev): Likewise.
	(mshflo_l_di_rev, mshflo_l_di_x, concat_v2sf): Likewise.
	(mshflo_l_di_x_rev, subv2si3, subv4hi3, sssubv2si3): Likewise.
	(sssubv4hi3): Likewise.
	(movsf_i): Change I[08]/r to G/r.
	(movsf_ie): Change f/{G,H}/c/X to f/{G,H}/c/Bsc.

	* sh.c (sh_output_mi_thunk): Use CONST_OK_FOR_ADD.

From-SVN: r68022
2003-06-16 17:23:30 +01:00
Paolo Carlini 0bad3b7c49 1.cc: Split and fix for missing seeks between gets and puts into...
2003-06-16  Paolo Carlini  <pcarlini@unitus.it>

        * testsuite/27_io/basic_filebuf/sungetc/char/1.cc: Split and
        fix for missing seeks between gets and puts into...
	* testsuite/27_io/basic_filebuf/sungetc/char/1-in.cc: New.
        * testsuite/27_io/basic_filebuf/sungetc/char/1-io.cc: New.
        * testsuite/27_io/basic_filebuf/sungetc/char/1-out.cc: New.
        * testsuite/27_io/basic_filebuf/sungetc/char/2-in.cc: New.
	* testsuite/27_io/basic_filebuf/sungetc/char/2-io.cc: New.
	* testsuite/27_io/basic_filebuf/sungetc/char/2-out.cc: New.

From-SVN: r68021
2003-06-16 16:20:28 +00:00
Vladimir Makarov bce7597204 i386.c (ix86_memory_move_cost): Fix typo.
2003-06-16  Vladimir Makarov  <vmakarov@redhat.com>

	* config/i386/i386.c (ix86_memory_move_cost): Fix typo.

From-SVN: r68020
2003-06-16 15:26:44 +00:00
Andreas Jaeger 9286d5a8a0 basic-block.h: Remove duplicate prototype of note_prediction_to_br_prob.
* basic-block.h: Remove duplicate prototype of
	note_prediction_to_br_prob.

From-SVN: r68019
2003-06-16 17:21:37 +02:00
Andreas Jaeger ebf0d3926b * tree.h: Remove duplicate prototype of strip_float_extensions.
From-SVN: r68018
2003-06-16 16:58:03 +02:00
J"orn Rennecke 266a27326f sh.c (prepare_move_operand): Check if operand 0 is an invalid memory reference.
* sh.c (prepare_move_operand): Check if operand 0 is an invalid
	memory reference.  Fix test that checks if operand 1 is using r0.
	* sh.md (movhi_i): Don't allow st.w r0,@(rX,rY) .

From-SVN: r68017
2003-06-16 15:56:38 +01:00
Kaveh R. Ghazi 0eff02cdae c4x.c: Don't include "c-tree.h".
* config/c4x/c4x.c: Don't include "c-tree.h".
	* config/pa/pa.c: Likewise.
	* langhooks.c: Likewise.
	* tree.h (poplevel): Declare.

From-SVN: r68016
2003-06-16 13:41:28 +00:00
Kazu Hirata 4de8668e9c cp-tree.h: Follow spelling conventions.
* cp-tree.h: Follow spelling conventions.
	* mangle.c: Likewise.
	* method.c: Likewise.
	* parser.c: Likewise.

From-SVN: r68015
2003-06-16 13:15:37 +00:00
Kazu Hirata 08dca707da h8300.c (const_costs): Move this to ...
* config/h8300/h8300.c (const_costs): Move this to ...
	(h8300_rtx_costs): ... here.

From-SVN: r68014
2003-06-16 13:03:42 +00:00
Roger Sayle 82d397c794 optabs.h (enum optab_index): Add new OTI_tan and OTI_atan.
* optabs.h (enum optab_index): Add new OTI_tan and OTI_atan.
	(tan_optab, atan_optab): Define corresponding macros.
	* optabs.c (init_optabs): Initialize tan_optab and atan_optab.
	* genopinit.c (optabs): Implement tan_optab and atan_optab
	using tan?f2 and atan?f2 patterns.
	* builtins.c (expand_builtin_mathfn): Handle BUILT_IN_TAN{,F,L}
	using tan_optab, and BUILT_IN_ATAN{,F,L} using atan_optab.
	Change the default value of errno_set to false.
	(expand_builtin): Expand BUILT_IN_TAN{,F,L} and BUILT_IN_ATAN{,F,L}
	using expand_builtin_mathfn.

	* config/i386/i386.md (atansf2, atandf2, atanxf2, atantf2): New
	expander patterns implemented using existing atan2?f3 patterns.

	* gcc.dg/i386-387-5.c: New test case.
	* gcc.dg/i386-387-6.c: New test case.
	* gcc.dg/builtins-23.c: New test case.

From-SVN: r68013
2003-06-16 12:53:16 +00:00
Roger Sayle c6547c920b expr.c (expand_expr <PLUS_EXPR>): If operand_equal_p considers both operands of the addition equal...
* expr.c (expand_expr <PLUS_EXPR>): If operand_equal_p considers
	both operands of the addition equal, reuse the expanded RTL.
	(expand_expr <MULT_EXPR>): Likewise for multiplication.

From-SVN: r68012
2003-06-16 12:45:13 +00:00
Roger Sayle 21c43754a6 fold-const.c (operand_equal_p): Consider two calls to "const" functions with identical non-volatile arguments...
* fold-const.c (operand_equal_p): Consider two calls to "const"
	functions with identical non-volatile arguments to be equal.
	Consider the FUNCTION_DECL for the "__builtin_foo" form of a
	built-in function to be equal to the "foo" form.

Co-Authored-By: Jeff Law <law@redhat.com>

From-SVN: r68011
2003-06-16 12:42:48 +00:00
Nathanael Nerode 1a9962c230 Fix typo.
From-SVN: r68010
2003-06-16 12:16:07 +00:00