re PR testsuite/83454 (FAIL: gcc.dg/tree-ssa/cswtch-4.c and cswtch-5.c)
[gcc.git] / gcc / testsuite / ChangeLog
index ea3f83a8d289fdeddc58d03fb204265f1c968d19..aabbe566741f12cb6c4e21eb82f650b1301ecaec 100644 (file)
@@ -1,3 +1,503 @@
+2017-12-19  Jakub Jelinek  <jakub@redhat.com>
+
+       PR testsuite/83454
+       * gcc.dg/tree-ssa/cswtch-4.c: Require nonpic effective target.
+       * gcc.dg/tree-ssa/cswtch-5.c: Likewise.
+
+2017-12-19  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
+
+       PR target/82975
+       * gcc.dg/pr82975.c: New test.
+
+2017-12-19  Marek Polacek  <polacek@redhat.com>
+
+       PR c++/83489
+       * g++.dg/abi/pr83490.C: New test.
+
+2017-12-19  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR middle-end/83471
+       * g++.dg/torture/pr83471.C: New test.
+
+2017-12-19  Martin Liska  <mliska@suse.cz>
+
+       * gcc.dg/tree-prof/switch-case-1.c: Scan IPA profile dump
+       file instead of expand in order to not mix it with expanded
+       tree decision tree for the switch statement.
+
+2017-12-19  Marek Polacek  <polacek@redhat.com>
+
+       PR tree-optimization/83482
+       * g++.dg/torture/pr83482.C: New test.
+
+2017-12-19  Martin Jambor  <mjambor@suse.cz>
+
+       PR tree-optimization/83329
+       * gcc.dg/tree-ssa/pr83329.c: New test
+
+2017-12-19  Paolo Carlini  <paolo.carlini@oracle.com>
+
+       PR c++/79490
+       * g++.dg/other/fsyntax-only2.C: New.
+
+2017-12-19  Jakub Jelinek  <jakub@redhat.com>
+
+       PR tree-optimization/83444
+       * gcc.dg/strlenopt-38.c: New test.
+
+       PR ipa/82801
+       PR ipa/83346
+       * g++.dg/ipa/pr82801.C: New test.
+
+2017-12-18  Martin Sebor  <msebor@redhat.com>
+
+       PR middle-end/83373
+       PR tree-optimization/78450
+       * gcc.dg/pr83373.c: New test.
+       * gcc.dg/strlenopt-36.c: New test.
+       * gcc.dg/strlenopt-37.c: New test.
+
+2017-12-18  Marek Polacek  <polacek@redhat.com>
+
+       PR c++/83116
+       * g++.dg/cpp1y/constexpr-83116.C: New test.
+
+2017-12-18  Segher Boessenkool  <segher@kernel.crashing.org>
+
+       PR rtl-optimization/83424
+       * gcc.dg/pr83424.c: New testcase.
+
+2017-12-18  David Malcolm  <dmalcolm@redhat.com>
+
+       PR tree-optimization/83336
+       * g++.dg/cpp0x/missing-initializer_list-include.C: Update for
+       changes to prune.exp's handling of dg-regexp.
+       * g++.dg/plugin/diagnostic-test-inlining-1.C: New test case.
+       * g++.dg/plugin/plugin.exp (plugin_test_list): Add it, via
+       gcc.dg's plugin/diagnostic_plugin_test_inlining.c.
+       * gcc.dg/plugin/diagnostic-test-inlining-1.c: New test case.
+       * gcc.dg/plugin/diagnostic-test-inlining-2.c: Likewise.
+       * gcc.dg/plugin/diagnostic-test-inlining-3.c: Likewise.
+       * gcc.dg/plugin/diagnostic-test-inlining-4.c: Likewise.
+       * gcc.dg/plugin/diagnostic_plugin_test_inlining.c: New test
+       plugin.
+       * gcc.dg/plugin/plugin.exp (plugin_test_list): Add them.
+       * lib/prune.exp (prune_gcc_output): Move call to handle-dg-regexps
+       to before the various text stripping regsup invocations,
+       in particular, to before the stripping of "inlined from".
+
+2017-12-18  Jeff Law  <law@redhat.com>
+
+       PR middle-end/83460
+       * g++.dg/pr79095-4.C: Remove compromised test.
+
+2017-12-18  Jakub Jelinek  <jakub@redhat.com>
+
+       PR c++/83300
+       * g++.dg/ext/vector33.C: New test.
+
+2017-12-18  Marek Polacek  <polacek@redhat.com>
+
+       PR middle-end/83463
+       * gcc.dg/pr83463.c: New test.
+
+2017-12-18  Nathan Sidwell  <nathan@acm.org>
+
+       PR c++/59930
+       * g++.dg/parse/pr81247-c.C: Adjust.
+       * g++.dg/template/pr59930-[123].C: New.
+
+2017-12-18  Claudiu Zissulescu  <claziss@synopsys.com>
+
+       * gcc.target/arc/tumaddsidi4.c: New test.
+
+2017-12-18  Claudiu Zissulescu  <claziss@synopsys.com>
+
+       * gcc.target/arc/tls-1.c: New test.
+
+2017-12-18  Richard Biener  <rguenther@suse.de>
+
+       PR tree-optimization/81877
+       * g++.dg/torture/pr81877.C: New testcase.
+       * g++.dg/vect/pr70729.cc: XFAIL.
+       * g++.dg/vect/pr70729-nest.cc: XFAIL.
+
+2017-12-18  Richard Biener  <rguenther@suse.de>
+
+       PR middle-end/77291
+       * gcc.dg/Warray-bounds-26.c: New testcase.
+
+2017-12-17  Uros Bizjak  <ubizjak@gmail.com>
+
+       * gcc.dg/guality/guality.h (guality_check): Cast %lli arguments
+       inf fprintf statements to long long int.
+
+2017-12-17  Janne Blomqvist  <jb@gcc.gnu.org>
+
+       * gfortran.dg/error_stop_3.f90: Update -std= option, fix comments.
+       * gfortran.dg/error_stop_4.f90: Update error message.
+       * gfortran.dg/implicit_14.f90: Likewise.
+       * gfortran.dg/spellcheck-procedure_2.f90: Don't warn for F2018
+       features.
+
+2017-12-17  Markus Trippelsdorf  <markus@trippelsdorf.de>
+
+       * gcc.target/i386/wmul-3.c: New test.
+
+2017-12-16  Martin Sebor  <msebor@redhat.com>
+
+       PR tree-optimization/78918
+       * c-c++-common/Warray-bounds.c: New test.
+       * c-c++-common/Warray-bounds-2.c: New test.
+       * c-c++-common/Warray-bounds-3.c: New test.
+       * c-c++-common/Warray-bounds-4.c: New test.
+       * c-c++-common/Warray-bounds-5.c: New test.
+       * c-c++-common/Wrestrict-2.c: New test.
+       * c-c++-common/Wrestrict.c: New test.
+       * c-c++-common/Wrestrict.s: New test.
+       * c-c++-common/Wsizeof-pointer-memaccess1.c: Adjust
+       * c-c++-common/Wsizeof-pointer-memaccess2.c: Same.
+       * g++.dg/torture/Wsizeof-pointer-memaccess1.C: Same.
+       * g++.dg/torture/Wsizeof-pointer-memaccess2.C: Same.
+       * gcc.dg/range.h: New header.
+       * gcc.dg/memcpy-6.c: New test.
+       * gcc.dg/pr69172.c: Adjust.
+       * gcc.dg/pr79223.c: Same.
+       * gcc.dg/pr81345.c: Adjust.
+       * gcc.dg/Wobjsize-1.c: Same.
+       * gcc.dg/Wrestrict-2.c: New test.
+       * gcc.dg/Wrestrict.c: New test.
+       * gcc.dg/Wsizeof-pointer-memaccess1.c: Adjust.
+       * gcc.dg/builtin-stpncpy.c: Same.
+       * gcc.dg/builtin-stringop-chk-1.c: Same.
+       * gcc.target/i386/chkp-stropt-17.c: New test.
+       * gcc.dg/torture/Wsizeof-pointer-memaccess1.c: Adjust.
+
+2017-12-16  Martin Sebor  <msebor@redhat.com>
+
+       PR tree-optimization/83239
+       * g++.dg/pr83239.C: New test case.
+
+2017-12-16  Sebastian Peryt  <sebastian.peryt@intel.com>
+
+       PR testsuite/82767
+        * gcc.target/i386/pr71321.c: Test with -mtune=generic
+
+2017-12-15  Markus Trippelsdorf  <markus@trippelsdorf.de>
+
+       PR target/83358
+       * gcc.target/i386/pr83358-1.c: New test.
+       * gcc.target/i386/pr83358-2.c: New test.
+
+2017-12-15  Jeff Law  <law@redhat.com>
+
+       PR tree-optimization/36550
+       * gcc.dg/tree-ssa/pr36550.c: New test.
+
+2017-12-15  Alexandre Oliva  <aoliva@redhat.com>
+
+       PR tree-optimization/81165
+       * gcc.dg/pr81165.c: New.
+
+2017-12-15  Jakub Jelinek  <jakub@redhat.com>
+
+       PR c++/83205
+       * g++.dg/cpp1z/decomp3.C: Adjust for structured binding count
+       mismatch diagnostics split into error and warning with plural
+       forms.
+       * g++.dg/cpp1z/decomp10.C: Likewise.
+       * g++.dg/cpp1z/decomp32.C: New test.
+
+       PR c++/81197
+       * g++.dg/cpp1z/decomp34.C: New test.
+
+       PR c++/80135
+       PR c++/81922
+       * g++.dg/warn/Wplacement-new-size-1.C (fBx1): Initialize nested
+       flexible array member only with {}.  Add dg-warning.
+       (fBx2, fBx3): Remove.
+       * g++.dg/warn/Wplacement-new-size-2.C (fBx1): Initialize nested
+       flexible array member only with {}.  Add dg-warning.
+       (fBx2, fBx3): Remove.
+       * g++.dg/warn/Wplacement-new-size-6.C: New test.
+       * g++.dg/ext/flexary13.C (main): Remove test for initialization
+       of nested flexible array member with non-empty initializer.
+       * g++.dg/ext/flexary25.C: New test.
+       * g++.dg/ext/flexary26.C: New test.
+       * g++.dg/ext/flexary27.C: New test.
+       * g++.dg/parse/pr43765.C: Expect diagnostics about initialization
+       of nested flexible array member with non-empty initializer.  Expect
+       C++2A diagnostics about mixing of designated and non-designated
+       initializers.
+
+       PR c++/83217
+       * g++.dg/cpp1z/decomp33.C: New test.
+
+       PR tree-optimization/80631
+       * gcc.target/i386/avx2-pr80631.c: New test.
+
+       * g++.dg/plugin/attribute_plugin.c (user_attr): Swap
+       affects_type_identity and handler fields, add NULL for exclude.
+
+2017-12-14  Nathan Sidwell  <nathan@acm.org>
+
+       PR c++/59930
+       * g++.dg/cpp0x/temp_default4.C: Adjust diagnostic.
+       * g++.old-deja/g++.pt/friend23.C: Likewise.
+       * g++.old-deja/g++.pt/friend24.C: Delete.
+
+2017-12-15  Jakub Jelinek  <jakub@redhat.com>
+
+       PR tree-optimization/83269
+       * gcc.c-torture/execute/pr83269.c: New test.
+
+       PR sanitizer/81281
+       * gcc.dg/pr81281-3.c: New test.
+
+2017-12-15  Justin Squirek  <squirek@adacore.com>
+
+       * gnat.dg/aliasing4.adb: New testcase.
+
+2017-12-15  Ed Schonberg  <schonberg@adacore.com>
+
+       * gnat.dg/incomplete6.adb, gnat.dg/incomplete6.ads: New testcase.
+
+2017-12-15  Hristian Kirtchev  <kirtchev@adacore.com>
+
+       * gnat.dg/initializes.ads, gnat.dg/initializes.adb: New testcase.
+
+2017-12-15  Eric Botcazou  <ebotcazou@adacore.com>
+
+       * gnat.dg/component_size.adb: New testcase.
+
+2017-12-15  Richard Biener  <rguenther@suse.de>
+
+       PR lto/83388
+       * gcc.dg/lto/pr83388_0.c: New testcase.
+
+2017-12-15  Ed Schonberg  <schonberg@adacore.com>
+
+       * gnat.dg/expr_func2.ads, gnat.dg/expr_func2.adb: New testcase.
+
+2017-12-15  Hristian Kirtchev  <kirtchev@adacore.com>
+
+       * gnat.dg/dflt_init_cond.adb, gnat.dg/dflt_init_cond_pkg.ads: New
+       testcase.
+
+2017-12-15  Hristian Kirtchev  <kirtchev@adacore.com>
+
+       * gnat.dg/expr_func_main.adb, gnat.dg/expr_func_pkg.ads,
+       gnat.dg/expr_func_pkg.adb: New testcase.
+
+2017-12-15  Hristian Kirtchev  <kirtchev@adacore.com>
+
+       * gnat.dg/abe_pkg.adb, gnat.dg/abe_pkg.ads: New testcase.
+
+2017-12-15  Ed Schonberg  <schonberg@adacore.com>
+
+       * gnat.dg/subp_inst.adb, gnat.dg/subp_inst_pkg.adb,
+       gnat.dg/subp_inst_pkg.ads: New testcase.
+
+2017-12-15  Julia Koval  <julia.koval@intel.com>
+
+       * gcc.target/i386/avx512f-aesenclast-2.c: New test.
+       * gcc.target/i386/avx512vl-aesenclast-2.c: Ditto.
+       * gcc.target/i386/avx512fvl-vaes-1.c: Handle new intrinsics.
+
+2017-12-15  Julia Koval  <julia.koval@intel.com>
+
+       * gcc.target/i386/avx512f-aesenc-2.c: New test.
+       * gcc.target/i386/avx512vl-aesenc-2.c: Ditto.
+       * gcc.target/i386/avx512fvl-vaes-1.c: Handle new intrinsics.
+
+2017-12-15  Julia Koval  <julia.koval@intel.com>
+
+       * gcc.target/i386/avx512f-aesdeclast-2.c: New test.
+       * gcc.target/i386/avx512vl-aesdeclast-2.c
+       * gcc.target/i386/avx512fvl-vaes-1.c: Handle new intrinsics.
+
+2017-12-14  Bernd Edlinger  <bernd.edlinger@hotmail.de>
+
+       * c-c++-common/Wcast-function-type.c: New test.
+       * g++.dg/Wcast-function-type.C: New test.
+
+2017-12-14  Qing Zhao  <qing.zhao@oracle.com>
+
+       PR middle_end/79538
+       * gcc.dg/pr79538.c: New test.
+
+2017-12-14  David Malcolm  <dmalcolm@redhat.com>
+
+       PR tree-optimization/83312
+       * gcc.dg/pr83312.c: New test case.
+
+2017-12-14  Eric Botcazou  <ebotcazou@adacore.com>
+
+       * gnat.dg/alignment13.adb: New test.
+
+2017-12-14  Jakub Jelinek  <jakub@redhat.com>
+
+       PR lto/81406
+       * gcc.dg/lto/pr81406_0.c: New test.
+
+2017-12-14  Richard Biener  <rguenther@suse.de>
+
+       PR tree-optimization/66974
+       * gcc.dg/Warray-bounds-24.c: New testcase.
+
+2017-12-14  Richard Biener  <rguenther@suse.de>
+
+       PR tree-optimization/65258
+       * gcc.dg/Warray-bounds-23.c: New testcase.
+
+2017-12-14  Tom de Vries  <tom@codesourcery.com>
+
+       * lib/target-supports.exp (check_effective_target_weak_undefined): New
+       proc.
+       * gcc.dg/visibility-22.c: Require effective target weak_undefined.
+
+2017-12-14  Richard Biener  <rguenther@suse.de>
+
+       PR tree-optimization/83326
+       * gcc.dg/tree-ssa/pr81388-2.c: Adjust.
+
+2017-12-14  Eric Botcazou  <ebotcazou@adacore.com>
+
+       * gnat.dg/alignment11.adb: New test.
+       * gnat.dg/alignment12.adb: Likewise.
+
+2017-12-14  Richard Biener  <rguenther@suse.de>
+
+       PR c/83415
+       * gcc.dg/pr83415.c: New testcase.
+
+2017-12-14  Richard Biener  <rguenther@suse.de>
+
+       PR tree-optimization/83418
+       * gcc.dg/torture/pr83418.c: New testcase.
+
+2017-12-14  Jakub Jelinek  <jakub@redhat.com>
+
+       PR bootstrap/83396
+       * gcc.dg/pr83396.c: New test.
+
+       PR tree-optimization/83198
+       * gcc.dg/pr83198.c: New test.
+       * gcc.dg/tree-ssa/pr83198.c: New test.
+
+2017-12-14  Sudakshina Das  <sudi.das@arm.com>
+
+       PR target/81228
+       * gcc.dg/pr81228.c: New.
+
+2017-12-14  Jakub Jelinek  <jakub@redhat.com>
+
+       PR c++/79650
+       * g++.dg/template/pr79650.C: New test.
+
+2017-12-14  Richard Sandiford  <richard.sandiford@linaro.org>
+           Alan Hayward  <alan.hayward@arm.com>
+           David Sherwood  <david.sherwood@arm.com>
+
+       * gcc.dg/plugin/poly-int-tests.h,
+       gcc.dg/plugin/poly-int-test-1.c,
+       gcc.dg/plugin/poly-int-01_plugin.c,
+       gcc.dg/plugin/poly-int-02_plugin.c,
+       gcc.dg/plugin/poly-int-03_plugin.c,
+       gcc.dg/plugin/poly-int-04_plugin.c,
+       gcc.dg/plugin/poly-int-05_plugin.c,
+       gcc.dg/plugin/poly-int-06_plugin.c,
+       gcc.dg/plugin/poly-int-07_plugin.c: New tests.
+       * gcc.dg/plugin/plugin.exp: Run them.
+
+2017-12-13  Peter Bergner  <bergner@vnet.ibm.com>
+
+       * gcc.target/powerpc/cpu-builtin-1.c (htm-no-suspend): Add test.
+
+2017-12-13  Paolo Carlini  <paolo.carlini@oracle.com>
+
+       PR c++/81061
+       * g++.dg/other/const5.C: New.
+
+2017-12-13  Alexandre Oliva  <aoliva@redhat.com>
+           Jakub Jelinek  <jakub@redhat.com>
+
+       PR bootstrap/83396
+       PR debug/83391
+       * gcc.dg/torture/pr83396.c: New test.
+       * g++.dg/torture/pr83391.C: New test.
+
+2017-12-13  Segher Boessenkool  <segher@kernel.crashing.org>
+
+       PR rtl-optimization/83393
+       * gcc.dg/pr83393.c: New testcase.
+
+2017-12-13  Nathan Sidwell  <nathan@acm.org>
+
+       PR c++/15272
+       * g++.dg/template/pr71826.C: Adjust for 15272 fix.
+
+2017-12-12  Jeff Law  <law@redhat.com>
+
+       PR tree-optimization/83298
+       PR tree-optimization/83362
+       PR tree-optimization/83383
+       * gcc.c-torture/execute/pr83298.c: New test.
+       * gcc.c-torture/execute/pr83362.c New test.
+       * gcc.c-torture/execute/pr83383.c New test.
+
+2017-12-12  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
+
+       * lib/gcc-dg.exp (process-message): Avoid additional whitespace in
+       $expmsg.
+
+2017-12-12  Richard Biener  <rguenther@suse.de>
+
+       PR tree-optimization/83385
+       * gcc.dg/graphite/pr83385.c: New testcase.
+
+2017-12-12  Marek Polacek  <polacek@redhat.com>
+
+       PR c/82679
+       * gcc.dg/c11-atomic-5.c: New test.
+
+2017-12-12  Jakub Jelinek  <jakub@redhat.com>
+
+       PR rtl-optimization/83363
+       PR rtl-optimization/83364
+       * gcc.dg/pr83363.c: New test.
+       * gcc.dg/pr83364.c: New test.
+
+       PR tree-optimization/83359
+       * gcc.dg/graphite/pr83359.c: New test.
+
+       PR tree-optimization/80631
+       * gcc.dg/vect/pr80631-1.c: New test.
+       * gcc.dg/vect/pr80631-2.c: New test.
+       * gcc.dg/vect/pr65947-13.c: Expect integer induc cond reduction
+       vectorization.
+
+2017-12-12  Richard Biener  <rguenther@suse.de>
+
+       PR tree-optimization/81889
+       * gfortran.dg/pr81889.f90: New testcase.
+       * gcc.dg/tree-ssa/pr64183.c: Adjust.
+
+2017-12-12  Julia Koval  <julia.koval@intel.com>
+
+       * gcc.target/i386/avx512-check.h: Handle bit_VAES.
+       * gcc.target/i386/avx512f-aesdec-2.c: New test.
+       * gcc.target/i386/avx512fvl-vaes-1.c: Ditto.
+       * gcc.target/i386/avx512vl-aesdec-2.c: Ditto.
+       * gcc.target/i386/i386.exp (check_effective_target_avx512vaes): New.
+
+2017-12-11  David Malcolm  <dmalcolm@redhat.com>
+
+       PR c/82050
+       * gcc.dg/plugin/expensive-selftests-1.c: New file.
+       * gcc.dg/plugin/expensive_selftests_plugin.c: New file.
+       * gcc.dg/plugin/plugin.exp (plugin_test_list): Add the above.
+
 2017-12-11  Segher Boessenkool  <segher@kernel.crashing.org>
 
        * gcc.dg/pr83361.c: Add -Wno-div-by-zero to dg-options.
        vec_cts, vec_ctu.
        * gcc.target/powerpc/builtins-3-runnable.c (test_result_sp): Fix printf
        conversion character.
