1. 16 Jun, 2003 31 commits
    • 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
    • i386.c (ix86_memory_move_cost): Fix typo. · bce75972
      2003-06-16  Vladimir Makarov  <vmakarov@redhat.com>
      
      	* config/i386/i386.c (ix86_memory_move_cost): Fix typo.
      
      From-SVN: r68020
      Vladimir Makarov committed
    • basic-block.h: Remove duplicate prototype of note_prediction_to_br_prob. · 9286d5a8
      	* basic-block.h: Remove duplicate prototype of
      	note_prediction_to_br_prob.
      
      From-SVN: r68019
      Andreas Jaeger committed
    • sh.c (prepare_move_operand): Check if operand 0 is an invalid memory reference. · 266a2732
      	* 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
      J"orn Rennecke committed
    • c4x.c: Don't include "c-tree.h". · 0eff02cd
      	* 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
      Kaveh R. Ghazi committed
    • cp-tree.h: Follow spelling conventions. · 4de8668e
      	* cp-tree.h: Follow spelling conventions.
      	* mangle.c: Likewise.
      	* method.c: Likewise.
      	* parser.c: Likewise.
      
      From-SVN: r68015
      Kazu Hirata committed
    • h8300.c (const_costs): Move this to ... · 08dca707
      	* config/h8300/h8300.c (const_costs): Move this to ...
      	(h8300_rtx_costs): ... here.
      
      From-SVN: r68014
      Kazu Hirata committed
    • optabs.h (enum optab_index): Add new OTI_tan and OTI_atan. · 82d397c7
      
      	* 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
      Roger Sayle committed
    • expr.c (expand_expr <PLUS_EXPR>): If operand_equal_p considers both operands of… · c6547c92
      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
      Roger Sayle committed
    • fold-const.c (operand_equal_p): Consider two calls to "const" functions with… · 21c43754
      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
      Roger Sayle committed
    • Fix typo. · 1a9962c2
      From-SVN: r68010
      Nathanael Nerode committed
    • sysv4le.h: Remove target-independent comment. · 93ffe49c
      	* config/rs6000/sysv4le.h: Remove target-independent comment.
      	Replace "GNU compiler" with "GCC" in comment.
      
      From-SVN: r68009
      Nathanael Nerode committed
    • tracer.c: Remove duplication declaration. · baaa1222
      	* tracer.c: Remove duplication declaration.
      
      	* toplev.c: Remove extra declaration of decode_d_option.
      
      	* ssa.c: Remove duplicate declaration.
      
      	* sreal.c: Remove extra declaration of dump_sreal.
      
      	* reload1.c: Remove duplicate declarations.
      
      	* integrate.c: Remove extra declaration of
      	set_decl_abstract_flags.
      
      	* flow.c: Remove extra declaration of dump_flow_info.
      
      	* alias.c: Remove extra declaration of get_addr.
      
      From-SVN: r68006
      Andreas Jaeger committed
    • rtems.h, [...]: GNU CC -> GCC. · 814499a4
      	* config/rtems.h, config/sol2.h, config/svr4.h, config/usegas.h,
      	config/vxworks.h: GNU CC -> GCC.
      
      From-SVN: r68005
      Nathanael Nerode committed
    • convert.c, [...]: Replace overly specific references to "GNU C" and "GNU C Compiler" with... · 5e6908ea
      	* convert.c, dwarf2out.c, dwarfout.c, emit-rtl.c, function.c,
      	lists.c, print-rtl.c, print-tree.c, read-rtl.c, rtl-error.c,
      	stmt.c, toplev.c, integrate.h, loop.h, machmode.h, rtl.h,
      	ssa.h, tree.def: Replace overly specific references to "GNU C"
      	and "GNU C Compiler" with references to "GCC".
      
      From-SVN: r68004
      Nathanael Nerode committed
    • function.h (struct emit_status): Remove x_last_linenum, x_last_filename. · fd3acbb3
      	* function.h (struct emit_status): Remove x_last_linenum,
      	x_last_filename. Add x_last_location.
      	* rtl.h: #include "input.h".
      	(NOTE_DATA): New.
      	* cfglayout.c (duplicate_insn_chain): Use emit_line_note for line
      	number notes.
      	* emit-rtl.c (last_linenum, last_filename): Remove.
      	(last_location): New.
      	(emit_line_note_after): LINE must always be >= 0.
      	(emit_line_note): Likewise. Check not duplicate here...
      	(emit_note): ... rather than here.
      	(emit_line_note_force, force_next_line_note, init_emit): Adjust.
      	* integrate.c (expand_inline_function): Use emit_line_note for
      	line number notes.
      	(copy_insn_list): Likewise.
      	* unroll.c (copy_loop_body): Likewise.
      	* Makefile.in (RTL_H): Add input.h.
      
      From-SVN: r68002
      Nathan Sidwell committed
    • alpha-protos.h, [...]: Update to ISO C. · a5c24926
              * config/alpha/alpha-protos.h, config/alpha/elf.h,
              config/alpha/osf.h, config/alpha/unicosmk.h, config/alpha/vms.h,
              config/alpha/vms-cc.c, config/alpha/vms-ld.c: Update to ISO C.
              * config/alpha/alpha.c: Likewise.  Move targetm init to end of file.
              Remove unneeded static function decls.
      
      From-SVN: r68000
      Richard Henderson committed
    • c-opts.c (c_common_handle_option): s/on/value/. · 7b086b11
      	* c-opts.c (c_common_handle_option): s/on/value/.
      	(OPT_fabi_version_, OPT_ftabstop_, OPT_ftemplate_depth_): Use value
      	directly rather than converting the argument.
      	* c.opt: Update docs.  Use UInteger where appropriate.
      	* common.opt: Use UInteger where appropriate.
      	* opts.c (integral_argument): New.
      	(handle_argument): Handle integral arguments, and optional
      	joined arguments.
      	(common_handle_option): Update.
      	* opts.h (CL_MISSING_OK, CL_UINTEGER): New.
      	* opts.sh: Handle JoinedOrMissing and UInteger flags.
      java:
      	* lang.c (java_handle_option): Special-casing of optional
      	joined arguments no longer needed.
      	* lang.opt: Update switches that take optional argument.
      
      From-SVN: r67999
      Neil Booth committed
    • sysv4.h (ASM_OUTPUT_ALIGNED_LOCAL): Remove unnecessary extern declaration. · 89aa997a
      	* config/rs6000/sysv4.h (ASM_OUTPUT_ALIGNED_LOCAL): Remove
      	unnecessary extern declaration.
      
      From-SVN: r67998
      Neil Booth committed
    • gofast.h, [...]: GNU CC -> GCC. · 2a71dcad
      	* config/gofast.h, config/interix.h, config/interix3.h,
      	config/libgloss.h, config/linux-aout.h, config/linux.h,
      	config/lynx-ng.h, config/lynx.h: GNU CC -> GCC.
      	* config/kaos.h: "GNU compiler" -> GCC.
      	* config/linux-aout.h, config/lynx.h: Clarify comment describing file.
      
      From-SVN: r67997
      Nathanael Nerode committed
    • crt0.S, [...]: GNU CC -> GCC. · 0743f00d
      	* config/ip2k/crt0.S, config/ip2k/ip2k-protos.h,
      	config/ip2k/ip2k.c, config/ip2k/ip2k.md, config/ip2k/libgcc.S:
      	GNU CC -> GCC.
      
      From-SVN: r67996
      Nathanael Nerode committed
    • svr3.h: Remove #if 0 code, misleading comments. · 612aeba5
      	* config/svr3.h: Remove #if 0 code, misleading comments.
      	GNU CC -> GCC.
      
      From-SVN: r67995
      Nathanael Nerode committed
    • Daily bump. · 44f324c4
      From-SVN: r67993
      GCC Administrator committed
  2. 15 Jun, 2003 9 commits