1. 17 Jun, 2003 18 commits
    • dbxout.c (dbxout_source_line_counter): New global variable. · a8d0467e
      	* dbxout.c (dbxout_source_line_counter): New global variable.
      	Mark it with GTY(()).
      	(dbxout_source_line): Increment dbxout_source_line_counter
      	and pass it to ASM_OUTPUT_SOURCE_LINE.
      	* sdbout.c (sdbout_source_line_counter): New global variable.
      	Mark it with GTY(()).
      	(unnamed_struct_number): Mark it with GTY(()).
      	(sdbout_source_line): Increment sdbout_source_line_counter
      	and pass it to ASM_OUTPUT_SOURCE_LINE.
      	* xcoffout.c (ASM_OUTPUT_SOURCE_LINE): Add third parameter
      	(xcoffout_source_line): Pass 0 as third argument to
      	ASM_OUTPUT_SOURCE_LINE.
      	(xcoffout_begin_prologue): Likewise.
      	* config/dbxout.h (ASM_OUTPUT_SOURCE_LINE): Add third parameter.
      	Use it instead of 'sym_lineno' but without incrementing it.
      	* config/dbxelf.h (ASM_OUTPUT_SOURCE_LINE): Likewise.
      	* config/lynx.h (ASM_OUTPUT_SOURCE_LINE): Likewise.
      	* config/ptx4.h (ASM_OUTPUT_SOURCE_LINE): Likewise.
      	* config/alpha/alpha.c (alpha_start_function): Pass 0 as third
      	argument to ASM_OUTPUT_SOURCE_LINE.
      	* config/alpha/alpha.h (ASM_OUTPUT_SOURCE_LINE): Add third parameter.
      	* config/arm/aout.h: Remove useless comment.
      	* config/avr/avr.h (ASM_OUTPUT_SOURCE_LINE): Add third parameter.
      	* config/i960/i960.h (ASM_OUTPUT_SOURCE_LINE): Likewise.
      	* config/m32r/m32r.h (ASM_OUTPUT_SOURCE_LINE): Add third parameter.
      	Use it instead of 'sym_lineno' but without incrementing it.
      	* config/m68k/hp320.h (ASM_OUTPUT_SOURCE_LINE): Add third parameter.
      	* config/mcore/mcore-pe.h (ASM_OUTPUT_SOURCE_LINE): Add third
      	parameter. Use it instead of 'sym_lineno' but without incrementing it.
      	* config/mips/mips.c (mips_output_function_prologue): Pass 0 as third
      	argument to ASM_OUTPUT_SOURCE_LINE.
      	* config/mips/mips.h (ASM_OUTPUT_SOURCE_LINE): Add third parameter.
      	* config/mmix/mmix.h (ASM_OUTPUT_SOURCE_LINE): Likewise.
      	* config/pa/som.h (ASM_OUTPUT_SOURCE_LINE): Add third parameter.
      	Use it instead of 'sym_lineno' but without incrementing it.
      	* config/rs6000/linux64.h (ASM_OUTPUT_SOURCE_LINE): Likewise.
      	* config/sh/elf.h (ASM_OUTPUT_SOURCE_LINE): Likewise.
      	* config/sparc/aout.h (ASM_OUTPUT_SOURCE_LINE): Likewise.
      	* config/sparc/pbd.h (ASM_OUTPUT_SOURCE_LINE): Likewise.
      	* doc/tm.texi (ASM_OUTPUT_SOURCE_LINE): Document third parameter.
      
      From-SVN: r68072
      Eric Botcazou committed
    • mips-protos.h (mips_expand_block_move): Declare. · 730cf822
      	* 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
      Richard Sandiford committed
    • * cpplib.h, cpphash.h, cppcharset.c, cpperror.c, cppexp.c · 6cf87ca4
      	* 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
      Zack Weinberg committed
    • baseline_symbols.txt: Update to 3.3.0. · 82620aaf
      
      2003-06-17  Benjamin Kosnik  <bkoz@redhat.com>
      
      	* config/abi/i486-linux-gnu/baseline_symbols.txt: Update to 3.3.0.
      
      From-SVN: r68069
      Benjamin Kosnik committed
    • 03-06-16 Benjamin Kosnik <bkoz@redhat.com> · c4c064e7
      	* 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
      Benjamin Kosnik committed
    • rtl.h: Remove declarations from coverage.h. · 5b0e2409
      	* 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
      Andreas Jaeger committed
    • except.c: Remove duplicate declaration of push_eh_cleanup. · 4c168c6e
      	* except.c: Remove duplicate declaration of push_eh_cleanup.
      
      	* call.c: Remove extra declaration of inhibit_warnings.
      
      From-SVN: r68065
      Andreas Jaeger committed
    • bindgen.adb (Gen_Main_Ada, Gen_Main_C): Do not test Bind_Main_Program. · 23d6baa3
      	* bindgen.adb (Gen_Main_Ada, Gen_Main_C): Do not test
      	Bind_Main_Program.
      
      From-SVN: r68061
      Matt Kraai committed
    • sysv4.h: Remove target-independent comment; replace "GNU CC" with "GCC". · cc0651d2
      	* config/sparc/sysv4.h: Remove target-independent comment;
      	replace "GNU CC" with "GCC".
      
      From-SVN: r68058
      Nathanael Nerode committed
    • * config/vxworks.h: Replace "GNU compiler" with "GCC". · b06c827c
      From-SVN: r68057
      Nathanael Nerode committed
    • aout.h, [...]: Replace "GNU compiler", "GNU CC" with "GCC". · de0a398e
      	* 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
      Nathanael Nerode committed
    • cypress.md, [...]: Replace "GNU CC", "GNU Compiler", and "GNU C Compiler" with "GCC". · 4d8af13f
      	* 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
      Nathanael Nerode committed
    • Daily bump. · 4463c463
      From-SVN: r68052
      GCC Administrator committed
    • mangle.c: Convert to ISO C. · 89aec4b1
      	2003-06-16  Jens-Michael Hoffmann  <jensmh@gmx.de>
      	* mangle.c: Convert to ISO C.
      
      From-SVN: r68050
      Nathanael Nerode committed
    • simplify-rtx.c (simplify_subreg): Do not over-extend vector constants. · 0a84d874
      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
      Aldy Hernandez committed
    • simplify-rtx.c (simplify_subreg): Do not over-extend vector constants. · 825bd25c
      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
      Aldy Hernandez committed
  2. 16 Jun, 2003 22 commits
    • config.gcc: Explicitly mention elfos.h in ip2k entry. · 9cd598aa
      	* config.gcc: Explicitly mention elfos.h in ip2k entry.
      	* config/ip2k/ip2k.h: Don't #include it here.
      
      From-SVN: r68045
      Nathanael Nerode committed
    • abi_check.cc: Create summary report. · e7bb3511
      
      2003-06-16  Andreas Jaeger  <aj@suse.de>
      
              * testsuite/abi_check.cc: Create summary report.
      
      From-SVN: r68044
      Andreas Jaeger committed
    • decl.c, [...]: Don't use the PTR macro. · fad205ff
      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
      Kaveh R. Ghazi committed
    • gengtype.c: Don't use UNION_INIT_ZERO. · 4ff58371
      	* gengtype.c: Don't use UNION_INIT_ZERO.
      	* system.h (UNION_INIT_ZERO): Delete.
      
      From-SVN: r68042
      Kaveh R. Ghazi committed
    • 1-in.cc: Fix for systems with BUFSIZ != 8192. · 8363b773
      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
      Paolo Carlini committed
    • * tree.c: Convert to ISO C. · b57b79f7
      From-SVN: r68040
      Nathanael Nerode committed
    • simplify-rtx.c (simplify_subreg): Use GET_MODE_SIZE instead of… · 799ab2c7
      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
      Richard Henderson committed
    • timevar.c (get_run_time): Remove function provided also by libiberty. · 33b0d00f
      	* timevar.c (get_run_time): Remove function provided also by
      	libiberty.
      	* timevar.h: Remove get_run_time declaration.
      
      From-SVN: r68037
      Andreas Jaeger committed
    • m68hc11.c (m68hc11_rtx_costs): Remove unreachable code. · 3391875b
      	* config/m68hc11/m68hc11.c (m68hc11_rtx_costs): Remove
      	unreachable code.
      
      From-SVN: r68036
      Kazu Hirata committed
    • builtin-attrs.def, [...]: Don't use macros from "symcat.h", instead rely on ISO C. · 9a238586
      	* 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
      Kaveh R. Ghazi committed
    • gcc-dg.exp (dg-xfail-if): Fix thinko. · 786a48dd
      	* 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
      Mark Mitchell committed
    • simd-5.c: Correct SPARC XFAIL indications. · a48e7d36
      	* gcc.c-torture/compile/simd-5.c: Correct SPARC XFAIL indications.
      	Remove spurious PowerPC-64 XFAIL indications.
      
      From-SVN: r68033
      Mark Mitchell committed
    • Whitespace change. · 55448d12
      From-SVN: r68031
      Richard Kenner committed
    • [multiple changes] · 5ab481e0
      
      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
      Benjamin Kosnik committed
    • tree.h (STMT_CHECK): New macro. · 7f42b6d7
      	* 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
      Richard Kenner committed
    • scan.h: Convert to ISO C. · 2a0621b9
      	* scan.h: Convert to ISO C.
      	* system.h: Likewise.
      
      From-SVN: r68027
      Kaveh R. Ghazi committed
    • * MAINTAINERS (Write After Approval): Add myself. · 83415b0b
      From-SVN: r68026
      Graeme Peterson committed
    • fix typo in last patch · 26d83879
      From-SVN: r68024
      Joern Rennecke committed
    • c-format.c (dynamic_format_types): New pointer for dynamic data. · 89d09f83
      	* 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
      Kaveh R. Ghazi committed
    • sh.h (REG_CLASS_FROM_LETTER): Change to: (REG_CLASS_FROM_CONSTRAINT). · 735cb76e
      	* 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
      J"orn Rennecke committed
    • 1.cc: Split and fix for missing seeks between gets and puts into... · 0bad3b7c
      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
      Paolo Carlini committed