1. 29 Sep, 2008 9 commits
    • re PR middle-end/37669 (ice for legal code with -O2) · 2dda7d28
      2008-09-29  Andrew Pinski  <andrew_pinski@playstation.sony.com>
      
              PR middle-end/37669
              * gcc.c-torture/compile/pr37669.c: New test.
      
      From-SVN: r140765
      Andrew Pinski committed
    • ifcvt.c (noce_emit_store_flag): If using condition from original jump, reverse… · 567075ed
      ifcvt.c (noce_emit_store_flag): If using condition from original jump, reverse it if if_info->cond was reversed.
      
      	* ifcvt.c (noce_emit_store_flag): If using condition from original
      	jump, reverse it if if_info->cond was reversed.
      
      From-SVN: r140764
      Joseph Myers committed
    • expr.c (expand_expr_real_1): Force op0 to non-constant memory if it cannot be… · ae00112b
      expr.c (expand_expr_real_1): Force op0 to non-constant memory if it cannot be forced to constant memory.
      
      	* expr.c (expand_expr_real_1) <normal_inner_ref>: Force op0 to
      	non-constant memory if it cannot be forced to constant memory.
      	Overhaul surrounding code and factor out common condition.
      
      From-SVN: r140760
      Eric Botcazou committed
    • reload1.c (alter_reg): Add missing curly braces. · 6b5676ce
      	* reload1.c (alter_reg): Add missing curly braces.
      
      From-SVN: r140758
      Jeff Law committed
    • predicates.md (easy_fp_constant): Single FP consts are easy. · 696e45ba
              * config/rs6000/predicates.md (easy_fp_constant): Single FP consts
              are easy.
              * config/rs6000/rs6000.c (rs6000_override_options): Move
              rs6000_init_hard_regno_mode_ok after all options changed.
              Set rs6000_single_float, rs6000_double_float if TARGET_HARD_FLOAT.
              (rs6000_handle_option): Process -msingle-float, -mdouble-float,
              -msimple-fpu flags.  Add warning messages if single FP not configured.
              (rs6000_file_start): Output gnu_attribute for single-float.
              (legitimate_lo_sum_address_p): Condition on TARGET_DOUBLE_FLOAT.
              (rs6000_legitimize_address): Likewise.
              (rs6000_legitimize_reload_address): Likewise.
              (rs6000_emit_move): Condition on TARGET_DOUBLE_FLOAT,
              TARGET_SINGLE_FLOAT.
              (function_arg_advance): Likewise (partial conversion).
              (setup_incoming_varargs): Condition on TARGET_DOUBLE_FLOAT.
              (rs6000_gimplify_va_arg): Condition on TARGET_DOUBLE_FLOAT,
              TARGET_SINGLE_FLOAT.
              (rs6000_split_multireg_move): Condition on TARGET_DOUBLE_FLOAT.
              (rs6000_emit_prologue): Likewise.
              (rs6000_function_value): Condition on TARGET_DOUBLE_FLOAT,
              TARGET_SINGLE_FLOAT.
              (rs6000_libcall_value): Likewise.
              * config/rs6000/rs6000.h (TARGET_SINGLE_FLOAT): New default to 1.
              (TARGET_DOUBLE_FLOAT): New default to 1
              (TARGET_SIMPLE_FPU): New default to 0
              (TARGET_SINGLE_FPU): New default to 0
              (TARGET_SINGLE_FLOAT_MODE): New.
              (TARGET_DOUBLE_FLOAT_MODE): New.
              * config/rs6000/singlefp.h: New; redefine TARGET_SINGLE_FLOAT,
              TARGET_DOUBLE_FLOAT, TARGET_SIMPLE_FPU, TARGET_SINGLE_FPU,
              UNITS_PER_FP_WORD
              * config/rs6000/rs6000.md (define_mode_iterator): Condition on
              TARGET_DOUBLE_FLOAT, TARGET_SINGLE_FLOAT.
              (extendsfdf2, extendsfdf2_fpr, truncdfsf2, truncdfsf2_fpr,
              copysigndf3,fseldfsf4, negdf2, negdf2_fpr, absdf2, absdf2_fpr,
              nabsdf2_fpr, adddf3, adddf3_fpr, subdf3, subdf3_fpr, muldf3,
              muldf3_fpr, divdf3, divdf3_fpr, sqrtdf2, smaxdf3, smindf3,
              movdfcc, *fseldfdf4, floatsidf2, *floatsidf2_internal,
              floatunssidf2, *floatunssidf2_internal, fix_truncdfsi2,
              *fix_truncdfsi2_internal, fix_truncdfsi2_internal_gfxopt,
              fix_truncdfsi2_mfpgpr, fctiwz, btruncdf2, ceildf2, floordf2,
              rounddf2, floatdidf2, floatsidf_ppc64_mfpgpr, floatsidf_ppc64,
              floatunssidf_ppc64, fix_truncdfdi2, movdf_hardfloat32,
              movdf_hardfloat64_mfpgpr, movdf_hardfloat64, extenddftf2_fprs,
              extenddftf2_internal, trunctfdf2_internal2, fix_trunc_helper,
              abstf2_internal, movdf_update1, movdf_update2, cmpdf_internal1,
              cmptf_internal1, *cmptf_internal2): Condition on
              TARGET_DOUBLE_FLOAT.
              (aux_truncdfsf2, negsf2, *negsf2, abssf2, *abssf2, addsf3, subsf3,
              mulsf3, divsf3, sqrtsf2, copysignsf3, smaxsf3, sminsf3, movsfcc,
              *fselsfsf4, fixuns_truncsfsi2, fix_truncsfsi2, floatunssisf2,
              btruncsf2, ceilsf2, floorsf2, roundsf2, floatdisf2_internal1,
              floatdisf2_internal2, *movsf_hardfloat, trunctfsf2_fprs,
              *movsf_update1, *movsf_update2, *cmpsf_internal1): Condition on
              TARGET_SINGLE_FLOAT.
              (divsf3, sqrtsf2, divdf3, divdf3_fpr): Condition on TARGET_SIMPLE_FPU.
              * config/rs6000/rs6000.opt (-msingle-float): New.
              (-mdouble-float): New.
              (-msimple-fpu): New.
              * doc/invoke.texi (RS/6000 and PowerPC Options): Add
              -msingle-float, -mdouble-float, -msimple-fpu options.
              * config/rs6000/rs6000-c.c (rs6000_cpu_cpp_builtins): Set
              _SOFT_DOUBLE for -msingle-float.
              * config.gcc: New config for target=powerpc-xilinx-eabi.
      
      From-SVN: r140757
      Michael J. Eager committed
    • Fix typo. · ccad7589
      From-SVN: r140750
      Eric Botcazou committed
    • graphite.c (dot_all_scops_1): Remove unused checks. · a61e3d2a
      2008-09-29  Tobias Grosser  <grosser@fim.uni-passau.de>
      
      	* graphite.c (dot_all_scops_1): Remove unused checks. SCoPs always have
      	exit and entry.
      	(new_scop): Take entry and exit edge to define new SCoP.
      	(sd_region_p): New structure used during SCoP detection.
      	(move_scops): Delete.
      	(move_sd_regions): New.
      	(scopdet_info): Change the definition from edges back to basic_blocks.
      	(scopdet_edge_info):  Work on basic_blocks and rename to
      	scopdet_basic_block_info.
      	(split_difficult_bb): At the moment removed. We should later
      	add it at another place.
      	(build_scops_1): Work on basic_blocks.
      	(bb_in_sd_region): New.
      	(find_single_entry_edge): New.
      	(find_single_exit_edge): New.
      	(create_single_entry_edge): New.
      	(sd_region_without_exit): New.
      	(create_single_exit_edge): New.
      	(unmark_exit_edges): New.
      	(mark_exit_edges): New.
      	(create_sese_edges): New.
      	(build_graphite_scops): New.
      	(build_scops): Make SCoPs SESE.
      	(limit_scops): Use the new functions.
      
      From-SVN: r140746
      Tobias Grosser committed
    • * config/cris/cris.h (IRA_COVER_CLASSES): Define. · e53c2677
      From-SVN: r140745
      Hans-Peter Nilsson committed
    • Daily bump. · c47c69cb
      From-SVN: r140743
      GCC Administrator committed
  2. 28 Sep, 2008 8 commits
    • re PR target/37640 (__sync_lock_test_and_set on PPC64 causes ICE) · 4b49d9ce
      2008-09-28  Andrew Pinski  <andrew_pinski@playstation.sony.com>
      
              PR target/37640
              * config/rs6000/rs6000.c (rs6000_expand_compare_and_swapqhi): Force
              address to a register before taking the lower part.
      
      2008-09-28  Andrew Pinski  <andrew_pinski@playstation.sony.com>
      
              PR target/37640
              * gcc.c-torture/compile/sync-3.c: New testcase to check that
      	addresses of non zero offset works.
      
      From-SVN: r140740
      Andrew Pinski committed
    • sh.h (OVERRIDE_OPTIONS): Unset flag_dwarf2_cfi_asm for SHmedia. · 30deaaf3
      	* config/sh/sh.h (OVERRIDE_OPTIONS): Unset flag_dwarf2_cfi_asm
      	for SHmedia.
      
      From-SVN: r140739
      Kaz Kojima committed
    • re PR tree-optimization/36891 (ICE with vector division and -ffast-math and LIM) · f50d67f6
      2008-09-28  Andrew Pinski  <andrew_pinski@playstation.sony.com>
                  Kaushal Kantawala  <kaushal_kantawala@playstation.sony.com>
      
              PR tree-opt/36891
              * tree-ssa-loop-im.c (rewrite_reciprocal): Set DECL_GIMPLE_REG_P on
              the newly created variable.
              Create a VECTOR_CST of all 1s for vector types.
      
      2008-09-28  Andrew Pinski  <andrew_pinski@playstation.sony.com>
                  Kaushal Kantawala  <kaushal_kantawala@playstation.sony.com>
      
              PR tree-opt/36891
              * gcc.dg/torture/pr36891.c: New testcase.
      
      
      Co-Authored-By: Kaushal Kantawala <Kaushal_Kantawala@playstation.sony.com>
      
      From-SVN: r140738
      Andrew Pinski committed
    • unique_ptr.h (unique_ptr<_Tp[]>::template<typename U> void reset(U)): Add as… · 0d5f7a16
      unique_ptr.h (unique_ptr<_Tp[]>::template<typename U> void reset(U)): Add as deleted function, per DR 821 [Ready].
      
      2008-09-28  Paolo Carlini  <paolo.carlini@oracle.com>
      
      	* include/bits/unique_ptr.h (unique_ptr<_Tp[]>::template<typename U>
      	void reset(U)): Add as deleted function, per DR 821 [Ready].
      	* include/bits/unique_ptr.h: Prefer everywhere deleted to private
      	member function declarations; minor formatting tweaks.
      	* testsuite/20_util/unique_ptr/modifiers/reset_neg.cc: New.
      	* testsuite/20_util/unique_ptr/assign/assign.cc: Adjust DejaGNU
      	directives.
      
      From-SVN: r140737
      Paolo Carlini committed
    • re PR middle-end/36575 (ACATS c460011 fails at -O3) · 58760a81
      	PR middle-end/36575
      	* fold-const (div_and_round_double) <ROUND_DIV_EXPR>: Fix typo.
      
      From-SVN: r140734
      Eric Botcazou committed
    • expmed.c (store_fixed_bit_field): Always use convert_to_mode in order to convert between modes. · 86cfb27a
      	* expmed.c (store_fixed_bit_field): Always use convert_to_mode in
      	order to convert between modes.
      	(extract_bit_field_1): Test TRULY_NOOP_TRUNCATION on the right mode.
      
      From-SVN: r140730
      Eric Botcazou committed
    • mutex (try_lock): Implement generic try_lock. · 57cb79ef
      2008-09-28  Chris Fairles <cfairles@gcc.gnu.org>
      
              * include/std/mutex (try_lock): Implement generic try_lock.
              * testsuite/30_threads/try_lock/1.cc: New.
              * testsuite/30_threads/try_lock/2.cc: Likewise.
              * testsuite/30_threads/try_lock/3.cc: Likewise.
              * testsuite/30_threads/mutex/cons/assign_neg.cc: Adjust line numbers.
              * testsuite/30_threads/mutex/cons/copy_neg.cc: Likewise.
              * testsuite/30_threads/timed_mutex/cons/assign_neg.cc: Likewise.
              * testsuite/30_threads/timed_mutex/cons/copy_neg.cc: Likewise.
              * testsuite/30_threads/recursive_mutex/cons/assign_neg.cc: Likewise.
              * testsuite/30_threads/recursive_mutex/cons/copy_neg.cc: Likewise.
              * testsuite/30_threads/recursive_timed_mutex/cons/assign_neg.cc:
              Likewise.
              * testsuite/30_threads/recursive_timed_mutex/cons/copy_neg.cc: Likewise.
      
      From-SVN: r140729
      Chris Fairles committed
    • Daily bump. · 1a9ea3e1
      From-SVN: r140727
      GCC Administrator committed
  3. 27 Sep, 2008 3 commits
  4. 26 Sep, 2008 20 commits