1. 13 May, 2005 1 commit
  2. 12 May, 2005 23 commits
  3. 11 May, 2005 16 commits
    • re PR fortran/21260 (Conflict between comment and H edit descriptor) · b160dd28
      fortran/
      	PR fortran/21260
      	* io.c (check_format): Look for literal characters inside
      	hollerith constant.
      testsuite/
      	PR fortran/21260
      	* gfortran.dg/hollerith_1.f90: New test.
      
      From-SVN: r99597
      Tobias Schlüter committed
    • re PR target/21412 (ICE loading TLS address) · 5e6c8b64
              PR target/21412
              * config/ia64/ia64.c (TARGET_CANNOT_FORCE_CONST_MEM): New.
              (ia64_cannot_force_const_mem): New.
              (tls_symbolic_operand_type): New.
              (ia64_legitimate_constant_p): New.
              (ia64_expand_load_address): Return true on success.  Improve
              checks for when we should not split.
              (ia64_expand_tls_address): New addend operand.  Distribute it
              as appropriate to the tls_kind.  Delay referencing gp.
              (ia64_expand_move): Split symbolic addend as necessary.  Handle
              tls symbols with addends.
              * config/ia64/ia64-protos.h: Update.
              * config/ia64/ia64.h (CALL_REALLY_USED_REGISTERS): False for r0,
              p0, f0, f1, and r13.
              (LEGITIMATE_CONSTANT_P): Move to ia64_legitimate_constant_p.
              * config/ia64/ia64.md (UNSPEC_DTPMOD): New.
              (symbolic_operand splitter): Pass everything through
              ia64_expand_load_address and FAIL or DONE as appropriate.
              (load_fptr): Only accept after reload.
              (load_fptr_internal1, gprel64_offset, load_gprel64, load_symptr_high,
              load_symptr_low, load_ltoff_dtpmod,
              (load_dtpmod): New.
              (load_dtprel): Only accept tls symbols.
              (load_dtprel64, load_dtprel22): Likewise.
              (load_tprel, load_tprel64, load_tprel22): Likewise.
              (load_dtprel_gd, load_ltoff_dtprel, load_tprel_ie): New.
              (add_dtprel): Only accept tls symbols.  Canonicalize PLUS.
              (add_dtprel14, add_dtprel22): Likewise.
              (add_tprel, add_tprel14, add_tprel22): Likewise.
              * config/ia64/predicates.md (small_addr_symbolic_operand): New.
              (any_offset_symbol_operand, aligned_offset_symbol_operand): New.
              (got_symbolic_operand): Check CONST offsets.
              (tls_symbolic_operand, ld_tls_symbolic_operand): New.
              (ie_tls_symbolic_operand, le_tls_symbolic_operand): New.
              (move_operand): Don't handle tls here.  Check CONST offsets.
      
      From-SVN: r99596
      Richard Henderson committed
    • 7000.md (rm7_impy_si_mult): Just match imul and imadd. · b3315253
      	* config/mips/7000.md (rm7_impy_si_mult): Just match imul and imadd.
      	Remove hilo_operand check.
      	(rm7_impy_si_mul): Just match imul3.  Remove hilo_operand check.
      	* config/mips/predicates.md (hilo_operand): Delete.
      
      From-SVN: r99592
      Richard Sandiford committed
    • * config/mips/sr71k.md, config/mips/7000.md: Reformat. · a8cdbec0
      From-SVN: r99591
      Richard Sandiford committed
    • re PR tree-optimization/18472 (TREE_OPERAND (t, 1) is referenced for t being GOTO_EXPR) · f8535b4d
      	PR tree-optimizer/18472
      	* tree-if-conv.c (tree_if_convert_stmt,
      	if_convertible_modify_expr_p): Don't handle GOTO_EXPR.
      
      From-SVN: r99588
      Kazu Hirata committed
    • Fix incomplete ChagneLog from previous checkin. · 3da7937d
      From-SVN: r99586
      Tobias Schlüter committed
    • Makefile.in (tree-eh.o): Kill gt-tree-eh.h dependency. · b4660e5a
      
      	* Makefile.in (tree-eh.o: Kill gt-tree-eh.h dependency.
      	(GTFILES): add except.h.
      	* except.c (eh_status): Add throw_stmt_table.
      	(set_eh_throw_stmt_table, get_eh_throw_stmt_table): New functions.
      	* except.h (add_stmt_to_eh_region_fn, remove_stmt_from_eh_region_fn,
      	lookup_stmt_eh_region_fn): Declare.
      	(throw_stmt_node): New structure.
      	(set_eh_throw_stmt_table, get_eh_throw_stmt_table): New.
      	* gengtype.c (open_base_files): Add except.h to inlines.
      	* tree-eh.c (throw_stmt_node): Kill.
      	(record_stmt_eh_region): Update.
      	(add_stmt_to_eh_region_fn): Break out from ...
      	(add_stmt_to_eh_region): ... here.
      	(remove_stmt_from_eh_region_fn): Break out from ...
      	(remove_stmt_from_eh_region): ... here.
      	(lookup_stmt_eh_region_fn): Break out from ...
      	(lookup_stmt_eh_region): ... here.
      	(honor_protect_cleanup_actions): Use build_resx.
      	(lower_try_finally_onedest): Likewise.
      	(lower_try_finally_copy): Likewise.
      	(lower_try_finally_switch): Likewise.
      	(lower_eh_constructs): Update eh table construction.
      	* tree.c (build_resx): New.
      	* tree.h (build_resx): Declare.
      
      From-SVN: r99585
      Jan Hubicka committed
    • libgcov.c (gcov_exit): Set prefix_length to 0 if no relocation is needed. · 3ca48b3e
      2005-05-11  H.J. Lu  <hongjiu.lu@intel.com>
      
      	* libgcov.c (gcov_exit): Set prefix_length to 0 if no relocation
      	is needed.
      
      From-SVN: r99584
      H.J. Lu committed
    • tree-ssa-forwprop.c (forward_propagate_into_cond_1): Remove redundant code. · 78f4111d
      	* tree-ssa-forwprop.c (forward_propagate_into_cond_1): Remove
      	redundant code.
      
      From-SVN: r99583
      Kazu Hirata committed
    • * fold-const.c, libgcov.c: Fix comment typos. · 9d6aab7e
      From-SVN: r99582
      Kazu Hirata committed
    • linux-elf.h (SUBTARGET_FRAME_POINTER_REQUIRED): Define. · a15900b5
      	* config/arm/linux-elf.h (SUBTARGET_FRAME_POINTER_REQUIRED): Define.
      	* config/arm/arm.h (SUBTARGET_FRAME_POINTER_REQUIRED): Provide
      	default definition.
      	(FRAME_POINTER_REQUIRED): Use SUBTARGET_FRAME_POINTER_REQUIRED.
      
      From-SVN: r99581
      Daniel Jacobowitz committed
    • resolve.c (resolve_symbol): Copy 'pointer' and 'dimension' attribute from result… · 09e7f686
      resolve.c (resolve_symbol): Copy 'pointer' and 'dimension' attribute from result symbol to function symbol.
      
      fortran/
      	* resolve.c (resolve_symbol): Copy 'pointer' and 'dimension'
      	attribute from result symbol to function symbol.
      testsuite/
      	* gfortran.dg/func_result_2.f90: New test.
      
      From-SVN: r99580
      Tobias Schlüter committed
    • re PR bootstrap/21481 (crtstuff.c should not include auto-host.h) · 9d48ad93
      	PR bootstrap/21481
      	* crtstuff.c: Include auto-host.h again, for now.
      
      From-SVN: r99579
      Nathan Sidwell committed
    • * config/mips/24k.md: Remove trailing whitespace. · 99917bc3
      From-SVN: r99578
      Richard Sandiford committed
    • mips.md (type): Add imul3. · 95177e17
      	* config/mips/mips.md (type): Add imul3.
      	(length, hazard, may_clobber_hilo): Check for imul3.
      	(mulsi3_mult3, muldi3_mult3, *muls, <su>mulsi3_highpart_mulhi_internal)
      	(*<su>mulsi3_highpart_neg_mulhi_internal): Set attr to imul3.
      	* config/mips/24k.md (r24k_int_mul3): Enable this reservation
      	for a 3 operand mul and its bypasses.
      	* config/mips/3000.md (r3k_imul): Add imul3 to reservations.
      	* config/mips/4000.md (r4k_imul): Likewise.
      	* config/mips/4100.md (r4100_imul_si, r4100_imul_di):  Likewise.
      	* config/mips/4130.md (vr4130_class, vr4130_mulsi)
      	(vr4130_muldi): Likewise.
      	* config/mips/4300.md (r4300_imul_si, r4300_imul_di): Likewise.
      	* config/mips/4600.md (r4600_imul, r4650_imul): Likewise.
      	* config/mips/5000.md (r5k_imul_si, r5k_imul_di): Likewise.
      	* config/mips/5400.md (ir_vr54_imul_si, ir_vr54_imul_di)
      	(ir_vr54_imadd_si): Likewise.
      	* config/mips/5500.md (ir_vr55_imul_si, ir_vr55_imul_di):  Likewise.
      	* config/mips/7000.md (rm7_impy_si_mult, rm7_impy_si_mul)
      	(rm7_impy_di): Likewise.
      	* config/mips/9000.md (rm9k_mulsi, rm9k_muldi):  Likewise.
      	* config/mips/generic.md (generic_imul): Likewise.
      	* config/mips/sb1.md (ir_sb1_mulsi, ir_sb1_muldi): Likewise.
      	* config/mips/sr71k.md (ir_sr70_imul_si, ir_sr70_imul_di):  Likewise.
      
      From-SVN: r99577
      David Ung committed
    • re PR middle-end/20371 (Some corner cases of MS bitfields don't work) · cbbaf4ae
      	PR middle-end/20371:
      	* tree.h (record_layout_info_s): New member prev_packed.
      	* stor-layout.c (update_alignment_for_field): Fix comment about
      	KNOWN_ALIGN.  For MS bitfields, if we start a new run, make sure
      	we start it properly aligned.
      	(place_field): At the beginning of a record, pass 0 as KNOWN_ALIGN
      	to update_alignment_for_field, and recompute it afterwards using
      	the alignment of the record.
      	When a packed bitfield precedes an MS bitfield, don't add padding
      	at the end of the packed bitfield on behalf of the base type of
      	the packed bit field.
      	Don't adjust rli->bitpos at the end
      	of an MS bitfield run if we already adjusted bitpos/offset for an
      	alignment as large or larger than the bitfield type size.
      	Take possible record alignment > BIGGEST_ALIGNMENT into account
      	when calculating actual_align.
      	Only put packed buit fields into rli->prev_field if they end up
      	suitably aligned.
      	Also set rli->remaining_in_alignment when we re-set rli->prev_field.
      	Update rli->remaining_in_alignment when we have already started a
      	run of bit fields and we process a packed bit field.
      
      From-SVN: r99574
      J"orn Rennecke committed