Fix PR c++/70610 (wrong overload resolution during template processing)
[gcc.git] / gcc / testsuite / ChangeLog
index fc7fd586440395deba6f76d95024134d9d55c936..75c4fa810ccb270de0899f50213928b0f3d0f65d 100644 (file)
@@ -1,3 +1,427 @@
+2016-04-12  Patrick Palka  <ppalka@gcc.gnu.org>
+
+       PR c++/70610
+       * g++.dg/template/pr70610.C: New test.
+       * g++.dg/template/pr70610-2.C: New test.
+       * g++.dg/template/pr70610-3.C: New test.
+       * g++.dg/template/pr70610-4.C: New test.
+
+2016-04-12  Jakub Jelinek  <jakub@redhat.com>
+
+       * c-c++-common/cilk-plus/SE/ef_error2.c (func2): Use vectorlength
+       128 instead of 32.
+
+       PR c++/70571
+       * g++.dg/ext/pr70571.C: New test.
+
+2016-04-12  Michael Meissner  <meissner@linux.vnet.ibm.com>
+
+       PR target/70640
+       * gcc.target/powerpc/pr70640.c: New test.
+
+2016-04-12  Paolo Carlini  <paolo.carlini@oracle.com>
+
+       PR c++/68722
+       * g++.dg/parse/pr68722.C: New.
+
+2016-04-12  Jakub Jelinek  <jakub@redhat.com>
+
+       PR rtl-optimization/70596
+       * gcc.target/i386/pr70596.c: New test.
+
+2016-04-12  Nathan Sidwell  <nathan@acm.org>
+
+       PR c++/70501
+       * g++.dg/init/pr70501.C: New.
+
+2016-04-12  David Wohlferd  <dw@LimeGreenSocks.com>
+
+       * gcc.target/i386/asm-flag-6.c: New test.
+
+2016-04-12  Tom de Vries  <tom@codesourcery.com>
+
+       PR tree-optimization/68756
+       * gcc.dg/graphite/pr68756.c: New test.
+
+2016-04-12  Jakub Jelinek  <jakub@redhat.com>
+
+       PR tree-optimization/70602
+       * gcc.c-torture/execute/pr70602.c: New test.
+
+2016-04-11  Michael Meissner  <meissner@linux.vnet.ibm.com>
+
+       PR target/70381
+       * gcc.target/powerpc/float128-1.c: New tests to make sure the
+       __float128 emulator is built and runs.
+       * gcc.target/powerpc/float128-1.c: Likewise.
+
+       * lib/target-supports.exp (check_ppc_float128_sw_available):
+       Rework tests for __float128 software and hardware
+       availability. Fix exit condition to return 0 on success.
+
+2016-04-11  James Greenhalgh  <james.greenhalgh@arm.com>
+
+       PR target/70133
+       * gcc.target/aarch64/mgeneral-regs_4.c: Fix expected output.
+       * gcc.target/aarch64/target_attr_15.c: Likewise.
+
+2016-04-10  Paolo Carlini  <paolo.carlini@oracle.com>
+
+       PR c++/69066
+       * g++.dg/cpp1y/pr69066.C: New.
+
+2016-04-09  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
+
+       PR fortran/68566
+       * gfortran.dg/pr36192.f90: Update test.
+       * gfortran.dg/pr36192_1.f90: Update test.
+       * gfortran.dg/real_dimension_1.f: Update test.
+       * gfortran.dg/parameter_array_init_7.f90: New test.
+
+2016-04-09  John David Anglin  <danglin@gcc.gnu.org>
+
+       PR testsuite/64039
+       * gcc.dg/tree-ssa/ssa-dom-cse-2.c: xfail scan-tree-dump on hppa*64*-*-*.
+
+       * gcc.dg/pr70317.c: Add -fno-common on hppa*-*-hpux*.
+
+       PR rtl-optimization/66669
+       * gcc.dg/loop-8.c: Skip on hppa*-*-*.
+
+       * gcc.dg/debug/dwarf2/prod-options.c: Adjust scan for hppa*64*-*-*.
+
+       * gcc.dg/pic-1.c: Skip on hppa*-*-*.
+       * gcc.dg/pie-1.c: Likewise.
+       * gcc.dg/pic-3.c: Skip on hppa*64*-*-*.
+       * gcc.dg/pic-4.c: Likewise.
+       * gcc.dg/pie-3.c: Likewise.
+       * gcc.dg/pie-4.c: Likewise.
+
+       * gcc.dg/uninit-19.c: Fix warning line for hppa*64*-*-*.
+
+       PR tree-optimization/68644
+       * gcc.dg/tree-ssa/ivopts-lt-2.c: Skip on hppa*-*-*.
+
+       PR rtl-optimization/64886
+       * gcc.dg/pr64434.c: Skip on hppa*-*-hpux*.
+
+2016-04-09  Tom de Vries  <tom@codesourcery.com>
+
+       PR tree-optimization/68953
+       * gcc.dg/graphite/pr68953.c: New test.
+
+2016-04-09  Dominique d'Humieres  <dominiq@lps.ens.fr>
+
+       PR fortran/70592
+       * gfortran.dg/deferred_character_16.f90: New test.
+
+2016-04-09  Jakub Jelinek  <jakub@redhat.com>
+
+       PR tree-optimization/70586
+       * gcc.c-torture/execute/pr70586.c: New test.
+
+2016-04-09  Dominique d'Humieres  <dominiq@lps.ens.fr>
+
+       PR sanitizer/70573
+       * c-c++-common/asan/halt_on_error-1.c: Replace memset
+       with __builtin_memset
+       * c-c++-common/asan/halt_on_error-2.c: Likewise.
+
+2016-04-08  Cesar Philippidis  <cesar@codesourcery.com>
+
+       PR lto/70289
+       PR ipa/70348
+       PR tree-optimization/70373
+       PR middle-end/70533
+       PR middle-end/70534
+       PR middle-end/70535
+       * c-c++-common/goacc/reduction-5.c: New test.
+       * c-c++-common/goacc/reduction-promotions.c: New test.
+       * gfortran.dg/goacc/reduction-3.f95: New test.
+       * gfortran.dg/goacc/reduction-promotions.f90: New test.
+
+2016-04-08  Patrick Palka  <ppalka@gcc.gnu.org>
+
+       PR c++/70590
+       PR c++/70452
+       * g++.dg/pr70590.C: New test.
+       * g++.dg/pr70590-2.C: New test.
+
+2016-04-08  Jakub Jelinek  <jakub@redhat.com>
+
+       PR middle-end/70593
+       * gcc.target/i386/pr70593.c: New test.
+
+       PR rtl-optimization/70574
+       * gcc.target/i386/avx2-pr70574.c: New test.
+
+2016-04-08  Maxim Ostapenko  <m.ostapenko@samsung.com>
+
+       PR sanitizer/70541
+       * c-c++-common/asan/pr70541.c: New test.
+
+2016-04-08  Tom de Vries  <tom@codesourcery.com>
+
+       * c-c++-common/goacc/uninit-firstprivate-clause.c: New test.
+       * gfortran.dg/goacc/uninit-firstprivate-clause.f95: New test.
+
+2016-04-08  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
+
+       PR target/70566
+       * gcc.c-torture/execute/pr70566.c: New test.
+
+2016-04-08  Tom de Vries  <tom@codesourcery.com>
+
+       * c-c++-common/goacc/uninit-copy-clause.c: New test.
+       * gfortran.dg/goacc/uninit-copy-clause.f95: New test.
+
+2016-04-08  Alan Modra  <amodra@gmail.com>
+
+       * gcc.target/powerpc/pr70117.c: New.
+
+2016-04-07  Jakub Jelinek  <jakub@redhat.com>
+
+       PR testsuite/70581
+       * gcc.dg/lto/simd-function_0.c: New test.
+
+       * c-c++-common/attr-simd.c: Add scan-assembler* directives for AVX512F
+       clones.
+       * c-c++-common/attr-simd-2.c: Likewise.
+       * c-c++-common/attr-simd-4.c: Likewise.
+       * gcc.dg/gomp/simd-clones-2.c: Likewise.
+       * gcc.dg/gomp/simd-clones-3.c: Likewise.
+
+2016-04-07  Thomas Preud'homme  <thomas.preudhomme@arm.com>
+
+       PR testsuite/70553
+       * gcc.target/arm/pr70496.c: Also require arm_arm_ok effective target.
+
+2016-04-07  Thomas Schwinge  <thomas@codesourcery.com>
+           Tom de Vries  <tom@codesourcery.com>
+
+       * gfortran.dg/goacc/kernels-loop-2.f95: Scan for parallelization.
+       * gfortran.dg/goacc/kernels-loop-data-2.f95: Likewise.
+       * gfortran.dg/goacc/kernels-loop-data-enter-exit-2.f95: Likewise.
+       * gfortran.dg/goacc/kernels-loop-data-enter-exit.f95: Likewise.
+       * gfortran.dg/goacc/kernels-loop-data-update.f95: Likewise.
+       * gfortran.dg/goacc/kernels-loop-data.f95: Likewise.
+       * gfortran.dg/goacc/kernels-loop.f95: Likewise.
+       * gfortran.dg/goacc/kernels-loop-n.f95: Likewise, XFAILed.
+
+2016-04-06  Patrick Palka  <ppalka@gcc.gnu.org>
+
+       PR c/70436
+       * g++.dg/warn/Wparentheses-29.C: New test.
+
+2016-04-06  Patrick Palka  <ppalka@gcc.gnu.org>
+
+       PR c/70436
+       * g++.dg/plugin/pragma_plugin.c (handle_pragma_sayhello): Add
+       explicit braces to resolve a future -Wparentheses warning.
+
+2016-04-06  Richard Henderson  <rth@redhat.com>
+
+       * gcc.dg/pr61817-1.c: New test.
+       * gcc.dg/pr61817-2.c: New test.
+       * gcc.dg/pr69391-1.c: New test.
+       * gcc.dg/pr69391-2.c: New test.
+
+2016-04-06  Vladimir Makarov  <vmakarov@redhat.com>
+
+       PR rtl-optimization/70398
+       * testsuite/gcc.target/aarch64/pr70398.c: New.
+
+2016-04-06  Eric Botcazou  <ebotcazou@adacore.com>
+
+       * gcc.c-torture/execute/20101011-1.c (__VISIUM__): Set DO_TEST to 0.
+
+2016-04-06  Yvan Roux  <yvan.roux@linaro.org>
+           Pedro Alves  <palves@redhat.com>
+
+       * gcc.dg/guality/guality.h (main): Avoid GDB being blocked on signals.
+
+2016-04-06  Jakub Jelinek  <jakub@redhat.com>
+
+       * lib/target-supports.exp (check_effective_target_vect_simd_clones):
+       Check for avx512f effective targets instead of avx2.
+       * gcc.dg/gomp/declare-simd-1.c: Add scan-assembler-times directives
+       for AVX512F clones.
+       * gcc.dg/gomp/declare-simd-3.c: Likewise.
+       * g++.dg/gomp/declare-simd-1.C: Likewise.
+       * g++.dg/gomp/declare-simd-3.C: Likewise.
+       * g++.dg/gomp/declare-simd-4.C: Likewise.
+
+       PR middle-end/70550
+       * c-c++-common/gomp/pr70550-1.c: New test.
+       * c-c++-common/gomp/pr70550-2.c: New test.
+
+2016-04-05  Nathan Sidwell  <nathan@acm.org>
+
+       PR c++/70512
+       * g++.dg/ext/attribute-may-alias-5.C: New.
+
+2016-04-05  Jakub Jelinek  <jakub@redhat.com>
+
+       PR c++/70336
+       * c-c++-common/pr70336.c: New test.
+       * gcc.dg/torture/builtin-isinf_sign-1.c (foo): Guard tests
+       no longer optimized away at -O0 with #ifndef __OPTIMIZE__.
+
+2016-04-05  Jan Hubicka  <hubicka@ucw.cz>
+
+       PR ipa/66223
+       * g++.dg/ipa/devirt-51.C: Use -fsanitize=unreachable.
+
+2016-04-05  Jakub Jelinek  <jakub@redhat.com>
+
+       PR rtl-optimization/70542
+       * gcc.dg/torture/pr70542.c: New test.
+       * gcc.target/i386/avx2-pr70542.c: New test.
+
+2016-04-05  Zdenek Sojka  <zsojka@seznam.cz>
+
+       PR tree-optimization/70509
+       * gcc.target/i386/avx512bw-pr70509.c: New test.
+
+2016-04-05  Patrick Palka  <ppalka@gcc.gnu.org>
+
+       PR c++/70452
+       * g++.dg/ext/constexpr-vla4.C: New test.
+
+2016-04-05  Uros Bizjak  <ubizjak@gmail.com>
+
+       PR target/70510
+       * gcc.target/i386/pr70510.c: New test.
+
+2016-04-05  Richard Biener  <rguenther@suse.de>
+
+       PR tree-optimization/70526
+       * g++.dg/torture/pr70526.C: New testcase.
+
+2016-04-05  Jakub Jelinek  <jakub@redhat.com>
+
+       PR target/70525
+       * gcc.target/i386/pr70525.c: New test.
+
+2016-04-05  Richard Biener  <rguenther@suse.de>
+
+       PR middle-end/70499
+       * g++.dg/torture/pr70499.C: New testcase.
+
+2016-04-05  Richard Biener  <rguenther@suse.de>
+
+       * gcc.dg/tree-ssa/20030814-6.c: Fix testcase, disable FRE,
+       remove XFAIL.
+
+2016-04-04  Jakub Jelinek  <jakub@redhat.com>
+
+       PR middle-end/70307
+       * gcc.dg/torture/pr70307.c: Add -Wno-psabi to dg-options.  Prune
+       rs6000 ABI warnings.
+
+2016-04-04  Jan Hubicka  <hubicka@ucw.cz>
+
+       PR ipa/66223
+       * g++.dg/ipa/devirt-51.C: New testcase.
+
+2016-04-04  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
+           Jakub Jelinek <jakub@redhat.com>
+
+       PR middle-end/70457
+       * gcc.dg/torture/pr70457.c: New.
+
+2016-04-04  Andre Vehreschild  <vehre@gcc.gnu.org>
+
+       PR fortran/67538
+       * gfortran.dg/allocate_with_source_19.f08: New test.
+
+2016-04-04  Andre Vehreschild  <vehre@gcc.gnu.org>
+
+       PR fortran/65795
+       * gfortran.dg/coarray_allocate_6.f08: New test.
+
+2016-04-04  Richard Biener  <rguenther@suse.de>
+
+       PR rtl-optimization/70484
+       * gcc.dg/torture/pr70484.c: New testcase.
+
+2016-04-04  Marek Polacek  <polacek@redhat.com>
+
+       PR c/70307
+       * gcc.dg/torture/pr70307.c: New test.
+
+2016-04-03  Oleg Endo  <olegendo@gcc.gnu.org>
+
+       PR target/70416
+       PR target/67391
+       * gcc.target/sh/torture/pr70416.c: New.
+
+2016-04-02  Martin Sebor  <msebor@redhat.com>
+
+       PR c++/67376
+       PR c++/70170
+       PR c++/70172
+       PR c++/70228
+       * g++.dg/cpp0x/constexpr-array-ptr10.C: New test.
+       * g++.dg/cpp0x/constexpr-array-ptr9.C: New test.
+       * g++.dg/cpp0x/constexpr-nullptr-1.C: New test.
+       * g++.dg/cpp0x/constexpr-array5.C: Adjust text of expected diagnostic.
+       * g++.dg/cpp0x/constexpr-string.C: Same.
+       * g++.dg/cpp0x/constexpr-wstring2.C: Same.
+       * g++.dg/cpp0x/pr65398.C: Same.
+       * g++.dg/ext/constexpr-vla1.C: Same.
+       * g++.dg/ext/constexpr-vla2.C: Same.
+       * g++.dg/ext/constexpr-vla3.C: Same.
+       * g++.dg/ubsan/pr63956.C: Same.
+
+2016-04-01  Jakub Jelinek  <jakub@redhat.com>
+
+       PR rtl-optimization/70467
+       * gcc.target/i386/pr70467-2.c: New test.
+
+2016-04-01  Jakub Jelinek  <jakub@redhat.com>
+           Marek Polacek  <polacek@redhat.com>
+
+       PR c++/70488
+       * g++.dg/init/new47.C: New test.
+
+2016-04-01  Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
+
+       PR target/70496
+       * gcc.target/arm/pr70496.c: New test.
+
+2016-04-01  Nathan Sidwell  <nathan@acm.org>
+
+       PR c++/68475
+       * g++.dg/g++.dg/cpp0x/noexcept29.C: New.
+
+2016-04-01  Ilya Enkovich  <enkovich.gnu@gmail.com>
+
+       PR target/69890
+       * gcc.dg/strlenopt.h (memmove): New.
+       * gcc.target/i386/chkp-strlen-1.c: Include "../../gcc.dg/strlenopt.h"
+       instead of "string.h".
+       * gcc.target/i386/chkp-strlen-2.c: Likewise.
+       * gcc.target/i386/chkp-strlen-3.c: Likewise.
+       * gcc.target/i386/chkp-strlen-4.c: Likewise.
+       * gcc.target/i386/chkp-strlen-5.c: Likewise.
+       * gcc.target/i386/chkp-stropt-1.c: Likewise.
+       * gcc.target/i386/chkp-stropt-10.c: Likewise.
+       * gcc.target/i386/chkp-stropt-11.c: Likewise.
+       * gcc.target/i386/chkp-stropt-12.c: Likewise.
+       * gcc.target/i386/chkp-stropt-13.c: Likewise.
+       * gcc.target/i386/chkp-stropt-14.c: Likewise.
+       * gcc.target/i386/chkp-stropt-15.c: Likewise.
+       * gcc.target/i386/chkp-stropt-16.c: Likewise.
+       * gcc.target/i386/chkp-stropt-2.c: Likewise.
+       * gcc.target/i386/chkp-stropt-3.c: Likewise.
+       * gcc.target/i386/chkp-stropt-4.c: Likewise.
+       * gcc.target/i386/chkp-stropt-5.c: Likewise.
+       * gcc.target/i386/chkp-stropt-6.c: Likewise.
+       * gcc.target/i386/chkp-stropt-7.c: Likewise.
+       * gcc.target/i386/chkp-stropt-8.c: Likewise.
+       * gcc.target/i386/chkp-stropt-9.c: Likewise.
+
 2016-03-31  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
 
        * g++.dg/template/ptrmem30.C (read): Rename to data_read.
            Tom de Vries  <tom@codesourcery.com>
            Nathan Sidwell  <nathan@codesourcery.com>
 
