1. 19 Dec, 2012 10 commits
    • 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 10 commits