1. 29 Jan, 2008 2 commits
  2. 28 Jan, 2008 19 commits
  3. 27 Jan, 2008 9 commits
  4. 26 Jan, 2008 10 commits
    • re PR middle-end/34688 ([4.1/4.2] ICE: output_operand: invalid expression as operand) · c01e4479
      	PR middle-end/34688
      	* final.c (output_addr_const): Handle TRUNCATE.
      
      	* gcc.c-torture/compile/pr34688: New test.
      
      From-SVN: r131878
      Maxim Kuvyrkov committed
    • re PR target/34711 (g++.dg/tree-ssa/ivopts-1.C fails for power and arm) · 6e8c65f6
      	PR target/34711
      	* tree-ssa-loop-ivopts.c (comp_cost): New type.
      	(zero_cost, infinite_cost): New constants.
      	(struct cost_pair): Change type of cost to comp_cost.
      	(struct iv_ca): Change type of cand_use_cost and cost to comp_cost.
      	(new_cost, add_costs, sub_costs, compare_costs, infinite_cost_p):
      	New functions.
      	(set_use_iv_cost, force_expr_to_var_cost, force_var_cost,
      	split_address_cost, ptr_difference_cost, difference_cost,
      	get_computation_cost_at, get_computation_cost,
      	determine_use_iv_cost_generic, determine_use_iv_cost_address,
      	determine_use_iv_cost_condition, determine_use_iv_costs,
      	cheaper_cost_pair, iv_ca_recount_cost, iv_ca_set_no_cp,
      	iv_ca_set_cp, iv_ca_cost, iv_ca_new, iv_ca_dump, iv_ca_extend,
      	iv_ca_narrow, iv_ca_prune, try_improve_iv_set, find_optimal_iv_set):
      	Change type of cost to comp_cost.
      	(determine_iv_cost): Increase cost of non-original ivs, instead
      	of decreasing the cost of original ones.
      	(get_address_cost): Indicate the complexity of the addressing mode 
      	in comp_cost.
      	(try_add_cand_for): Prefer using ivs not specific to some object.
      	* tree-flow.h (force_expr_to_var_cost): Declaration removed.
      
      From-SVN: r131877
      Zdenek Dvorak committed
    • re PR fortran/34848 (internal compiler error with optional argument of character… · 2c80cb0e
      re PR fortran/34848 (internal compiler error with optional argument of character type and array return type)
      
      2008-01-26  Tobias Burnus  <burnus@net-b.de>
      
              PR fortran/34848
              * trans-expr.c (gfc_conv_function_call): Don't call
              gfc_add_interface_mapping if the expression is NULL.
      
      2008-01-26  Tobias Burnus  <burnus@net-b.de>
      
              PR fortran/34848
              * gfortran.dg/missing_optional_dummy_5.f90: New.
      
      From-SVN: r131876
      Tobias Burnus committed
    • 20070302-1.c (baz): Mark with attribute noinline. · 987dbd1b
      	* gcc.dg/tree-ssa/20070302-1.c (baz): Mark with attribute
      	noinline.  XFAIL test.
      
      From-SVN: r131875
      Kaveh R. Ghazi committed
    • re PR fortran/31610 (ICE with transfer, merge in gfc_conv_expr_descriptor) · ce97da22
      2008-01-26  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
      
      	PR fortran/31610
      	* gfortran.dg/array_3.f90: New test.
      
      From-SVN: r131874
      Jerry DeLisle committed
    • re PR fortran/31610 (ICE with transfer, merge in gfc_conv_expr_descriptor) · bdfc46af
      2008-01-26  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
      
      	PR fortran/31610
      	* trans-array.c (gfc_trans_create_temp_array): Remove call to
      	gcc_assert (integer_zerop (loop->from[n])).
      
      From-SVN: r131873
      Jerry DeLisle committed
    • gcconfig.h (HBLKSIZE): Define for MIPS. · f0025d1d
      boehm-gc/
      	* include/private/gcconfig.h (HBLKSIZE): Define for MIPS.
      
      From-SVN: r131872
      Richard Sandiford committed
    • re PR target/34814 (SDmode function args not passed according to ABI specification) · e41b2a33
      	PR target/34814
      	* doc/tm.texi (TARGET_EXPAND_TO_RTL_HOOK): Document.
      	(TARGET_INSTANTIATE_DECLS): Likewise.
      	* target.h (expand_to_rtl_hook): New target hook.
      	(instantiate_decls): Likewise.
      	* function.c (instantiate_decl): Make non-static.  Rename to...
      	(instantiate_decl_rtl): ... this.
      	(instantiate_expr): Use instantiate_decl_rtl.
      	(instantiate_decls_1): Likewise.
      	(instantiate_decls): Likewise.
      	(instantiate_virtual_regs: Call new instantiate_decls taget hook.
      	* function.h (instantiate_decl_rtl): Add prototype.
      	* cfgexpand.c (target.h): New include.
      	(tree_expand_cfg): Call new expand_to_rtl_hook target hook.
      	* target-def.h (TARGET_EXPAND_TO_RTL_HOOK): New define.
      	(TARGET_INSTANTIATE_DECLS): Likewise.
      	(TARGET_INITIALIZER): New target hooks added.
      	* config/rs6000/rs6000-protos.h (rs6000_secondary_memory_needed_rtx):
      	New prototype.
      	* config/rs6000/rs6000.c (tree-flow.h): New include.
      	(machine_function): Add sdmode_stack_slot field.
      	(rs6000_alloc_sdmode_stack_slot): New function.
      	(rs6000_instantiate_decls): Likewise.
      	(rs6000_secondary_memory_needed_rtx): Likewise.
      	(rs6000_check_sdmode): Likewise.
      	(TARGET_EXPAND_TO_RTL_HOOK): Target macro defined.
      	(TARGET_INSTANTIATE_DECLS): Likewise.
      	(rs6000_hard_regno_mode_ok): Allow SDmode.
      	(num_insns_constant): Likewise.  Handle _Decimal32 constants.
      	(rs6000_emit_move): Handle SDmode.
      	(function_arg_advance): Likewise.
      	(function_arg): Likewise.
      	(rs6000_gimplify_va_arg): Likewise.  Add special handling of
      	SDmode var args for 32-bit compiles.
      	(rs6000_secondary_reload_class): Handle SDmode.
      	(rs6000_output_function_epilogue): Likewise.
      	(rs6000_function_value): Simplify if statement.
      	(rs6000_libcall_value): Likewise.
      	* config/rs6000/rs6000.h (SLOW_UNALIGNED_ACCESS): Handle SDmode.
      	(SECONDARY_MEMORY_NEEDED_RTX): Add define.
      	* config/rs6000/dfp.md (movsd): New define_expand and splitter.
      	(movsd_hardfloat): New define_insn.
      	(movsd_softfloat): Likewise.
      	(movsd_store): Likewise.
      	(movsd_load): Likewise.
      	(extendsddd2): Likewise.
      	(extendsdtd2): Likewise.
      	(truncddsd2): Likewise.
      	(movdd_hardfloat64): Fixup comment.
      	(UNSPEC_MOVSD_LOAD): New constant.
      	(UNSPEC_MOVSD_STORE): Likewise.
      
      Co-Authored-By: Janis Johnson <janis187@us.ibm.com>
      
      From-SVN: r131869
      Peter Bergner committed
    • re PR c++/34965 (Broken diagnostic: 'truth_and_expr' not supported by dump_expr) · 6f536f74
      	PR c++/34965
      	* c-pretty-print.c (pp_c_exclusive_or_expression): Handle
      	TRUTH_XOR_EXPR.
      	(pp_c_logical_and_expression): Handle TRUTH_AND_EXPR.
      	(pp_c_logical_or_expression): Handle TRUTH_OR_EXPR.
      	(pp_c_expression): Handle TRUTH_AND_EXPR, TRUTH_OR_EXPR
      	and TRUTH_XOR_EXPR.
      
      	* error.c (dump_expr): Handle TRUTH_AND_EXPR, TRUTH_OR_EXPR
      	and TRUTH_XOR_EXPR.
      
      	* gcc.dg/pr34965.c: New test.
      	* g++.dg/other/error24.C: New test.
      
      From-SVN: r131868
      Jakub Jelinek committed
    • pr34966.c (atan): Only use asm on i?86/x86_64. · 680f02e4
      	* gcc.c-torture/compile/pr34966.c (atan): Only use asm
      	on i?86/x86_64.
      
      From-SVN: r131867
      Jakub Jelinek committed