1. 26 Jun, 2014 30 commits
  2. 25 Jun, 2014 10 commits
    • alloc.cc: Fix use of test allocator. · 6ab0d680
      	* testsuite/20_util/shared_ptr/creation/alloc.cc: Fix use of test
      	allocator.
      	* testsuite/20_util/shared_ptr/creation/no_rtti.cc: Likewise.
      	* testsuite/30_threads/promise/cons/alloc.cc: Likewise.
      
      From-SVN: r212003
      Jonathan Wakely committed
    • default_format_denormal_2.f90: Remove xfail for powerpc*-*-linux*. · 733bd641
      2014-06-25  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
      
      	* gfortran.dg/default_format_denormal_2.f90:  Remove xfail for
      	powerpc*-*-linux*.
      
      From-SVN: r212000
      Bill Schmidt committed
    • gcc.c (set_multilib_dir): Malloc "." pointer as well. · 646d1bed
      2014-06-25  Paul Gortmaker  <paul.gortmaker@windriver.com>
                  Jakub Jelinek  <jakub@redhat.com>
      
              * gcc.c (set_multilib_dir): Malloc "." pointer as well.
      
      Co-Authored-By: Jakub Jelinek <jakub@redhat.com>
      
      From-SVN: r211997
      Paul Gortmaker committed
    • Makefile.am: Add new header. · b925bf59
      	* include/Makefile.am: Add new header.
      	* include/Makefile.in: Regenerate.
      	* include/bits/allocated_ptr.h (__allocated_ptr, __allocate_guarded):
      	New RAII utilities for working with allocators.
      	* include/bits/shared_ptr_base.h (_Sp_counted_deleter): Define
      	__allocator_type typedef and use new __allocated_ptr type.
      	(_Sp_counted_ptr_inplace): Likewise.
      	(__shared_count::__shared_count, __shared_ptr::__shared_ptr): Use
      	__allocate_guarded to to simplify exception handling.
      	* include/experimental/any (any::_Manager_alloc::_S_alloc): Likewise.
      	* include/std/future (_Result_alloc::_M_destroy): Likewise.
      	(_Result_alloc::_S_allocate_result): Likewise.
      	* testsuite/20_util/shared_ptr/cons/43820_neg.cc: Adjust line number.
      	* testsuite/20_util/shared_ptr/cons/void_neg.cc: Likewise.
      	* testsuite/20_util/shared_ptr/creation/no_rtti.cc: New.
      	* testsuite/20_util/shared_ptr/creation/alloc.cc: Test allocator
      	with fancy pointer.
      	* testsuite/30_threads/promise/cons/alloc.cc: Likewise.
      
      From-SVN: r211996
      Jonathan Wakely committed
    • alloc_traits.h (__alloc_rebind): Define alias template. · 484dc599
      	* include/bits/alloc_traits.h (__alloc_rebind): Define alias template.
      	* include/bits/forward_list.h (_Fwd_list_base): Use __alloc_rebind.
      	* include/bits/hashtable_policy.h (_Insert_base, _Hashtable_alloc):
      	Likewise.
      	* include/ext/alloc_traits.h: Fix comment.
      
      From-SVN: r211995
      Jonathan Wakely committed
    • interface.c (check_intents): Fix diagnostic with coindexed coarrays. · 99c39534
      gcc/fortran/
      2014-06-25  Tobias Burnus  <burnus@net-b.de>
      
              * interface.c (check_intents): Fix diagnostic with
              coindexed coarrays.
      
      gcc/testsuite/
      2014-06-25  Tobias Burnus  <burnus@net-b.de>
      
              * gfortran.dg/coarray_33.f90: New.
      
      From-SVN: r211994
      Tobias Burnus committed
    • resolve.c (resolve_ordinary_assign): Don't invoke caf_send when assigning a… · 5c75088c
      resolve.c (resolve_ordinary_assign): Don't invoke caf_send when assigning a coindexed RHS scalar to a noncoindexed...
      
      2014-06-25  Tobias Burnus  <burnus@net-b.de>
      
      fortran/
              * resolve.c (resolve_ordinary_assign): Don't invoke caf_send
              when assigning a coindexed RHS scalar to a noncoindexed LHS
              array.
              * trans-intrinsic.c (conv_caf_send): Do numeric type conversion
              for a noncoindexed scalar RHS.
      
      gcc/testsuite/
              * gfortran.dg/coarray/coindexed_1.f90: New.
      
      libgfortran/
              * caf/single.c (assign_char4_from_char1,
              * assign_char1_from_char4,
              convert_type): New static functions.
              (_gfortran_caf_get, _gfortran_caf_send): Use them.
      
      From-SVN: r211993
      Tobias Burnus committed
    • check.c (check_co_minmaxsum): Add definable check. · aa9ca5ca
      gcc/fortran/
      2014-06-25  Tobias Burnus  <burnus@net-b.de>
      
              * check.c (check_co_minmaxsum): Add definable check.
              * expr.c (gfc_check_vardef_context): Fix context == NULL case.
              * trans-expr.c (get_scalar_to_descriptor_type): Handle pointer
              arguments.
              * trans-intrinsic.c (gfc_conv_intrinsic_caf_get): Fix generation
              of temporary strings.
      
      gcc/testsuite/
      2014-06-25  Tobias Burnus  <burnus@net-b.de>
      
              * gfortran.dg/coarray_collectives_7.f90: New.
      
      From-SVN: r211992
      Tobias Burnus committed
    • Remove superfluous clobber of cc in arm_emit_call_insn · db88b449
      2014-06-25  Tom de Vries  <tom@codesourcery.com>
      
      	* config/arm/arm.c (arm_emit_call_insn): Remove clobber of CC_REGNUM.
      
      From-SVN: r211990
      Tom de Vries committed
    • tree-ssa-forwprop.c (associate_plusminus): For widening conversions check for… · f9bb13f3
      tree-ssa-forwprop.c (associate_plusminus): For widening conversions check for undefined overflow in (T)(P + A) - (T)P -> (T)A.
      
      2014-06-25  Bernd Edlinger  <bernd.edlinger@hotmail.de>
      
              * tree-ssa-forwprop.c (associate_plusminus): For widening conversions
              check for undefined overflow in (T)(P + A) - (T)P -> (T)A.
              Issue a strict overflow warning if appropriate.
      
      testsuite:
      2014-06-25  Bernd Edlinger  <bernd.edlinger@hotmail.de>
      
              * gcc.c-torture/execute/20140622-1.c: New test.
      
      From-SVN: r211988
      Bernd Edlinger committed