-       * gcc.target/powerpc/fold-vec-minmax-char.c (test1_min, test2_min,
+       * gcc.target/powerpc/fold-vec-minmax-char.c (test1_min, test2_min,
        test4_min, test1_max, test2_max): Add tests for vec_max and vec_min.
-       * gcc.target/powerpc/fold-vec-minmax-int.c (test4_min, test5_min,
+       * gcc.target/powerpc/fold-vec-minmax-int.c (test4_min, test5_min,
        test7_min, test8_min): Add tests for vec_min.
-       * gcc.target/powerpc/fold-vec-minmax-longlong.c (test7_max, test8_max,
+       * gcc.target/powerpc/fold-vec-minmax-longlong.c (test7_max, test8_max,
        test9_max, test10_max): Add tests for and vec_max.
-       * gcc.target/powerpc/fold-vec-minmax-short.c (test4_min, test5_min,
+       * gcc.target/powerpc/fold-vec-minmax-short.c (test4_min, test5_min,
        tes7_min, test8_min): Add tests for and vec_min.
-       * gcc.target/powerpc/p8vector-builtin-8.c (foo): Add test for vec_adds,
+       * gcc.target/powerpc/p8vector-builtin-8.c (foo): Add test for vec_adds,
        vec_subs, vec_sum2s, vec_sum4s.
-       * gcc.target/powerpc/vsx-splats-p8.c: New file to test vec_splats.
+       * gcc.target/powerpc/vsx-splats-p8.c: New file to test vec_splats.
        * gcc.target/vsx-vector-5.c (arg1_tests_d, arg1_tests_d): Add
        tests for vec_ceil, vec_floor, vec_nearbyint, vec_sqrt.
        * gcc.target/vsx-vector-7.c (foo): Add tests for vec_sel.
        ALTIVEC_BUILTIN_VEC_SLL): Add expansions.
        * doc/extend.texi: Add documentation for the added builtins.
 
-2017-12-11  Alexandre Oliva <aoliva@redhat.com>
+2017-12-11  Alexandre Oliva  <aoliva@redhat.com>
 
        PR rtl-optimization/80693
        PR rtl-optimization/81019