1. 21 Dec, 2008 2 commits
  2. 20 Dec, 2008 4 commits
  3. 19 Dec, 2008 11 commits
  4. 18 Dec, 2008 17 commits
    • rs6000.c (rs6000_generate_compare): Condition choice of e500 comparison… · 1cdc0d8f
      rs6000.c (rs6000_generate_compare): Condition choice of e500 comparison instructions on flag_finite_math_only &&...
      
      	* config/rs6000/rs6000.c (rs6000_generate_compare): Condition
      	choice of e500 comparison instructions on flag_finite_math_only &&
      	!flag_trapping_math, not flag_unsafe_math_optimizations.
      	* config/rs6000/rs6000.md (abstf2): Condition choice of e500
      	instructions on flag_finite_math_only && !flag_trapping_math, not
      	flag_unsafe_math_optimizations.
      	(bltgt, sltgt): Disable for TARGET_HARD_FLOAT && !TARGET_FPRS.
      	* config/rs6000/spe.md (cmpsfeq_gpr, tstsfeq_gpr, cmpsfgt_gpr,
      	tstsfgt_gpr, cmpsflt_gpr, tstsflt_gpr, cmpdfeq_gpr, tstdfeq_gpr,
      	cmpdfgt_gpr, tstdfgt_gpr, cmpdflt_gpr, tstdflt_gpr, cmptfeq_gpr,
      	tsttfeq_gpr, cmptfgt_gpr, tsttfgt_gpr, cmptflt_gpr, tsttflt_gpr):
      	Condition choice of comparison instructions on
      	flag_finite_math_only && !flag_trapping_math, not
      	flag_unsafe_math_optimizations.
      
      From-SVN: r142822
      Joseph Myers committed
    • re PR middle-end/38565 (ICE with vector code) · 6559c761
      2008-12-18  Andrew Pinski  <andrew_pinski@playstation.sony.com>
      
              PR middle-end/38565
              * testsuite/g++.dg/torture/pr38565.C: New test.
      
      From-SVN: r142821
      Andrew Pinski committed
    • 21674.cc: Add xfail on all targets except darwin. · c3329535
      2008-12-18  Jack Howarth  <howarth@bromo.med.uc.edu>
      
      	* testsuite/21_strings/basic_string/element_access/wchar_t/21674.cc:
      	Add xfail on all targets except darwin.
      	* libstdc++-v3/testsuite/21_strings/basic_string/element_access/char/
      	1674.cc: Same.
      	* libstdc++-v3/testsuite/22_locale/ctype/is/char/2.cc: Correct syntax
      	for xfailing on all targets except linux.
      
      From-SVN: r142819
      Jack Howarth committed
    • re PR c++/38427 (crash for reference init code) · 0f737a30
      	PR c++/38427
      	* init.c (perform_member_init): For value-initialized
      	references call permerror instead of warning and don't emit any
      	INIT_EXPR.
      
      	* g++.dg/init/ctor9.C: New test.
      
      From-SVN: r142818
      Jakub Jelinek committed
    • Backport from upstream Libtool: · baafc534
      	* libltdl.m4 (_LT_SYS_DYNAMIC_LINKER)
      	(_LT_LINKER_SHLIBS): Add cache variables to tests that
      	require the linker to work.  For shlibpath_overrides_runpath,
      	this also changes the semantics to let the result from the C
      	compiler take precedence.
      
      boehm-gc/
      
      	* configure: Regenerate.
      
      fixincludes/
      
      	* configure: Regenerate.
      
      gcc/
      
      	* configure: Regenerate.
      
      libffi/
      
      	* configure: Regenerate.
      
      libgfortran/
      
      	* configure: Regenerate.
      
      libgomp/
      
      	* configure: Regenerate.
      
      libjava/classpath/
      
      	* configure: Regenerate.
      
      libjava/
      
      	* configure: Regenerate.
      
      libmudflap/
      
      	* configure: Regenerate.
      
      libobjc/
      
      	* configure: Regenerate.
      
      libssp/
      
      	* configure: Regenerate.
      
      libstdc++-v3/
      
      	* configure: Regenerate.
      
      zlib/
      
      	* configure: Regenerate.
      
      From-SVN: r142817
      Ralf Wildenhues committed
    • re PR c++/38485 (GCC can't parse a parenthesized comma in a template-id within a default argument) · a1166926
              PR c++/38485
              * parser.c (cp_parser_token_starts_cast_expression): An EOF
              can't start a cast-expression.
      
      From-SVN: r142815
      Jason Merrill committed
    • re PR c++/38561 (Revision 142799 may cause C++ demangle failures) · 938e76ad
              PR c++/38561
              * cp-demangle.c (d_expression, d_print_comp): Revert
              cast changes.
      
      From-SVN: r142814
      Jason Merrill committed
    • avoid target dependency · 0dec1262
      From-SVN: r142813
      Jason Merrill committed
    • df-scan.c (persistent_obstack, [...]): Remove. · f2ecb626
      	* df-scan.c (persistent_obstack, df_invalidated_by_call): Remove.
      	(df_scan_start_dump, df_get_call_refs, df_hard_reg_init): Rename
      	df_invalidated_by_call to invalidated_by_call_regset.
      	* df.h (df_invalidated_by_call): Remove.
      	* regclass.c (regs_invalidated_by_call_regset, persistent_obstack): New
      	variables.
      	(init_reg_sets_1): Initialize regs_invalidated_by_call_regset.
      	(globalize_reg): Likewise.
      	* df-problems.c (df_rd_local_compute, df_lr_confluence_n,
      	df_byte_lr_alloc): Rename df_invalidated_by_call to
      	invalidated_by_call_regset.
      	* basic-block.h (regs_invalidated_by_call_regset): Declare.
      
      Co-Authored-By: Kai Tietz <kai.tietz@onevision.com>
      
      From-SVN: r142812
      Jan Hubicka committed
    • ira-cost.c (copy_cost): Lazilly initialize move_cost if needed. · 20377b47
      	* ira-cost.c (copy_cost): Lazilly initialize move_cost if needed.
      
      Co-Authored-By: Kai Tietz <kai.tietz@onevision.com>
      
      From-SVN: r142811
      Jan Hubicka committed
    • i386.h (CONDITIONAL_REGISTER_USAGE): Initialize for current function ABI. · 877a0b76
      	* i386.h (CONDITIONAL_REGISTER_USAGE): Initialize for current function
      	ABI.
      	* i386.c (ix86_call_abi_override): Do not trigger target re-init and
      	do not try to modify call used regs.
      	(ix86_maybe_switch_abi): New function.
      	(TARGET_EXPAND_TO_RTL_HOOK): New macro.
      
      Co-Authored-By: Kai Tietz <kai.tietz@onevision.com>
      
      From-SVN: r142810
      Jan Hubicka committed
    • re PR rtl-optimization/37922 (code generation error) · 02b47899
      2008-12-18  Kenneth Zadeck <zadeck@naturalbridge.com>
      
      	PR rtl-optimization/37922
      	* dse.c (bb_info): Added regs_live field.
      	(look_for_hardregs): New function.
      	(replace_read): Added regs_live parameter and code to check that
      	shift sequence does not clobber live hardregs.
      	(check_mem_read_rtx): Added parameter to replace_read.
      	(dse_step1): Added regs_live bitmap and initialize it.
      	(rest_of_handle_dse): Added DF_NOTES problem and earlier call to
      	df_analyze.
      	* df-problems.c Renamed to 
      	df_simulate_initialize_backwards.
      	(df_simulate_one_insn): Renamed to
      	df_simulate_one_insn_backwards.
      	(df_simulate_artificial_refs_at_top): Renamed to 
      	df_simulate_finalize_backwards.
      	(df_simulate_initialized_forwards,
      	df_simulate_one_insn_forwards,
      	df_simulate_finalize_backwards): New functions.
      	* df.h (df_simulate_artificial_refs_at_end): Renamed to 
      	df_simulate_initialize_backwards.
      	(df_simulate_one_insn): Renamed to
      	df_simulate_one_insn_backwards.
      	(df_simulate_artificial_refs_at_top): Renamed to 
      	df_simulate_finalize_backwards.
      	(df_simulate_initialized_forwards,
      	df_simulate_one_insn_forwards,
      	df_simulate_finalize_backwards): New functions.
      	* ra-conflict.c (global_conflicts): Renamed
      	df_simulate_artificial_refs_at_end to
      	df_simulate_initialize_backwards.
      	* sel-sched.c (propagate_lv_set): Renamed df_simulate_one_insn to
      	df_simulate_one_insn_backwards.
      	* ifcvt.c (dead_or_predicable): Renamed
      	df_simulate_artificial_refs_at_end to
      	df_simulate_initialize_backwards. Renamed df_simulate_one_insn to
      	df_simulate_one_insn_backwards.
      	* recog.c (peephole2_optimize): Ditto.
      	* rtl-factoring (collect_pattern_seqs, clear_regs_live_in_seq): Ditto.
      
      2008-12-18  Kenneth Zadeck <zadeck@naturalbridge.com>
      
      	PR rtl-optimization/37922
      	* g++.dg/torture/pr37922.C: New test.
      
      From-SVN: r142809
      Kenneth Zadeck committed
    • re PR fortran/31822 (Missing run-time bound checks for character pointer => target) · fb5bc08b
      2008-12-18  Daniel Kraft  <d@domob.eu>
      
      	PR fortran/31822
      	* gfortran.h (gfc_check_same_strlen): Made public.
      	* trans.h (gfc_trans_same_strlen_check): Made public.
      	* check.c (gfc_check_same_strlen): Made public and adapted error
      	message output to be useful not only for intrinsics.
      	(gfc_check_merge): Adapt to gfc_check_same_strlen change.
      	* expr.c (gfc_check_pointer_assign): Use gfc_check_same_strlen for
      	string length compile-time check.
      	* trans-expr.c (gfc_trans_pointer_assignment): Add runtime-check for
      	equal string lengths using gfc_trans_same_strlen_check.
      	* trans-intrinsic.c (gfc_trans_same_strlen_check): Renamed and made
      	public from conv_same_strlen_check.
      	(gfc_conv_intrinsic_merge): Adapted accordingly.
      
      2008-12-18  Daniel Kraft  <d@domob.eu>
      
      	PR fortran/31822
      	* gfortran.dg/char_pointer_assign_2.f90: Updated expected error message
      	to be more detailed.
      	* gfortran.dg/char_pointer_assign_4.f90: New test.
      	* gfortran.dg/char_pointer_assign_5.f90: New test.
      
      From-SVN: r142808
      Daniel Kraft committed
    • re PR middle-end/38533 (tree-ssa-reassoc.c increases register pressure several times) · ec81df7d
      	PR middle-end/38533
      	* tree-ssa-reassoc.c (remove_visited_stmt_chain): New function.
      	(rewrite_expr_tree): Add moved argument, move stmts together if
      	needed.  Call remove_visited_stmt_chain.
      	(linearize_expr_tree): Don't move stmts here.
      	(reassociate_bb): Call remove_visited_stmt_chain if num ops is 1.
      	Adjust rewrite_expr_tree caller.
      
      	* gcc.dg/tree-ssa/pr38533.c: New test.
      	* gcc.c-torture/execute/pr38533.c: New test.
      
      From-SVN: r142807
      Jakub Jelinek committed
    • re PR middle-end/38505 (Revision 142061 caused ICE on __builtin_memcpy) · 9f68560c
      	PR middle-end/38505
      	* tree-ssa.c (useless_type_conversion_p_1): Return
      	false if inner_type is incomplete and outer_type is complete.
      
      	* gcc.c-torture/compile/pr38505.c: New test.
      
      From-SVN: r142806
      Jakub Jelinek committed
    • * config.sub, config.guess: Update from upstream sources. · 18430d27
      From-SVN: r142805
      Ben Elliston committed
    • Daily bump. · 27937508
      From-SVN: r142803
      GCC Administrator committed
  5. 17 Dec, 2008 6 commits