1. 19 Dec, 2012 13 commits
    • Makefile.def (install-target-libgo): Depend on install-target-libatomic. · 6ce8fd9d
      2012-12-19  Matthias Klose  <doko@ubuntu.com>
      
              * Makefile.def (install-target-libgo): Depend on 
              install-target-libatomic.
              * Makefile.in: Regenerate.
      
      From-SVN: r194616
      Matthias Klose committed
    • i386.h (enum ix86_tune_indices): Add X86_TUNE_AVOID_MEM_OPND_FOR_CMOVE. · 6c72ea12
      	* config/i386/i386.h (enum ix86_tune_indices): Add
      	X86_TUNE_AVOID_MEM_OPND_FOR_CMOVE.
      	(TARGET_AVOID_MEM_OPND_FOR_CMOVE): New define.
      	* config/i386/i386.c (initial_ix86_tune_features)
      	<X86TUNE_AVOID_MEM_OPND_FOR_CMOVE>: Initialize.
      	* config/i386/i386.md (splitters to avoid cmove memory operands): New.
      	(peephole2s to avoid cmove memory operands): New.
      
      From-SVN: r194614
      Uros Bizjak committed
    • fortran.exp: Set -fintrinsic-modules-path. · aa86bf1e
      2012-12-19  Tobias Burnus  <burnus@net-b.de>
      
              * testsuite/libgomp.fortran/fortran.exp: Set
              -fintrinsic-modules-path.
      
      From-SVN: r194613
      Tobias Burnus committed
    • arm.md (f_minmaxs, f_minmaxd): New types. · 37202071
      gcc/
      
      2012-12-19  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
      
      	* config/arm/arm.md (f_minmaxs, f_minmaxd): New types.
      	* config/arm/vfp.md (smax<mode>3): New pattern.
      	(smin<mode>3): Likewise.
      
      
      gcc/testsuite/
      
      2012-12-19  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
      
      	* gcc.target/arm/vmaxnmdf.c: New test.
      	* gcc.target/arm/vmaxnmsf.c: Likewise.
      	* gcc.target/arm/vminnmsf.c: Likewise.
      	* gcc.target/arm/vminnmdf.c: Likewise.
      
      From-SVN: r194612
      Kyrylo Tkachov committed
    • use_intrinsic_1.f90: New; moved from gcc/testsuite/gfortran.dg/gomp/use_intrinsic_1.f90. · 2865ea66
      libgomp/
      2012-12-19  Tobias Burnus  <burnus@net-b.de>
      
              * testsuite/libgomp.fortran/use_intrinsic_1.f90: New; moved
              from gcc/testsuite/gfortran.dg/gomp/use_intrinsic_1.f90.
      
      gcc/testsuite/
      2012-12-19  Tobias Burnus  <burnus@net-b.de>
      
              * gfortran.dg/gomp/use_intrinsic_1.f90: Moved
              to libgomp/testsuite/libgomp.fortran/use_intrinsic_1.f90.
      
      From-SVN: r194611
      Tobias Burnus committed
    • targhooks.h (default_canonicalize_comparison): Fix prototype. · f236ac95
      2012-12-19  Richard Biener  <rguenther@suse.de>
      
      	* targhooks.h (default_canonicalize_comparison): Fix prototype.
      	* targhooks.c (default_canonicalize_comparison): Define.
      
      From-SVN: r194610
      Richard Biener committed
    • re PR lto/55736 (lto ICE: tree code ''junl is not supported in LTO streams) · d1f98542
      2012-12-19  Richard Biener  <rguenther@suse.de>
      
      	PR tree-optimization/55736
      	PR tree-optimization/55703
      	* gimplify.c (prune_expr_location): New function.
      	(unshare_expr_without_location): Likewise.
      	* tree.h (unshare_expr_without_location): Declare.
      	* ipa-prop.c (prune_expression_for_jf): Remove.
      	(prune_expression_for_jf_1): Likewise.
      	(ipa_set_jf_constant): Use unshare_expr_without_location.
      	(ipa_set_jf_arith_pass_through): Likewise.
      	(determine_known_aggregate_parts): Likewise.
      	* tree-switch-conversion.c (build_constructors): Use
      	unshare_expr_without_location on all constructor elements.
      
      	* gcc.dg/lto/pr55703_0.c: New testcase.
      
      From-SVN: r194609
      Richard Biener committed
    • target.def: Define canonicalize_comparison hook. · c354951b
      2012-12-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
      
      	* target.def: Define canonicalize_comparison hook.
      	* targhooks.h (default_canonicalize_comparison): New prototype.
      	* targhooks.c (default_canonicalize_comparison): New function.
      	* doc/tm.texi: Add documentation for the new target hook.
      	* doc/tm.texi.in: Likewise.
      	* combine.c (try_combine): Adjust to use the target hook.
      	* config/alpha/alpha.h (CANONICALIZE_COMPARISON): Remove macro
      	definition.
      	* config/alpha/alpha.c (alpha_canonicalize_comparison): New
      	function.
      	(TARGET_CANONICALIZE_COMPARISON): New macro definition.
      	* config/arm/arm-protos.h (arm_canonicalize_comparison): Remove
      	prototype.
      	* config/arm/arm.c (arm_canonicalize_comparison): Add new
      	parameter.
      	(TARGET_CANONICALIZE_COMPARISON): New macro definition.
      	* config/arm/arm.h (CANONICALIZE_COMPARISON): Remove macro
      	definition.
      	* config/s390/s390-protos.h (s390_canonicalize_comparison): Remove
      	prototype.
      	* config/s390/s390.c (s390_canonicalize_comparison): Add new
      	parameter.
      	(TARGET_CANONICALIZE_COMPARISON): New macro definition.
      	* config/s390/s390.h (CANONICALIZE_COMPARISON): Remove macro
      	definition.
      	* config/sh/sh-protos.h (sh_canonicalize_comparison): Remove
      	prototype.
      	* config/sh/sh.c (sh_canonicalize_comparison): Add new prototype.  New
      	function overloading the old one.
      	(TARGET_CANONICALIZE_COMPARISON): New macro definition.
      	* config/sh/sh.h (CANONICALIZE_COMPARISON): Remove macro
      	definition.
      	* config/spu/spu.c (spu_canonicalize_comparison): New function.
      	(TARGET_CANONICALIZE_COMPARISON): New macro definition.
      	* config/spu/spu.h (CANONICALIZE_COMPARISON): Remove macro
      	definition.
      
      From-SVN: r194608
      Andreas Krebbel committed
    • re PR debug/55730 (ICE in mem_loc_descriptor, at dwarf2out.c:12725) · e90c56c6
      	PR debug/55730
      	* dwarf2out.c (mem_loc_descriptor): Ignore CLOBBER.
      	* valtrack.c (gen_lowpart_for_debug): New function.
      	(propagate_for_debug): Temporarily set rtl_hooks.gen_lowpart_no_emit
      	to gen_lowpart_for_debug.
      
      	* gcc.dg/debug/pr55730.c: New test.
      
      From-SVN: r194607
      Jakub Jelinek committed
    • re PR tree-optimization/55683 (ICE in inline_call, at ipa-inline-transform.c:270) · da942ca0
      
      	PR tree-optimization/55683
      	* g++.dg/ipa/devirt-9.C: New testcase.
      
      	* ipa-prop.c (try_make_edge_direct_virtual_call): Look into constants for binfo.
      
      From-SVN: r194606
      Jan Hubicka committed
    • arm.c (thumb_find_work_register): Check argument register number based on current PCS. · 47b33e4c
      gcc/ChangeLog:
      
      2012-12-19  Terry Guo  <terry.guo@arm.com>
      
              * config/arm/arm.c (thumb_find_work_register): Check argument
              register number based on current PCS.
      
      gcc/testsuite/ChangeLog:
      
      2012-12-19  Terry Guo  <terry.guo@arm.com>
      
              * gcc.target/arm/thumb-find-work-register.c: New.
      
      From-SVN: r194605
      Terry Guo committed
    • re PR fortran/55636 (Fortran name mangling collides with user namespace) · 36085529
      2012-12-19  Tobias Burnus  <burnus@net-b.de>
                  Jakub Jelinek  <jakub@redhat.com>
                  Janus Weil  <janus@gcc.gnu.org>
      
              PR fortran/55636
              PR fortran/55733
              * gfortran.h (GFC_PREFIX): Define.
              * trans-decl.c (gfc_create_string_length): For VAR_DECLs that
              will be TREE_STATIC, use GFC_PREFIX to mangle the names. Handle
              -fno-automatic
              (gfc_trans_deferred_vars): Don't free variables SAVEd via
              -fno-automatic.
      
      2012-12-19  Tobias Burnus  <burnus@net-b.de>
      
              PR fortran/55733
              * gfortran.dg/save_5.f90: New.
      
      
      Co-Authored-By: Jakub Jelinek <jakub@redhat.com>
      Co-Authored-By: Janus Weil <janus@gcc.gnu.org>
      
      From-SVN: r194604
      Tobias Burnus committed
    • Daily bump. · 168c15be
      From-SVN: r194597
      GCC Administrator committed
  2. 18 Dec, 2012 20 commits
  3. 17 Dec, 2012 7 commits
    • * include/std/future (__async_sfinae_helper): Remove. · 92b8bcce
      From-SVN: r194567
      Jonathan Wakely committed
    • log/syslog: Solaris portability patches. · a57bf407
      From-SVN: r194566
      Ian Lance Taylor committed
    • Fix whitespace in gcc/ChangeLog. · a48bd7c6
      From-SVN: r194560
      Jan-Benedict Glaw committed
    • varasm.c (pending_assemble_externals_processed): Guard with ASM_OUTPUT_EXTERNAL. · b076fff3
      	* varasm.c (pending_assemble_externals_processed): Guard
      	with ASM_OUTPUT_EXTERNAL.
      
      From-SVN: r194559
      Jan-Benedict Glaw committed
    • arm.md (zero_extend<mode>di2): Add extra alternatives for NEON registers. · cdbf870f
      2012-12-17  Andrew Stubbs  <ams@codesourcery.com>
      	    Ulrich Weigand  <ulrich.weigand@linaro.org>
      
      	gcc/
      	* config/arm/arm.md (zero_extend<mode>di2): Add extra alternatives
      	for NEON registers.
      	Add alternative for one-instruction extend-in-place.
      	(extend<mode>di2): Likewise.
      	Add constraints for Thumb-mode memory loads.
      	Prevent extend splitters doing NEON alternatives.
      	* config/arm/iterators.md (qhs_extenddi_cstr, qhs_zextenddi_cstr):
      	Adjust constraints to add new alternatives.
      	* config/arm/neon.md: Add splitters for zero- and sign-extend.
      
      	gcc/testsuite/
      	* gcc.target/arm/neon-extend-1.c: New file.
      	* gcc.target/arm/neon-extend-2.c: New file.
      
      Co-Authored-By: Ulrich Weigand <ulrich.weigand@linaro.org>
      
      From-SVN: r194558
      Andrew Stubbs committed
    • arm.md (type): Add "simple_alu_shift" to attribute "type". · 55ebe5ab
      gcc/
      
      2012-12-17  Greta Yorsh  <Greta.Yorsh@arm.com>
      
              * config/arm/arm.md (type): Add "simple_alu_shift" to attribute "type".
              (core_cycles): Update for simple_alu_shift.
              (thumb1_zero_extendhisi2,arm_zero_extendhisi2_v6): Use simple_alu_shift
              instead of a CPU-speicific condition for "type" attribute.
              (thumb1_zero_extendqisi2_v6,arm_zero_extendqisi2_v6): Likewise.
              (thumb1_extendhisi2,arm_extendhisi2_v6,arm_extendqisi_v6): Likewise.
              (thumb1_extendqisi2): Likewise.
              * config/arm/thumb2.md (thumb2_extendqisi_v6): Likewise.
              (thumb2_zero_extendhisi2_v6,thumb2_zero_extendqisi2_v6) Likewise.
              * config/arm/arm1020e.md (alu_shift_op): Use simple_alu_shift.
              * config/arm/arm1026ejs.md (alu_shift_op): Likewise.
              * config/arm/arm1136jfs.md (11_alu_shift_op): Likewise.
              * config/arm/arm926ejs.md (9_alu_op): Likewise.
              * config/arm/cortex-a15.md (cortex_a15_alu_shift): Likewise.
              * config/arm/cortex-a5.md (cortex_a5_alu_shift): Likewise.
              * config/arm/cortex-a8.md (cortex_a8_alu_shift,cortex_a8_mov): Likewise.
              * config/arm/cortex-a9.md (cortex_a9_dp,cortex_a9_dp_shift): Likewise.
              * config/arm/cortex-m4.md (cortex_m4_alu): Likewise.
              * config/arm/cortex-r4.md (cortex_r4_alu_shift): Likewise.
              * config/arm/fa526.md (526_alu_shift_op): Likewise.
              * config/arm/fa606te.md (fa606te_core): Likewise.
              * config/arm/fa626te.md (626te_alu_shift_op): Likewise.
              * config/arm/fa726te.md (726te_alu_shift_op): Likewise.
              * config/arm/fmp626.md (mp626_alu_shift_op): Likewise.
      
      From-SVN: r194557
      Greta Yorsh committed
    • target-supports.exp (add_options_for_arm_v8_neon): Add -march=armv8-a. · e9b16cc9
      2012-12-17  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
      
      	* lib/target-supports.exp (add_options_for_arm_v8_neon):
      	Add -march=armv8-a.
      
      From-SVN: r194556
      Kyrylo Tkachov committed