1. 29 Sep, 2003 27 commits
  2. 28 Sep, 2003 13 commits
    • c-decl.c (duplicate_decls): Copy DECL_SOURCE_LOCATION, not file and line separately. · 436fac17
              * c-decl.c (duplicate_decls): Copy DECL_SOURCE_LOCATION, not
              file and line separately.
      
      f/
              * com.c (duplicate_decls): Copy DECL_SOURCE_LOCATION, not
              file and line separately.
      java/
              * check-init.c (check_init): Save and restore input_location
              instead of file and line separately.
              * decl.c (java_expand_body): Likewise.
              * jcf-write.c (generate_bytecode_insns): Likewise.
              * parse.y (safe_layout_class): Likewise.
              * jcf-parse.c (read_class, parse_class_file): Likewise.
              (java_parse_file): Use %H for warning locator.
      
      From-SVN: r71886
      Richard Henderson committed
    • s390.md ("*adddi3_carry1_cc", [...]): New insns. · b2ba71ca
      	* config/s390/s390.md ("*adddi3_carry1_cc", "*adddi3_carry1_cconly",
      	"*adddi3_carry2_cc", "*adddi3_carry2_cconly", "*subdi3_borrow_cc",
      	"*subdi3_borrow_cconly"): New insns.
      	("*addsi3_sub", "*subsi3_sub"): Remove.
      	("*subdi3_cc", *subdi3_cconly"): Use only if TARGET_64BIT.
      	("*subsi3_cc"): Fix op_type attribute.
      
      From-SVN: r71885
      Ulrich Weigand committed
    • stmt.c (expand_asm_operands): Take a location_t, instead of individual file and line. · 177560b2
              * stmt.c (expand_asm_operands): Take a location_t, instead of
              individual file and line.
              * c-typeck.c (c_expand_asm_operands): Likewise.
              * tree.h (expand_asm_operands): Update decl.
              * c-common.h (c_expand_asm_operands): Likewise.
              * c-semantics (genrtl_asm_stmt): Update call.
      cp/
              * typeck.c (c_expand_asm_operands): Take location_t, instead of
              individual file and line.
      ada/
              * trans.c (tree_transform): Update call to expand_asm_operands.
      
      From-SVN: r71884
      Richard Henderson committed
    • expr.c (java_check_reference): Use the semantics of COND_EXPRs with void-type… · 37e2180d
      expr.c (java_check_reference): Use the semantics of COND_EXPRs with void-type branches instead of using a...
      
      
      	* expr.c (java_check_reference): Use the semantics of COND_EXPRs
      	with void-type branches instead of using a COMPOUND_EXPR.
      
      From-SVN: r71883
      Roger Sayle committed
    • decl.c (java_optimize_inline, [...]): Remove. · 9220b1ba
      * decl.c (java_optimize_inline, dump_function): Remove.
      * java-tree.h (java_optimize_inline): Remove declaration.
      * jcf-parse.c (java_parse_file): Assume flag_unit_at_a_time is set.
      * parse.y (source_end_java_method, java_expand_classes):
      Likewise.  Remove dead code.
      
      From-SVN: r71882
      Jeff Sturm committed
    • arm.c (legitimize_pic_address): Check SYMBOL_REF_LOCAL_P, not ENCODED_SHORT_CALL_ATTR_P. · 94428622
      2003-09-28  Philip Blundell  <philb@gnu.org>
      
      	* config/arm/arm.c (legitimize_pic_address): Check
      	SYMBOL_REF_LOCAL_P, not ENCODED_SHORT_CALL_ATTR_P.
      	(arm_assemble_integer): Likewise.
      
      From-SVN: r71881
      Philip Blundell committed
    • pdp11-protos.h, [...]: Convert to ISO C90 function declarations and definitions. · f12b3fc8
      	* config/pdp11/pdp11-protos.h, config/pdp11/pdp11.c,
      	config/c4x/c4x-c.c, config/c4x/c4x-protos.h, config/c4x/c4x.c,
      	config/c4x/c4x.h:
      	Convert to ISO C90 function declarations and definitions.
      
      From-SVN: r71880
      Steven Bosscher committed
    • friend19.C: Fix typo. · 753aaa17
      	* g++.dg/template/friend19.C: Fix typo.
      	* g++.old-deja/g++.other/crash31.C: Adjust expected error.
      
      From-SVN: r71879
      Kriang Lerdsuwanakij committed
    • stormy16.c, [...]: Convert to ISO C90 function declarations and definitions. · 51c16b7e
      	* config/stormy16/stormy16.c, config/stormy16/stormy16-protos.h:
      	Convert to ISO C90 function declarations and definitions.
      
      From-SVN: r71878
      Steven Bosscher committed
    • mips.c (mips_constant_info): Add reloc field. · c54859d3
      	* config/mips/mips.c (mips_constant_info): Add reloc field.
      	(mips_classify_constant): Initialize it.  Always set SYMBOL to the
      	underlying symbol, not to an unspec.
      	(mips_delegitimize_address, print_operand): Clean up accordingly.
      
      From-SVN: r71877
      Richard Sandiford committed
    • mips-protos.h (mips16_gp_pseudo_reg): Remove. · d34053ed
      	* config/mips/mips-protos.h (mips16_gp_pseudo_reg): Remove.
      	* config/mips/mips.h (LEGITIMATE_CONSTANT_P): Remove orphaned comment.
      	* config/mips/mips.c (mips_reloc_offset_ok_p): New function.
      	(mips_classify_constant): Use it.
      	(mips_splittable_symbol_p): Add an offset argument.
      	(mips_classify_address): Adjust call accordingly.
      	(mips_legitimize_symbol): Handle sdata references with LO_SUM rather
      	than a relocation unspec.  Update call to mips_splittable_symbol_p.
      	Generalize the code that copes with symbols + invalid offsets.
      	(print_operand): Allow '%R' to be applied to small data addresses.
      	(mips_reloc_string): Remove RELOC_GPREL16.
      	(mips_sdata_pointer): Renamed from mips16_gp_pseudo_reg.  Return $gp
      	for TARGET_EXPLICIT_RELOCS.  Return null if we can't use gp-relative
      	relocation operators.
      	* config/mips/mips.md (RELOC_GPREL16): Remove.  Shuffle other reloc
      	constants accordingly.
      
      From-SVN: r71876
      Richard Sandiford committed
    • toplev.c (flag_evaluation_order): New global variable. · c67e6e14
      
      	* toplev.c (flag_evaluation_order): New global variable.
      	* flags.h (flag_evaluation_order): Prototype here.
      	* expr.c (expand_operands): If we need to preserve observable
      	evaluation order, protect exp1 from clobbering exp0's result.
      
      	* java/lang.c (java_init_options): Set flag_evaluation_order.
      	* java/expr.c (force_evaluation_order): Don't attempt to force
      	evaluation order of binary operations using save_expr.
      	* java/parse.y (java_complete_lhs): No longer need to call
      	force_evaluation_order when constructing binary operators.
      
      From-SVN: r71873
      Roger Sayle committed
    • c-decl.c (finish_function): Convert definition to ISO C90. · edaf3e03
      
      	* c-decl.c (finish_function): Convert definition to ISO C90.
      	* ifcvt.c (mark_loop_exit_edges): Likewise.
      	* ra-rewrite.c (emit_colors): Likewise.
      
      For cp:
      
      	* decl.c (cxx_builtin_type_decls): Convert to ISO C90 function
      	definition.
      	* init.c (push_base_cleanups): Likewise.
      	* decl2.c (finish_file): Likewise.
      	* mangle.c (init_mangle): Likewise.
      	(dump_substitution_candidates): Likewise.
      	* search.c: Likewise.
      
      From-SVN: r71872
      Andreas Jaeger committed