1. 26 Jan, 2017 26 commits
  2. 25 Jan, 2017 14 commits
    • ChangeLog only update missed in r244910. · dbe81dbe
      From-SVN: r244911
      Martin Sebor committed
    • PR c++/71290 - Flexible array member is not diagnosed with -pedantic · 58feaa5f
      gcc/cp/ChangeLog:
      	PR c++/71290
      	* decl.c (grokdeclarator): Warn on flexible array members.
      
      gcc/testsuite/ChangeLog:
      	PR c++/71290
      	* g++.dg/ext/flexarray-mangle-2.C: Adjust.
      	* g++.dg/ext/flexarray-mangle.C: Same.
      	* g++.dg/ext/flexarray-subst.C: Same.
      	* g++.dg/ext/flexary10.C: Same.
      	* g++.dg/ext/flexary11.C: Same.
      	* g++.dg/ext/flexary14.C: Same.
      	* g++.dg/ext/flexary16.C: Same.
      	* g++.dg/ext/flexary18.C: Same.
      	* g++.dg/ext/flexary19.C: Same.
      	* g++.dg/ext/flexary7.C: Same.
      	* gcc/testsuite/g++.dg/cpp1z/has-unique-obj-representations1.C: Same.
      	* gcc/testsuite/g++.dg/ubsan/object-size-1.C: Same.
      	* gcc/testsuite/obj-c++.dg/property/at-property-23.mm: Same.
      
      From-SVN: r244910
      Martin Sebor committed
    • re PR c++/78896 ([C++17] Segmentation fault occurs when use variable initialized… · a25608aa
      re PR c++/78896 ([C++17] Segmentation fault occurs when use variable initialized using structured binding with capture-by-ref lambda)
      
      	PR c++/78896
      	* decl.c (cp_finish_decomp): Disallow memberwise decomposition of
      	lambda expressions.
      
      	* g++.dg/cpp1z/decomp24.C: New test.
      
      From-SVN: r244909
      Jakub Jelinek committed
    • re PR c++/77914 (Wrong lambda definition accepted) · 0e343868
      	PR c++/77914
      	* parser.c (cp_parser_lambda_declarator_opt): Pedwarn with
      	OPT_Wpedantic on lambda templates for -std=c++14 and higher.
      
      	* g++.dg/cpp1y/lambda-generic-77914.C: New test.
      	* g++.dg/cpp1y/lambda-generic-dep.C: Add -pedantic to dg-options,
      	expect a warning.
      	* g++.dg/cpp1y/lambda-generic-x.C: Add -Wpedantic to dg-options,
      	expect warnings.
      	* g++.dg/cpp1y/lambda-generic-mixed.C: Add empty dg-options.
      	* g++.dg/cpp1y/pr59636.C: Likewise.
      	* g++.dg/cpp1y/pr60190.C: Likewise.
      
      From-SVN: r244907
      Jakub Jelinek committed
    • vect-24.c: Remove xfail on ARM targets. · 0d098f4b
      	gcc/testsuite
      	* gcc.dg/vect/vect-24.c: Remove xfail on ARM targets.
      
      From-SVN: r244905
      Bin Cheng committed
    • rs6000-c (altivec_overloaded_builtins): Fix order of entries for… · 5332c89e
      rs6000-c (altivec_overloaded_builtins): Fix order of entries for ALTIVEC_BUILTIN_VEC_PACKS and P8V_BUILTIN_VEC_VGBBD.
      
      
      gcc/ChangeLog:
      
      2017-01-25  Carl Love  <cel@us.ibm.com>
      
              * config/rs6000/rs6000-c (altivec_overloaded_builtins): Fix order
              of entries for ALTIVEC_BUILTIN_VEC_PACKS and P8V_BUILTIN_VEC_VGBBD.
      
      gcc/testsuite/ChangeLog:
      
      2017-01-25  Carl Love  <cel@us.ibm.com>
              * gcc.target/powerpc/builtins-3-p8.c:  Add missing tests for the
              vec_packs built-ins
      
      From-SVN: r244904
      Carl Love committed
    • [ARM][testsuite] Force -mcpu=cortex-a57 for vsel* tests. · ed4e59f4
      2017-01-25  Christophe Lyon  <christophe.lyon@linaro.org>
      
      	* gcc.target/arm/vseleqdf.c: Require arm_arch_v8a_ok, add
      	-mcpu=cortex-a57.
      	* gcc.target/arm/vseleqsf.c: Likewise.
      	* gcc.target/arm/vselgedf.c: Likewise.
      	* gcc.target/arm/vselgesf.c: Likewise.
      	* gcc.target/arm/vselgtdf.c: Likewise.
      	* gcc.target/arm/vselgtsf.c: Likewise.
      	* gcc.target/arm/vselledf.c: Likewise.
      	* gcc.target/arm/vsellesf.c: Likewise.
      	* gcc.target/arm/vselltdf.c: Likewise.
      	* gcc.target/arm/vselltsf.c: Likewise.
      	* gcc.target/arm/vselnedf.c: Likewise.
      	* gcc.target/arm/vselnesf.c: Likewise.
      	* gcc.target/arm/vselvcdf.c: Likewise.
      	* gcc.target/arm/vselvcsf.c: Likewise.
      	* gcc.target/arm/vselvsdf.c: Likewise.
      	* gcc.target/arm/vselvssf.c: Likewise.
      
      From-SVN: r244903
      Christophe Lyon committed
    • libhsail-rt: Fix some Autotools issues · 4703b555
      	contrib/
      	* gcc_update (files_and_dependencies): Care for "libhsail-rt".
      
      	libhsail-rt/
      	* configure.ac: Don't instantiate AC_CONFIG_MACRO_DIR.
      	* configure: Regenerate.
      
      	libhsail-rt/
      	* config.h.in: Remove stale file.
      
      From-SVN: r244902
      Thomas Schwinge committed
    • Fix "classe" typo in C++ Dialect Options docs · 25b0128e
      	* doc/invoke.texi (C++ Dialect Options): Fix typo.
      
      From-SVN: r244901
      Jonathan Wakely committed
    • PR libstdc++/70607 make proj(T) and conj(T) return complex<T> · 536c221d
      	PR libstdc++/61791
      	PR libstdc++/70607
      	* include/std/complex (real(T), imag(T)): Add _GLIBCXX_CONSTEXPR.
      	(proj(T), conj(T)): Change return types per DR 1522.
      	* include/tr1/complex (conj): Remove overloads and use std::conj.
      	* testsuite/26_numerics/complex/dr781_dr1137.cc: Rename to...
      	* testsuite/26_numerics/complex/dr781.cc: ... this, and update.
      	* testsuite/26_numerics/complex/value_operations/constexpr2.cc: Test
      	real(T) and imag(T). Allow testing for C++11 too.
      
      From-SVN: r244900
      Jonathan Wakely committed
    • re PR testsuite/72850 (FAIL: gcc.dg/tree-ssa/pr69270-3.c scan-tree-dump-times uncprop1 ", 1" 4) · a5d6927f
      2017-01-25  Richard Biener  <rguenther@suse.de>
      
      	PR testsuite/72850
      	* gcc.dg/tree-ssa/pr69270-3.c: Change back expected outcome
      	to what we had before adding the threading passes.
      
      From-SVN: r244898
      Richard Biener committed
    • re PR target/69264 (ICE building spidermonkey -mcpu=970 -maltivec -O3:… · c2873892
      re PR target/69264 (ICE building spidermonkey -mcpu=970 -maltivec -O3: rs6000_builtin_vectorization_cost, at config/rs6000/rs6000.c:4350)
      
      2017-01-25  Richard Biener  <rguenther@suse.de>
      
      	PR tree-optimization/69264
      	* target.def (vector_alignment_reachable): Improve documentation.
      	* doc/tm.texi: Regenerate.
      	* targhooks.c (default_builtin_vector_alignment_reachable): Simplify
      	and add a comment.
      	* tree-vect-data-refs.c (vect_supportable_dr_alignment): Revert
      	earlier changes with respect to TYPE_USER_ALIGN.
      	(vector_alignment_reachable_p): Likewise.  Improve dumping.
      
      	* g++.dg/torture/pr69264.C: New testcase.
      
      From-SVN: r244897
      Richard Biener committed
    • Add svn:executable property. · b3f1c7e9
      From-SVN: r244896
      Jakub Jelinek committed
    • re PR other/79046 (g++ -print-file-name=plugin uses full version number in path) · c48dc2cd
      	PR other/79046
      	* configure.ac: Add GCC_BASE_VER.
      	* Makefile.am (gcc_version): Use @get_gcc_base_ver@ instead of cat to
      	get version from BASE-VER file.
      	(ACLOCAL_AMFLAGS): Set to -I .. -I ../config .
      	* aclocal.m4: Regenerated.
      	* configure: Regenerated.
      	* Makefile.in: Regenerated.
      
      From-SVN: r244895
      Jakub Jelinek committed