1. 19 Jul, 2012 21 commits
  2. 18 Jul, 2012 19 commits
    • validate_failures.py: Fix /usr/bin/python invocation. · 89d223b3
      	* testsuite-management/validate_failures.py: Fix
      	/usr/bin/python invocation.
      
      From-SVN: r189631
      Diego Novillo committed
    • cp-demangle.c (cplus_demangle_operators): Add *_cast. · aefa74bd
      	* cp-demangle.c (cplus_demangle_operators): Add *_cast.
      	(op_is_new_cast): New.
      	(d_expression, d_print_comp): Check it.
      
      From-SVN: r189630
      Jason Merrill committed
    • ChangeLog.libgcj: Move last two entries ... · 1ff8c79b
      	* ChangeLog.libgcj: Move last two entries ...
      	* ChangeLog: ... here.
      
      From-SVN: r189627
      Uros Bizjak committed
    • Define FFI_SIZEOF_JAVA_RAW to 4 for x32 · d6a89122
      
      	PR libffi/53982
      	PR libffi/53973
      	* src/x86/ffitarget.h: Check __ILP32__ instead of __LP64__ for
      	x32.
      	(FFI_SIZEOF_JAVA_RAW): Defined to 4 for x32.
      
      From-SVN: r189626
      H.J. Lu committed
    • mips.opt (mmcu): New option. · 5cb5a23f
      2012-07-18  Maciej W. Rozycki  <macro@codesourcery.com>
      	    Chao-ying Fu  <fu@mips.com>
      
      	* config/mips/mips.opt (mmcu): New option.
      	* config/mips/mips.h (TARGET_CPU_CPP_BUILTINS): Define 
      	_mips_mcu when TARGET_MCU.
      	(ASM_SPEC): Pass mcu options to the assembler.
      	* doc/invoke.texi (MIPS Options): Document -mmcu and -mno-mcu.
      
      
      Co-Authored-By: Chao-ying Fu <fu@mips.com>
      
      From-SVN: r189624
      Maciej W. Rozycki committed
    • Skip 67h address size prefix unconditionally · 16926032
      	PR libjava/53973
      	* include/x86_64-signal.h (CHECK_67H_PREFIX): Removed.
      	(HANDLE_DIVIDE_OVERFLOW): Skip 67h address size prefix
      	unconditionally.
      
      From-SVN: r189623
      H.J. Lu committed
    • Check and skip 67h address size prefix for x32 · e4f92767
      	PR libjava/53973
      	* include/x86_64-signal.h (CHECK_67H_PREFIX): New.
      	(HANDLE_DIVIDE_OVERFLOW): Check and and skip 67h address size
      	prefix if CHECK_67H_PREFIX is 1.  Use ULL suffix for 64-bit
      	integer.
      
      From-SVN: r189621
      H.J. Lu committed
    • 20101011-1.c: Skip on bare-metal m68k. · 9df3cfea
      2012-07-18  Julian Brown  <julian@codesourcery.com>
      	    Sandra Loosemore <sandra@codesroucery.com>
      
      	gcc/testsuite/
      	* gcc.c-torture/execute/20101011-1.c: Skip on bare-metal m68k.
      
      Co-Authored-By: Sandra Loosemore <sandra@codesourcery.com>
      
      From-SVN: r189620
      Julian Brown committed
    • config.gcc (v850-*-rtems*): New target. · cc5476cb
      2012-07-18  Ralf Corsépius  <ralf.corsepius@rtems.org>
      
             * config.gcc (v850-*-rtems*): New target.
             * config/v850/rtems.h: New.
             * config/v850/t-rtems: New.
      
      From-SVN: r189618
      Ralf Corsepius committed
    • invoke.texi: Add -fhoist-adjacent-loads and -ftree-slsr to list of flags controlling... · 75cfe445
      2012-07-18  Bill Schmidt  <wschmidt@linux.ibm.com>
      
      	* doc/invoke.texi: Add -fhoist-adjacent-loads and -ftree-slsr to list
      	of flags controlling optimization; add -ftree-slsr to list of flags
      	enabled by default at -O; add -fhoist-adjacent-loads to list of flags
      	enabled by default at -O2; add -fvect-cost-model to list of flags
      	enabled by default at -O3; document -fhoist-adjacent-loads and
      	-ftree-slsr.
      	* opts.c (default_option): Make -ftree-slsr default at -O1 and above.
      	* gimple-ssa-strength-reduction.c (gate_strength_reduction): Use
      	flag_tree_slsr.
      	* common.opt: Add -ftree-slsr with flag_tree_slsr.
      
      From-SVN: r189617
      Bill Schmidt committed
    • trans.c (stmt_group_may_fallthru): New function. · a712b009
      	* gcc-interface/trans.c (stmt_group_may_fallthru): New function.
      	(gnat_to_gnu) <N_Block_Statement>: Use it to find out whether the
      	block needs to be translated.
      
      From-SVN: r189612
      Eric Botcazou committed
    • arm.c (arm_rtx_costs_1): Adjust cost for CONST_VECTOR. · edd5e900
          gcc/
          * config/arm/arm.c (arm_rtx_costs_1): Adjust cost for
          CONST_VECTOR.
          (arm_size_rtx_costs): Likewise.
          (neon_valid_immediate): Add a case for double 0.0.
      
          gcc/testsuite/
          * gcc.target/arm/neon-vdup-1.c: New test case.
          * gcc.target/arm/neon-vdup-2.c: New test case.
          * gcc.target/arm/neon-vdup-3.c: New test case.
          * gcc.target/arm/neon-vdup-4.c: New test case.
          * gcc.target/arm/neon-vdup-5.c: New test case.
          * gcc.target/arm/neon-vdup-6.c: New test case.
          * gcc.target/arm/neon-vdup-7.c: New test case.
          * gcc.target/arm/neon-vdup-8.c: New test case.
          * gcc.target/arm/neon-vdup-9.c: New test case.
          * gcc.target/arm/neon-vdup-10.c: New test case.
          * gcc.target/arm/neon-vdup-11.c: New test case.
          * gcc.target/arm/neon-vdup-12.c: New test case.
          * gcc.target/arm/neon-vdup-13.c: New test case.
          * gcc.target/arm/neon-vdup-14.c: New test case.
          * gcc.target/arm/neon-vdup-15.c: New test case.
          * gcc.target/arm/neon-vdup-16.c: New test case.
          * gcc.target/arm/neon-vdup-17.c: New test case.
          * gcc.target/arm/neon-vdup-18.c: New test case.
          * gcc.target/arm/neon-vdup-19.c: New test case.
          * gcc.target/arm/neon-combine-sub-abs-into-vabd.c: Make intrinsic
          arguments non-constant.
      
      
      Co-Authored-By: Julian Brown <julian@codesourcery.com>
      
      From-SVN: r189611
      Jie Zhang committed
    • gcc/ · 392e87f6
      	* config/arm/vfp.md (*arm_movsi_vfp, *thumb2_movsi_vfp)
      	(*movdi_vfp_cortexa8, *movsf_vfp, *thumb2_movsf_vfp)
      	(*movdf_vfp, *thumb2_movdf_vfp, *movsfcc_vfp)
      	(*thumb2_movsfcc_vfp, *movdfcc_vfp, *thumb2_movdfcc_vfp): Add
      	neon_type.
      	* config/arm/arm.md (neon_type): Update comment.
      
      
      Co-Authored-By: Julian Brown <julian@codesourcery.com>
      Co-Authored-By: Mark Shinwell <shinwell@codesourcery.com>
      
      From-SVN: r189610
      Andrew Stubbs committed
    • re PR tree-optimization/53970 (-ftree-vectorization does not handle well unaligned data) · 4c9bcf89
      2012-07-18  Richard Guenther  <rguenther@suse.de>
      
      	PR tree-optimization/53970
      	* tree.h (contains_packed_reference): Remove.
      	* expr.c (contains_packed_reference): Likewise.
      	* tree-vect-data-refs.c (not_size_aligned): New function.
      	(vector_alignment_reachable_p): Use it.
      	(vect_supportable_dr_alignment): Likewise.
      
      	* g++.dg/torture/pr53970.C: New testcase.
      
      From-SVN: r189609
      Richard Guenther committed
    • tree.h (get_object_or_type_alignment): Remove. · b0f4a35f
      2012-07-18  Richard Guenther  <rguenther@suse.de>
      
      	* tree.h (get_object_or_type_alignment): Remove.
      	* builtins.c (get_object_alignment_2): New function copied from
      	get_object_alignment_1.  Take extra argument to indicate whether
      	we take the address of EXP.  Rework to use type alignment information
      	if not, and return whether the result is an approximation or not.
      	(get_object_alignment_1): Wrap around get_object_alignment_2.
      	(get_pointer_alignment_1): Call get_object_alignment_2 indicating
      	we take the address.
      	(get_object_or_type_alignment): Remove.
      	* expr.c (expand_assignment): Call get_object_alignment.
      	(expand_expr_real_1): Likewise.
      
      From-SVN: r189607
      Richard Guenther committed
    • re PR target/38621 (sh gcc unable to spill register when building ghostscript-gpl with -O2) · dad57b68
      	PR target/38621
      	* gcc.c-torture/compile/pr38621.c: New.
      
      From-SVN: r189605
      Oleg Endo committed
    • * doc/invoke.texi (ARM Options): Document -munaligned-access. · 59194a3c
      From-SVN: r189604
      Nick Clifton committed
    • sh.md (mulsidi3, umulsidi3): Remove constraints in expander. · ee04b091
      	* config/sh/sh.md (mulsidi3, umulsidi3): Remove constraints in
      	expander.  Use arith_reg_dest predicate.
      	(rotldi3, rotrdi3): Remove constraints in expander.
      	(adddi3_compact, subdi3_compact, mulsidi3_compact, umulsidi3_compact,
      	ashlsi3_n, *ashlhi3_n, ashrsi2_16, ashrsi2_31, lshrsi3_n): Convert to
      	insn_and_split.
      
      From-SVN: r189603
      Oleg Endo committed