PR middle-end/50199
[official-gcc.git] / gcc / testsuite / ChangeLog
blob2b5f3b9dca00c07b25dd18621c3040742fec17c4
1 2017-01-11  Jakub Jelinek  <jakub@redhat.com>
3         PR middle-end/50199
4         * gcc.dg/lto/pr50199_0.c: New test.
6 2017-01-10  Martin Sebor  <msebor@redhat.com>
8         PR testsuite/78960
9         PR testsuite/78959
10         PR testsuite/78133
11         * gcc.dg/tree-ssa/builtin-sprintf.c: Require C99 runtime.
12         * gcc.dg/tree-ssa/pr78622.c: Ditto.
14 2017-01-10  Martin Sebor  <msebor@redhat.com>
16         PR middle-end/78138
17         * gcc.dg/pr78138.c: New test.
19 2017-01-10  David Malcolm  <dmalcolm@redhat.com>
21         PR c++/77949
22         * g++.dg/diagnostic/pr77949.C: New test case.
24 2017-01-10  Martin Sebor  <msebor@redhat.com>
26         PR middle-end/78245
27         * gcc.dg/tree-ssa/builtin-sprintf-warn-3.c: Add tests.
29 2017-01-10  Martin Sebor  <msebor@redhat.com>
31         PR tree-optimization/78775
32         * gcc.dg/attr-alloc_size-4.c: Add test cases.
33         * gcc.dg/attr-alloc_size-10.c: New test.
34         * gcc.dg/attr-alloc_size-11.c: New test.
35         * gcc.dg/builtin-stringop-chk-7.c: New test.
36         * gcc.dg/pr78775.c: New test.
37         * gcc.dg/pr78973-2.c: New test.
38         * gcc.dg/pr78973.c: New test.
40 2017-01-10  Jeff Law  <law@redhat.com>
42         PR tree-optimization/77766
43         PR tree-optimization/78856
44         * gcc.c-torture/execute/pr77766.c: New test.
46 2016-01-10  Richard Biener  <rguenther@suse.de>
48         PR tree-optimization/79034
49         * g++.dg/torture/pr79034.C: New testcase.
51 2017-01-10  Martin Liska  <mliska@suse.cz>
53         * gcc.dg/ipa/ipa-icf-1.c: Change scanned pattern.
54         * gcc.dg/ipa/ipa-icf-10.c: Likewise.
55         * gcc.dg/ipa/ipa-icf-11.c: Likewise.
56         * gcc.dg/ipa/ipa-icf-12.c: Likewise.
57         * gcc.dg/ipa/ipa-icf-13.c: Likewise.
58         * gcc.dg/ipa/ipa-icf-16.c: Likewise.
59         * gcc.dg/ipa/ipa-icf-18.c: Likewise.
60         * gcc.dg/ipa/ipa-icf-2.c: Likewise.
61         * gcc.dg/ipa/ipa-icf-20.c: Likewise.
62         * gcc.dg/ipa/ipa-icf-21.c: Likewise.
63         * gcc.dg/ipa/ipa-icf-23.c: Likewise.
64         * gcc.dg/ipa/ipa-icf-25.c: Likewise.
65         * gcc.dg/ipa/ipa-icf-26.c: Likewise.
66         * gcc.dg/ipa/ipa-icf-27.c: Likewise.
67         * gcc.dg/ipa/ipa-icf-3.c: Likewise.
68         * gcc.dg/ipa/ipa-icf-35.c: Likewise.
69         * gcc.dg/ipa/ipa-icf-36.c: Likewise.
70         * gcc.dg/ipa/ipa-icf-37.c: Likewise.
71         * gcc.dg/ipa/ipa-icf-5.c: Likewise.
72         * gcc.dg/ipa/ipa-icf-7.c: Likewise.
73         * gcc.dg/ipa/ipa-icf-8.c: Likewise.
74         * gcc.dg/ipa/pr64307.c: Likewise.
75         * gcc.dg/ipa/pr77653.c: Likewise.
77 2017-01-10  Andrew Senkevich  <andrew.senkevich@intel.com>
79         * g++.dg/other/i386-2.C: Add -mavx512vpopcntdq.
80         * g++.dg/other/i386-3.C: Ditto.
81         * gcc.target/i386/sse-12.c: Ditto.
82         * gcc.target/i386/sse-13.c: Ditto.
83         * gcc.target/i386/sse-22.c: Ditto.
84         * gcc.target/i386/sse-23.c: Ditto.
85         * gcc.target/i386/builtin_target.c: Handle new option.
86         * gcc.target/i386/funcspec-56.inc: Test new attributes.
87         * gcc.target/i386/avx512vpopcntdq-vpopcntd.c: New test.
88         * gcc.target/i386/avx512vpopcntdq-vpopcntq.c: Ditto.
90 2017-01-09  Martin Sebor  <msebor@redhat.com>
92         PR testsuite/79036
93         * gcc.dg/tree-ssa/builtin-sprintf.c: Handle extended formats
94         with different precisions.
96 2017-01-09  Eric Botcazou  <ebotcazou@adacore.com>
98         * g++.dg/opt/call2.C: New test.
99         * g++.dg/opt/call3.C: Likewise.
100         * gnat.dg/array26.adb: New test.
101         * gnat.dg/array26_pkg.ad[sb]: New helper.
102         * gnat.dg/array27.adb: New test.
103         * gnat.dg/array27_pkg.ad[sb]: New helper.
104         * gnat.dg/array28.adb: New test.
105         * gnat.dg/array28_pkg.ad[sb]: New helper.
107 2017-01-09  Jakub Jelinek  <jakub@redhat.com>
109         PR translation/79019
110         PR translation/79020
111         * c-c++-common/goacc/host_data-2.c (f): Adjust expected spelling of
112         diagnostics.
113         * gfortran.dg/initialization_17.f90: Likewise.
115 2017-01-09  Dominique d'Humieres  <dominiq@lps.ens.fr>
117         PR testsuite/79026
118         * gcc.target/i386/pr78904-2.c: Require nonpic targets.
119         * gcc.target/i386/pr78904-4.c: Likewise.
120         * gcc.target/i386/pr78904-6.c: Likewise.
121         * gcc.target/i386/pr78967-2.c: Likewise.
123 2017-01-09  Jakub Jelinek  <jakub@redhat.com>
125         PR tree-optimization/78899
126         * gcc.target/i386/pr78899.c: New test.
127         * gcc.dg/pr71077.c: New test.
129 2017-01-09  Martin Jambor  <mjambor@suse.cz>
131         PR ipa/78365
132         PR ipa/78599
133         * gcc.dg/torture/pr78365.c: New test.
135 2017-01-09  Jakub Jelinek  <jakub@redhat.com>
137         PR c++/78948
138         * g++.dg/cpp1z/constexpr-if10.C: Fix PR number in comment.
139         (main): Use int* instead of long long.
141         PR tree-optimization/78938
142         * gcc.dg/vect/pr78938.c: New test.
144 2017-01-09  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
146         * gcc.dg/20161219.c: New test.
148 2017-01-09  Richard Biener  <rguenther@suse.de>
150         PR tree-optimization/78997
151         * gcc.dg/torture/pr78997.c: New testcase.
153 2017-01-09  Richard Biener  <rguenther@suse.de>
155         PR debug/79000
156         * g++.dg/lto/pr79000_0.C: New testcase.
157         * g++.dg/lto/pr79000_1.c: Likewise.
159 2017-01-08  Martin Sebor  <msebor@redhat.com>
161         PR middle-end/77708
162         * gcc.dg/tree-ssa/builtin-snprintf-warn-1.c: New test.
163         * gcc.dg/tree-ssa/builtin-snprintf-warn-2.c: New test.
164         * gcc.dg/tree-ssa/builtin-sprintf-warn-6.c: XFAIL test cases failing
165         due to bug 78969.
166         * gcc.dg/format/pr78569.c: Adjust.
168 2017-01-07  David Malcolm  <dmalcolm@redhat.com>
170         PR c++/72803
171         * g++.dg/diagnostic/pr72803.C: New test case.
173 2017-01-07  Martin Sebor  <msebor@redhat.com>
175         * gcc.dg/attr-alloc_size-3.c: Remove regex made redundant by r243461.
176         * gcc.dg/attr-alloc_size-4.c: Same.
178 2017-01-07  Andre Vehreschild  <vehre@gcc.gnu.org>
180         * gfortran.dg/coarray/ptr_comp_1.f08: New test.
181         * gfortran.dg/coarray/ptr_comp_2.f08: New test.
182         * gfortran.dg/coarray/ptr_comp_3.f08: New test.
183         * gfortran.dg/coarray/ptr_comp_4.f08: New test.
184         * gfortran.dg/coarray_ptr_comp_1.f08: New test.
185         * gfortran.dg/coarray_ptr_comp_2.f08: New test.
186         * gfortran.dg/coarray_ptr_comp_3.f08: New test.
188 2017-01-06  Aaron Sawdey  <acsawdey@linux.vnet.ibm.com>
189         * gcc.dg/memcmp-1.c: New.
190         * gcc.dg/strncmp-1.c: New.
192 2017-01-06  Andre Vieira  <andre.simoesdiasvieira@arm.com>
194         * gcc.target/arm/acle/mcrr: New.
195         * gcc.target/arm/acle/mcrr2: New.
196         * gcc.target/arm/acle/mrrc: New.
197         * gcc.target/arm/acle/mrrc2: New.
199 2017-01-06  Andre Vieira  <andre.simoesdiasvieira@arm.com>
201         * gcc.target/arm/acle/mcr.c: New.
202         * gcc.target/arm/acle/mrc.c: New.
203         * gcc.target/arm/acle/mcr2.c: New.
204         * gcc.target/arm/acle/mrc2.c: New.
206 2017-01-06  Andre Vieira  <andre.simoesdiasvieira@arm.com>
208         * gcc.target/arm/acle/ldc: New.
209         * gcc.target/arm/acle/ldc2: New.
210         * gcc.target/arm/acle/ldcl: New.
211         * gcc.target/arm/acle/ldc2l: New.
212         * gcc.target/arm/acle/stc: New.
213         * gcc.target/arm/acle/stc2: New.
214         * gcc.target/arm/acle/stcl: New.
215         * gcc.target/arm/acle/stc2l: New.
217 2017-01-06  Andre Vieira  <andre.simoesdiasvieira@arm.com>
219         * gcc.target/arm/acle/acle.exp: Run tests for different options
220         and make sure fat-lto-objects is used such that we can still do
221         assemble scans.
222         * gcc.target/arm/acle/cdp.c: New.
223         * gcc.target/arm/acle/cdp2.c: New.
224         * lib/target-supports.exp (check_effective_target_arm_coproc1_ok): New.
225         (check_effective_target_arm_coproc1_ok_nocache): New.
226         (check_effective_target_arm_coproc2_ok): New.
227         (check_effective_target_arm_coproc2_ok_nocache): New.
228         (check_effective_target_arm_coproc3_ok): New.
229         (check_effective_target_arm_coproc3_ok_nocache): New.
230         (check_effective_target_arm_coproc4_ok): New.
231         (check_effective_target_arm_coproc4_ok_nocache): New.
233 2017-01-06  Martin Sebor  <msebor@redhat.com>
235         PR middle-end/78605
236         * gcc.dg/tree-ssa/pr78605.c: New test.
238 2017-01-05  Martin Sebor  <msebor@redhat.com>
240         PR tree-optimization/78910
241         * gcc.dg/tree-ssa/builtin-sprintf-warn-7.c: Adjust text of expected
242         diagnostics.
243         * gcc.dg/tree-ssa/builtin-sprintf.c: Add test cases.
244         * gcc.dg/tree-ssa/pr78910.c: New test.
246 2017-01-05  Eric Botcazou  <ebotcazou@adacore.com>
248         * gcc.dg/sso-10.c: New test.
250 2017-01-05  Jakub Jelinek  <jakub@redhat.com>
252         PR tree-optimization/71016
253         * gcc.target/i386/pr71016.c: New test.
254         * gcc.target/aarch64/pr71016.c: New test.
255         * gcc.dg/tree-ssa/pr66726-3.c: New test.
257         PR c++/78931
258         * g++.dg/cpp1z/decomp19.C: New test.
260         PR c++/78890
261         * g++.dg/init/ref14.C: Expect error even in C++11 and later.
262         * g++.dg/init/union1.C: Likewise.
263         * g++.dg/cpp0x/union6.C: Expect errors.
264         * g++.dg/cpp0x/union8.C: New test.
265         * g++.dg/cpp0x/pr78890-1.C: New test.
266         * g++.dg/cpp0x/pr78890-2.C: New test.
268 2017-01-05  David Edelsohn  <dje.gcc@gmail.com>
270         * gcc.target/powerpc/pr71670.c: Require p9vector.
271         * gcc.target/powerpc/p9-novsx.c: Same.
273 2017-01-05  David Malcolm  <dmalcolm@redhat.com>
275         * selftests/asr_div1.rtl: New file.
276         * selftests/aarch64: New subdirectory.
277         * selftests/aarch64/times-two.rtl: New file.
278         * selftests/bb-index.rtl: New file.
279         * selftests/cfg-test.rtl: New file.
280         * selftests/const-int.rtl: New file.
281         * selftests/example-labels.rtl: New file.
282         * selftests/insn-with-mode.rtl: New file.
283         * selftests/jump-to-label-ref.rtl: New file.
284         * selftests/jump-to-return.rtl: New file.
285         * selftests/jump-to-simple-return.rtl: New file.
286         * selftests/mem.rtl: New file.
287         * selftests/note-insn-deleted.rtl: New file.
288         * selftests/note_insn_basic_block.rtl: New file.
289         * selftests/simple-cse.rtl: New file.
290         * selftests/symbol-ref.rtl: New file.
291         * selftests/x86_64: New subdirectory.
292         * selftests/x86_64/call-insn.rtl: New file.
293         * selftests/x86_64/copy-hard-reg-into-frame.rtl: New file.
294         * selftests/x86_64/times-two.rtl: New file.
295         * selftests/x86_64/unspec.rtl: New file.
297 2017-01-05  Nathan Sidwell  <nathan@acm.org>
299         PR c++/78765
300         * g++.dg/cpp0x/pr78765.C: New.
302 2017-01-05  Dominik Vogt  <vogt@linux.vnet.ibm.com>
304         * gcc.target/s390/memcpy-2.c: New test.
305         * gcc.target/s390/memset-2.c: New test.
307 2017-01-05  Andreas Krebbel  <krebbel@linux.vnet.ibm.com>
309         * gcc.target/s390/memcpy-1.c: New test.
311 2017-01-04  Jeff Law  <law@redhat.com>
313         PR tree-optimization/78812
314         * g++.dg/torture/pr78812.C: New test.
316 2017-01-04  Michael Meissner  <meissner@linux.vnet.ibm.com>
318         PR target/71977
319         PR target/70568
320         PR target/78823
321         * gcc.target/powerpc/pr71977-1.c: New tests to check whether on
322         64-bit VSX systems with direct move, whether we optimize common
323         code sequences in the GLIBC math library for float math functions.
324         * gcc.target/powerpc/pr71977-2.c: Likewise.
326 2017-01-04  Marek Polacek  <polacek@redhat.com>
328         PR c++/64767
329         * c-c++-common/Wpointer-compare-1.c: New test.
331 2017-01-04  Jakub Jelinek  <jakub@redhat.com>
333         PR c++/78949
334         * c-c++-common/Wunused-var-16.c: New test.
336         PR c++/78693
337         * g++.dg/cpp0x/pr78693.C: New test.
339         PR driver/78957
340         * gcc.dg/pr78957.c: New test.
342         * g++.dg/cpp1y/auto-fn34.C: New test.
344         PR c++/71182
345         * g++.dg/cpp0x/pr71182.C: New test.
347 2017-01-04  Kelvin Nilsen  <kelvin@gcc.gnu.org>
349         PR target/78056
350         * gcc.target/powerpc/pr78056-1.c: New test.
351         * gcc.target/powerpc/pr78056-2.c: New test.
352         * gcc.target/powerpc/pr78056-3.c: New test.
353         * gcc.target/powerpc/pr78056-4.c: New test.
354         * gcc.target/powerpc/pr78056-5.c: New test.
355         * gcc.target/powerpc/pr78056-6.c: New test.
356         * gcc.target/powerpc/pr78056-7.c: New test.
357         * gcc.target/powerpc/pr78056-8.c: New test.
358         * lib/target-supports.exp
359         (check_effective_target_powerpc_popcntb_ok): New procedure to test
360         whether the effective target supports the popcntb instruction.
362 2017-01-03  Jeff Law  <law@redhat.com>
364         PR tree-optimization/67955
365         * gcc.dg/tree-ssa/ssa-dse-28.c: New test.
367 2017-01-04  Marek Polacek  <polacek@redhat.com>
369         PR c++/77545
370         PR c++/77284
371         * g++.dg/cpp0x/range-for32.C: New test.
372         * g++.dg/cpp0x/range-for33.C: New test.
374 2017-01-04  David Malcolm  <dmalcolm@redhat.com>
376         * gcc.dg/Wmissing-braces-fixits.c: New test case.
378 2017-01-04  Nathan Sidwell  <nathan@acm.org>
380         PR c++/66735
381         * g++.dg/cpp1y/pr66735.C: New.
383 2017-01-04  Jakub Jelinek  <jakub@redhat.com>
385         PR tree-optimization/71563
386         * gcc.dg/tree-ssa/pr71563.c: New test.
388 2017-01-04  Janne Blomqvist  <jb@gcc.gnu.org>
390         PR fortran/78534
391         PR fortran/78976
392         * gfortran.dg/dependency_49.f90: Change scan-tree-dump-times
393         due to gfc_trans_string_copy change to avoid -Wstringop-overflow.
394         * gfortran.dg/transfer_intrinsic_1.f90: Change
395         scan-tree-dump-times due to gfc_trans_string_copy change to
396         avoid -Wstringop-overflow.
398 2017-01-03  Jeff Law  <law@redhat.com>
400         PR tree-optimization/78856
401         * gcc.c-torture/execute/pr78856.c: New test.
403 2017-01-03  Michael Meissner  <meissner@linux.vnet.ibm.com>
405         PR target/78953
406         * gcc.target/powerpc/pr78953.c: New test.
408 2017-01-03  Ian Lance Taylor  <iant@google.com>
410         * gcc.misc-tests/godump-1.c: Update for accurate representation of
411         enums.
413 2017-01-03  Martin Sebor  <msebor@redhat.com>
415         PR tree-optimization/78696
416         * gcc.dg/tree-ssa/builtin-sprintf-5.c: Remove incorrect test cases.
417         * gcc.dg/tree-ssa/builtin-sprintf-warn-7.c: Correct off-by-1 errors.
418         * gcc.dg/tree-ssa/builtin-sprintf-warn-9.c: New test.
419         * gcc.dg/tree-ssa/builtin-sprintf.c: Add test cases.
421 2017-01-03  David Malcolm  <dmalcolm@redhat.com>
423         * gcc.dg/dg-test-1.c: Add tests of relative line specifications
424         with more than one digit.
425         * lib/gcc-dg.exp (process-message): Support more than one digit
426         in relative line specifications.
428 2017-01-03  Jakub Jelinek  <jakub@redhat.com>
430         PR tree-optimization/78965
431         * gcc.dg/pr78965.c: New test.
433         PR middle-end/78901
434         * g++.dg/opt/pr78901.C: New test.
436 2017-01-03  Janne Blomqvist  <jb@gcc.gnu.org>
438         PR fortran/78534
439         PR fortran/66310
440         * gfortran.dg/dependency_49.f90: Change scan-tree-dump-times
441         due to gfc_trans_string_copy change to avoid -Wstringop-overflow.
442         * gfortran.dg/repeat_4.f90: Use integers of kind C_SIZE_T.
443         * gfortran.dg/repeat_7.f90: New test for PR 66310.
444         * gfortran.dg/scan_2.f90: Handle potential cast in assignment.
445         * gfortran.dg/string_1.f90: Limit to ilp32 targets.
446         * gfortran.dg/string_1_lp64.f90: New test.
447         * gfortran.dg/string_3.f90: Limit to ilp32 targets.
448         * gfortran.dg/string_3_lp64.f90: New test.
449         * gfortran.dg/transfer_intrinsic_1.f90: Change
450         scan-tree-dump-times due to gfc_trans_string_copy change to
451         avoid -Wstringop-overflow.
453 2017-01-02  Uros Bizjak  <ubizjak@gmail.com>
455         PR target/78967
456         * gcc.target/i386/pr78967-1.c: New test.
457         * gcc.target/i386/pr78967-2.c: Ditto.
458         * gcc.target/i386/pr78967-3.c: Ditto.
460         * gcc.target/i386/pr78904-2.c: Tighten scan-asm patterns.
461         * gcc.target/i386/pr78904-4.c: Ditto.
462         * gcc.target/i386/pr78904-6.c: Ditto.
464 2017-01-01  Jan Hubicka  <hubicka@ucw.cz>
466         PR middle-end/77674
467         * g++.dg/torture/pr77674.C: New testcase.
469 2017-01-01  Jakub Jelinek  <jakub@redhat.com>
471         Update copyright years.
473 Copyright (C) 2017 Free Software Foundation, Inc.
475 Copying and distribution of this file, with or without modification,
476 are permitted in any medium without royalty provided the copyright
477 notice and this notice are preserved.