1. 29 Jul, 2016 32 commits
  2. 28 Jul, 2016 8 commits
    • re PR fortran/71067 (ICE on data initialization with insufficient value) · 89f1f37e
      2016-07-28  Steven G. Kargl  <kargl@gcc.gnu.org>
      
      	PR fortran/71067
      	* decl.c (match_data_constant): On error, set 'result' to NULL.
      
      2016-07-28  Steven G. Kargl  <kargl@gcc.gnu.org>
      
      	PR fortran/71067
      	* gfortran.dg/pr71067_1.f90: New test.
      	* gfortran.dg/pr71067_2.f90: Ditto.
      
      From-SVN: r238842
      Steven G. Kargl committed
    • * sv.po: Update. · 204ada0c
      From-SVN: r238839
      Joseph Myers committed
    • rs6000-protos.h (rs6000_split_vec_extract_var): New declaration. · e0d32185
      [gcc]
      2016-07-28  Michael Meissner  <meissner@linux.vnet.ibm.com>
      
      	* config/rs6000/rs6000-protos.h (rs6000_split_vec_extract_var):
      	New declaration.
      	* config/rs6000/rs6000-c.c (altivec_resolve_overloaded_builtin):
      	Add support for vec_extract of vector double or vector long having
      	a variable element number on 64-bit ISA 2.07 systems or newer.
      	* config/rs6000/rs6000.c (rs6000_expand_vector_extract):
      	Likewise.
      	(rs6000_split_vec_extract_var): New function to split a
      	vec_extract built-in function with variable element number.
      	(rtx_is_swappable_p): Variable vec_extracts and shifts are not
      	swappable.
      	* config/rs6000/vsx.md (UNSPEC_VSX_VSLO): New unspec.
      	(UNSPEC_VSX_EXTRACT): Likewise.
      	(vsx_extract_<mode>, VSX_D iterator): Fix constraints to allow
      	direct move instructions to be generated on 64-bit ISA 2.07
      	systems and newer, and to take advantage of the ISA 3.0 MFVSRLD
      	instruction.
      	(vsx_vslo_<mode>): New insn to do VSLO on V2DFmode and V2DImode
      	arguments for vec_extract variable element.
      	(vsx_extract_<mode>_var, VSX_D iterator): New insn to support
      	vec_extract with variable element on V2DFmode and V2DImode
      	vectors.
      	* config/rs6000/rs6000.h (TARGET_VEXTRACTUB): Remove
      	-mupper-regs-df requirement, since it isn't needed.
      	(TARGET_DIRECT_MOVE_64BIT): New macro to say whether we can
      	do direct moves on 64-bit systems, which allows optimization of
      	vec_extract on 64-bit ISA 2.07 systems and newer.
      
      [gcc/testsuite]
      2016-07-28  Michael Meissner  <meissner@linux.vnet.ibm.com>
      
      	* gcc.target/powerpc/vec-extract-1.c: New test.
      
      From-SVN: r238838
      Michael Meissner committed
    • Fix DR 438 container tests to pass in C++98 mode · 1a2196e4
      	* testsuite/23_containers/deque/requirements/dr438/assign_neg.cc:
      	Adjust dg-prune-output pattern for error in C++98 mode.
      	* testsuite/23_containers/deque/requirements/dr438/
      	constructor_1_neg.cc: Likewise.
      	* testsuite/23_containers/deque/requirements/dr438/
      	constructor_2_neg.cc: Likewise.
      	* testsuite/23_containers/deque/requirements/dr438/insert_neg.cc:
      	Likewise.
      	* testsuite/23_containers/list/requirements/dr438/assign_neg.cc:
      	Likewise.
      	* testsuite/23_containers/list/requirements/dr438/
      	constructor_1_neg.cc: Likewise.
      	* testsuite/23_containers/list/requirements/dr438/insert_neg.cc:
      	Likewise.
      	* testsuite/23_containers/vector/requirements/dr438/assign_neg.cc:
      	Likewise.
      	* testsuite/23_containers/vector/requirements/dr438/
      	constructor_1_neg.cc: Likewise.
      	* testsuite/23_containers/vector/requirements/dr438/
      	constructor_2_neg.cc: Likewise.
      	* testsuite/23_containers/vector/requirements/dr438/insert_neg.cc:
      	Likewise.
      
      From-SVN: r238837
      Jonathan Wakely committed
    • Fix std::vector test to pass in C++98 mode · e539b4ff
      	* testsuite/23_containers/vector/check_construct_destroy.cc: Account
      	for different construct/destroy counts in C++98 mode.
      
      From-SVN: r238836
      Jonathan Wakely committed
    • Use dg-additional-options in libstdc++ tests · c3c2f973
      	* testsuite/17_intro/headers/c++2011/stdc++.cc: Change target-specific
      	dg-options to dg-additional-options so that default options are used.
      	* testsuite/17_intro/headers/c++2011/stdc++_multiple_inclusion.cc:
      	Likewise.
      	* testsuite/17_intro/headers/c++2014/stdc++.cc: Likewise.
      	* testsuite/17_intro/headers/c++2014/stdc++_multiple_inclusion.cc:
      	Likewise.
      	* testsuite/29_atomics/atomic_flag/test_and_set/explicit-hle.cc:
      	Use dg-additional-options instead of repeating the common options.
      
      From-SVN: r238835
      Jonathan Wakely committed
    • Fix invalid dg-do directives in libstdc++ tests · 2de6b254
      	* testsuite/22_locale/conversions/string/1.cc: Remove unintended
      	dg-do compile directive.
      	* testsuite/26_numerics/headers/cmath/fabs_inline.cc: Fix syntax of
      	dg-do directive.
      	* testsuite/26_numerics/valarray/const_bracket.cc: Likewise.
      
      From-SVN: r238834
      Jonathan Wakely committed
    • re PR fortran/71799 (ICE in DO loop code emission (gfc_resolve_iterator)) · c851722d
      2016-07-28  Steven G. Kargl  <kargl@gcc.gnu.org>
      
      	PR fortran/71799
      	* resolve.c(gfc_resolve_iterator): Failure of type conversion need
      	not ICE.
      
      2016-07-28  Steven G. Kargl  <kargl@gcc.gnu.org>
      
      	PR fortran/71799
      	* gfortran.dg/pr71799.f90: New test.
      
      From-SVN: r238830
      Steven G. Kargl committed