1. 08 May, 2005 24 commits
    • PR tree-optimization/14841, tree-optimization/15838 · ae3df618
      gcc/
      	PR tree-optimization/14841, tree-optimization/15838
      	* tree-ssa-ccp.c (fold_const_aggregate_ref): New.
      	(evaluate_stmt): Call it.
      
      testsuite/
      	PR tree-optimization/14841, tree-optimization/15838
      	* gcc.dg/tree-ssa/pr14841.c: New.
      
      Co-Authored-By: Kazu Hirata <kazu@cs.umass.edu>
      
      From-SVN: r99410
      Steven Bosscher committed
    • ia64.c (ia64_override_options): Don't set ia64_flag_var_tracking and clear… · 0f666d6e
      ia64.c (ia64_override_options): Don't set ia64_flag_var_tracking and clear flag_var_tracking here...
      
      	* config/ia64/ia64.c (ia64_override_options): Don't set
      	ia64_flag_var_tracking and clear flag_var_tracking here...
      	(ia64_file_start): ... but here.
      
      From-SVN: r99408
      Jakub Jelinek committed
    • m68hc11.c (m68hc11_emit_libcall): Use gcc_assert and gcc_unreachable as appropriate. · 5b482117
      	* config/m68hc11/m68hc11.c (m68hc11_emit_libcall): Use gcc_assert
      	and gcc_unreachable as appropriate.
      	(expand_prologue, expand_epilogue, m68hc11_gen_lowpart,
      	m68hc11_gen_highpart, print_operand, print_operand_address,
      	m68hc11_expand_compare, m68hc11_expand_compare_and_branch,
      	m68hc11_gen_movhi): Likewise.
      	* config/m68hc11/m68hc11.h (HARD_X_REGNUM): Reword comment.
      	* config/m68hc11/m68hc11.md: Reword comment.
      
      From-SVN: r99407
      Nathan Sidwell committed
    • re PR target/21281 (ICE with building newlib) · 6e60976f
      	PR target/21281
      	* config/m68hc11/predicates.md (splitable_operand): An immediate is
      	allowed.
      
      From-SVN: r99406
      Stephane Carrez committed
    • predicates.md (reg_or_some_mem_operand): Do not allow the 68HC12 address… · 02ee533e
      predicates.md (reg_or_some_mem_operand): Do not allow the 68HC12 address indirect addressing mode as it is not supported...
      
      	* config/m68hc11/predicates.md (reg_or_some_mem_operand): Do not allow
      	the 68HC12 address indirect addressing mode as it is not supported by
      	bset and bclr.
      	* config/m68hc11/m68hc11-protos.h (m68hc11_valid_addressing_p): Declare.
      	(m68hc11_add_mode): Declare.
      	* config/m68hc11/m68hc11.c (m68hc11_valid_addressing_p): Rename from
      	register_indirect_p and export it.
      	(m68hc11_z_replacement): Use emit_insn_after when adding the save Z
      	instruction so that it is part of the good BB.
      	(m68hc11_gen_movhi): Fix invalid generation of indexed indirect
      	addressing with movw.
      	(m68hc11_gen_movqi): Use pula and pulb instead of lda and ldb for
      	68HC12.
      	* config/m68hc11/m68hc11.h (ADDR_STRICT, ADDR_INCDEC, ADDR_INDEXED,
      	ADDR_OFFSET, ADDR_INDIRECT, ADDR__CONST): Moved from m68hc11.c.
      	* config/m68hc11/m68hc11.md ("movhi_const0"): Use this pattern only
      	for 68HC11.
      	("*movhi_68hc12"): Handle movhi_const0.
      	("*subhi3", "subqi3"): Use general_operand for operand 1.
      	("*subhi3_zext"): Likewise.
      
      From-SVN: r99405
      Stephane Carrez committed
    • re PR target/19051 (m6811-elf-gcc ICE) · 011699d9
      	PR target/19051
      	* config/m68hc11/m68hc11.md ("mulqi3"): Use general_operand for operand
      	1 and fix constraints.
      	("mulqihi3"): Use general_operand for operand 2.
      
      From-SVN: r99399
      Stephane Carrez committed
    • * README.SCO: Update the URL. · 795e36e5
      From-SVN: r99398
      Matt Kraai committed
    • configure.ac: Set ld_vers_major, ld_vers_minor and ld_vers_patch for GNU linker. · 11176d2a
              * configure.ac: Set ld_vers_major, ld_vers_minor and ld_vers_patch for
              GNU linker. Support linker version x.x.x.x.x. Require GNU linker
              20050308/2.16.0 or newer for comdat group.
              * configure: Regenerated.
              * config.in: Regenerated.
              * varasm.c (default_function_rodata_section): Put .rodata section in
              COMDAT group when necessary.
              (default_elf_asm_named_section): Rename HAVE_GAS_COMDAT_GROUP to
              HAVE_COMDAT_GROUP.
              (default_unique_section_1): Don't use .gnu.linkonce when COMDAT is
              available.
      
      Co-Authored-By: H.J. Lu <hongjiu.lu@intel.com>
      Co-Authored-By: Paul Brook <paul@codesourcery.com>
      
      From-SVN: r99395
      Julian Brown committed
    • * intrinsic.texi: Fix typos. · 357877ed
      From-SVN: r99394
      Kazu Hirata committed
    • tree-dfa.c (referenced_vars, [...]): Use VEC instead of VARRAY. · 2d4d14ac
      	* tree-dfa.c (referenced_vars, add_referenced_var): Use VEC
      	instead of VARRAY.
      	* tree-flow.h (num_referenced_var, referenced_var): Likewise.
      	* tree-into-ssa.c (mark_def_site_blocks): Likewise.
      	* tree-ssa.c (init_tree_ssa, delete_tree_ssa): Likewise.
      	* tree-tailcall.c (suitable_for_tail_opt_p): Likewise.
      
      From-SVN: r99393
      Kazu Hirata committed
    • Use dg-mips-options instead of dg-options. · e956d182
      From-SVN: r99391
      Richard Sandiford committed
    • re PR target/16925 (ICE when building a m68hc11 cross-compiler on 64-bit architectures) · a0cd568f
      	PR target/16925
      	* config/m68hc11/m68hc11.c (m68hc11_gen_highpart): Handle split of
      	64-bit constants on 64-bit hosts.
      	(m68hc11_split_logical): Simplify.
      	(m68hc11_split_move): Likewise.
      
      From-SVN: r99388
      Stephane Carrez committed
    • Makefile.in (cs-tconfig.h): Pass USED_FOR_TARGET to mkconfig.sh · 232b67d9
      	* Makefile.in (cs-tconfig.h): Pass USED_FOR_TARGET to mkconfig.sh
      	* aclocal.m4 (GCC_TARGET_TEMPLATE, AH_TEMPLATE): New.
      	* configure.ac (enable_checking): Fix typos in runtime_checking.
      	(ENABLE_RUNTIME_CHECKING): Mark as target template.
      	(xm_file): Prepend auto-host.h
      	(HAVE_GAS_HIDDEN, HAVE_LD_EH_FRAME_HDR): Mark as target template.
      	* mkconfig.sh: Do not automatically define USED_FOR_TARGET in
      	tconfig.h.
      	* crtstuff.c: Do not include auto-host.h.
      	(IN_LIBGCC2): Do not define.
      	* gcov-io.h: Include tconfig.h, not auto-host.h.
      	* libgcc2.c: Do not include auto-host.h.
      	(abort): Do not undefine.
      	* libgcov.c: Remove unneeded comment about config.h.
      	* unwind-dw2-fde-glibc.c: Do not inlude auto-host.h.
      	* config.in, configure: Regenerated.
      
      Co-Authored-By: Paolo Bonzini <bonzini@gnu.org>
      
      From-SVN: r99386
      Nathan Sidwell committed
    • alpha.c (tls_symbolic_operand_1): Use gcc_assert and gcc_unreachable as appropriate. · 56daab84
      	* config/alpha/alpha.c (tls_symbolic_operand_1): Use gcc_assert
      	and gcc_unreachable as appropriate.
      	(get_aligned_mem, get_unaligned_address,
      	alpha_emit_set_long_const, alpha_emit_conditional_branch,
      	alpha_emit_setcc, alpha_emit_conditional_move,
      	alpha_lookup_xfloating_lib_func, alpha_compute_xfloating_mode_arg,
      	alpha_emit_xfloating_libcall, alpha_split_tfmode_pair,
      	alpha_expand_unaligned_load, alpha_expand_block_move,
      	alpha_expand_zap_mask, get_trap_mode_suffix,
      	get_round_mode_suffix, get_some_local_dynamic_name,
      	print_operand_address, function_arg, alpha_return_in_memory,
      	function_value, alpha_expand_builtin,
      	alpha_initial_elimination_offset, alpha_expand_epilogue,
      	summarize_insn, alpha_handle_trap_shadows, alphaev5_insn_pipe,
      	alphaev5_next_group, alpha_align_insns,
      	unicosmk_initial_elimination_offset, unicosmk_unique_section,
      	unicosmk_ssib_name): Likewise.
      	* config/alpha/alpha.h (ASM_OUTPUT_ADDR_VEC_ELT): Likewise.
      	* config/alpha/unicosmk.h (TRAMPOLINE_TEMPLATE,
      	ASM_OUTPUT_ADDR_DIFF_ELT, ASM_OUTPUT_ADDR_DIFF_VEC): Likewise.
      	* config/alpha/vms.h (INITIAL_ELIMINATION_OFFSET,
      	ASM_OUTPUT_ADDR_DIFF_ELT): Likewise.
      	* config/alpha/alpha.md (*divmodsi_internal_er,
      	*divmoddi_internal_er, ashldi3, *insxl, sibcall, call_osf,
      	call_nt, call_umk, call_vms, call_value, sibcall_value,
      	call_value_osf, call_value_nt, call_value_vms, call_value_umk,
      	*call_vms_1, *movmemdi_1, *clrmemdi_1, *call_value_vms_1): Likewise.
      	* config/alpha/predicates.md (input_operand): Likewise.
      
      Co-Authored-By: Falk Hueffner <falk@debian.org>
      
      From-SVN: r99384
      Nathan Sidwell committed
    • frv.c (frv_default_flags_for_cpu): Use gcc_assert and gcc_unreachable, as appropriate. · 44e91694
      	* config/frv/frv.c (frv_default_flags_for_cpu): Use gcc_assert and
      	gcc_unreachable, as appropriate.
      	(frv_function_prologue, frv_alloc_temp_reg,
      	frv_initial_elimination_offset, frv_expand_block_move,
      	frv_expand_block_clear, frv_print_operand_jump_hint,
      	frv_legitimize_tls_address, unspec_got_name, frv_emit_move,
      	frv_emit_movsi, frv_split_cond_move, frv_split_minmax,
      	frv_ifcvt_modify_insn, frv_ifcvt_modify_final,
      	frv_adjust_field_align, frv_insn_unit, frv_cond_flags,
      	frv_sort_insn_group, frv_reorder_packet, frv_matching_accg_mode,
      	frv_in_small_data_p, frv_asm_out_constructor,
      	frv_asm_out_destructor, frv_output_dwarf_dtprel): Likewise.
      	* config/frv/frv.md (reload_incc_fp, *cond_exec_si_binary1,
      	*cond_exec_si_binary2, *cond_exec_si_divide, *cond_exec_si_unary1,
      	*cond_exec_sf_conv, *cond_exec_sf_add, call, sibcall, call_value,
      	sibcall_value, casesi): Likewise.
      
      From-SVN: r99383
      Nathan Sidwell committed
    • mn10300.c (print_operand): Use gcc_assert and gcc_unreachable as appropriate. · dc759020
      	* config/mn10300/mn10300.c (print_operand): Use gcc_assert and
      	gcc_unreachable as appropriate.
      	(print_operand_address, mn10300_print_reg_list, expand_prologue,
      	expand_epilogue, notice_update_cc, initial_offset,
      	mn10300_address_cost_1): Likewise.
      	* config/mn10300/mn10300.md: Likewise.
      	(absdf2, abssf2, negdf2, negsf2): Likewise.
      
      From-SVN: r99382
      Nathan Sidwell committed
    • Add PR number to last changelog. · 5e9ad4cf
      From-SVN: r99381
      Richard Sandiford committed
    • mips.c (mips_emit_compare): Don't reverse UNGE and UNGT comparisons. · 401d24f9
      	* config/mips/mips.c (mips_emit_compare): Don't reverse UNGE and UNGT
      	comparisons.
      	* config/mips/mips.md (swapped_fcond): New code macro and attribute.
      	(sgt_<mode>, sge_<mode>): Generalize to all members of swapped_fcond,
      	including sunge_<mode> and sungt_<mode>.
      
      From-SVN: r99380
      Richard Sandiford committed
    • integrate.h (get_hard_reg_initial_val): Change type of register parameter from int to unsigned int. · 6356b546
      	* integrate.h (get_hard_reg_initial_val): Change type of register
      	parameter from int to unsigned int.
      	(has_hard_reg_initial_val): Likewise.
      	* integrate.c (get_hard_reg_initial_val): Likewise.
      	(has_hard_reg_initial_val): Likewise.  Remove cast to unsigned int.
      
      From-SVN: r99379
      Richard Sandiford committed
    • except.c (eh_status): Change the type of ttype_data to VEC(tree,gc)*. · 88877022
      	* except.c (eh_status): Change the type of ttype_data to
      	VEC(tree,gc)*.
      	(add_ttypes_entry, assign_filter_values,
      	output_function_exception_table): Use VEC instead of VARRAY.
      
      From-SVN: r99378
      Kazu Hirata committed
    • class.c (vtbl_init_data_s): Change the type of fns to VEC(tree,gc)*. · 1e625046
      	* class.c (vtbl_init_data_s): Change the type of fns to
      	VEC(tree,gc)*.
      	(build_vtbl_initializer, add_vcall_offset, add_vcall_offset):
      	Use VEC instead of VARRAY.
      
      From-SVN: r99376
      Kazu Hirata committed
    • Makefile.in: Fix dependencies. · d7d461f7
      2005-05-07  Paul Brook  <paul@codesourcery.com>
      
      	* Makefile.in: Fix dependencies.
      	(GCOV_IO_H, VARRAY_H): Set.
      
      From-SVN: r99375
      Paul Brook committed
    • Daily bump. · 457aa257
      [[Split portion of a mixed commit.]]
      
      From-SVN: r99373.2
      GCC Administrator committed
  2. 07 May, 2005 16 commits