-       * c-c++-common/goacc/combined-directives.c: Clean up dg-*
-       directives.
+       * c-c++-common/goacc/combined-directives.c: Clean up dg-* directives.
        * c-c++-common/goacc/loop-clauses.c: Likewise.
        * g++.dg/goacc/template.C: Likewise.
        * gfortran.dg/goacc/combined-directives.f90: Likewise.
        * gcc.dg/torture/pr70421.c: New test.
        * gcc.target/i386/avx512f-pr70421.c: New test.
 
+2016-03-30  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR testsuite/70364
+       * gcc.target/i386/cleanup-1.c: Include <stddef.h>.
+       (check): New function.
+       (bar): Call check.
+       (foo): Align stack to 16 bytes when calling bar.
+       * gcc.target/i386/cleanup-2.c: Likewise.
+
 2016-03-30  Patrick Palka  <ppalka@gcc.gnu.org>
 
        PR tree-optimization/59124
 
 2016-03-28  Dominique d'Humieres  <dominiq@lps.ens.fr>
 
-       g++.dg/ext/fnname5.C: Update the test for Darwin.
+       g++.dg/ext/fnname5.C: Update the test for Darwin.
 
 2016-03-28  Kirill Yukhin  <kirill.yukhin@intel.com>
 
        PR target/70406
-        * gcc.target/i386/pr70406.c: New test.
+       * gcc.target/i386/pr70406.c: New test.
 
 2016-03-27  Eric Botcazou  <ebotcazou@adacore.com>
 
 2016-03-24  Jakub Jelinek  <jakub@redhat.com>
 
        PR target/70290
-       * g++.dg/ext/pr70290.C: Add -Wno-psabi -w to dg-options.  Formatting.
+       * g++.dg/ext/pr70290.C: Add -Wno-psabi -w to dg-options.
+       Fix formatting.
 
 2016-03-24  Richard Biener  <rguenther@suse.de>