OSDN Git Service

015c5076daabcd5b04a3a5ed0620e32a18d8ba1a
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / ChangeLog
1 2012-01-15  Andreas Schwab  <schwab@linux-m68k.org>
2
3         * gcc.dg/torture/pr8081.c: Fix char signedness assumption.
4
5 2012-01-14  Andreas Schwab  <schwab@linux-m68k.org>
6
7         * g++.dg/cpp0x/constexpr-rom.C: Add -G0 where applicable.
8
9 2012-01-14  Tobias Burnus  <burnus@net-b.de>
10
11         PR fortran/51800
12         * gfortran.dg/init_flag_8.f90: New.
13         * gfortran.dg/init_flag_9.f90: New.
14
15 2011-01-14  Tobias Burnus  <burnus@net-b.de>
16
17         PR fortran/51816
18         * gfortran.dg/use_18.f90: New.
19         * gfortran.dg/use_19.f90: New.
20
21 2012-01-13  Ian Lance Taylor  <iant@google.com>
22
23         PR c++/50012
24         * g++.dg/warn/Wsign-compare-4.C: New.
25
26 2012-01-13  Paul Thomas  <pault@gcc.gnu.org>
27
28         PR fortran/48351
29         * gfortran.dg/alloc_comp_assign.f03: New.
30         * gfortran.dg/allocatable_scalar_9.f90: Reduce count of
31         __BUILTIN_FREE from 38 to 32.
32
33 2012-01-13  Jason Merrill  <jason@redhat.com>
34
35         PR c++/20681
36         * g++.dg/warn/Wreturn-type-7.C: New.
37
38 2012-01-13  Georg-Johann Lay  <avr@gjlay.de>
39
40         * gcc.c-torture/execute/20120111-1.c: Fix wrong int = int32_t
41         assumption.
42         * g++.dg/ipa/pr51759.C: Fix assumption sizeof(int) > 2.
43         * gcc.dg/cpp/warn-multichar.c: Fix to work on int=16 platforms.
44         * gcc.dg/cpp/warn-multichar-2.c: Ditto.
45         * gcc.dg/debug/dwarf2/pr49871.c: Add dg-require-effective-target
46         int32plus because of big array needed.
47         * gcc.dg/pr50527.c: Don't FAIL if sizeof(void*) = 2
48         * gcc.dg/lto/20090218-2_1.c: Fix prototype of malloc, memcpy.
49
50 2012-01-13  Jason Merrill  <jason@redhat.com>
51
52         PR c++/51813
53         * g++.dg/ext/visibility/template9.C: New.
54
55         PR c++/51620
56         * g++.dg/cpp0x/defaulted34.C: New.
57         * g++.dg/template/virtual3.C: New.
58
59 2012-01-13  Richard Guenther  <rguenther@suse.de>
60
61         PR middle-end/8081
62         * gcc.dg/torture/pr8081.c: New testcase.
63
64 2012-01-13  Georg-Johann Lay  <avr@gjlay.de>
65
66         * gcc.dg/pr46309.c: Set branch cost to greater 1 for avr.
67
68 2012-01-12  Jason Merrill  <jason@redhat.com>
69
70         PR c++/51714
71         * g++.dg/ext/stmtexpr14.C: New.
72
73 2012-01-13  Dodji Seketeli  <dodji@redhat.com>
74
75         PR c++/51633
76         * g++.dg/cpp0x/constexpr-diag4.C: New test.
77
78 2012-01-12  Jason Merrill  <jason@redhat.com>
79
80         PR c++/48051
81         * g++.dg/abi/mangle48.C: Test qualified-names, too.
82         * g++.dg/abi/mangle58.C: Likewise.
83
84         PR c++/51403
85         * g++.dg/template/arg8.C: New.
86
87 2012-01-12  Ira Rosen  <irar@il.ibm.com>
88
89         PR tree-optimization/51799
90         * gcc.dg/vect/pr51799.c: New test.
91         * gcc.dg/vect/vect-widen-shift-u8.c: Expect two widening shift
92         patterns.
93
94 2012-01-12  Dominique d'Humieres  <dominiq@lps.ens.fr>
95             Tobias Burnus  <burnus@net-b.de>
96
97         PR fortran/51057
98         PR fortran/51616
99         * lib/target-supports.exp
100         (check_effective_target_fortran_largest_fp_has_sqrt): New.
101         * gfortran.dg/quad_2.f90: Use it, add pattern for IBM's real(16).
102
103 2012-01-11  Jason Merrill  <jason@redhat.com>
104
105         PR c++/51565
106         * g++.dg/ext/attrib42.C: New.
107
108 2012-01-11  Jakub Jelinek  <jakub@redhat.com>
109
110         PR bootstrap/51796
111         * gcc.dg/pr51796.c: New test.
112
113 2012-01-11  Jason Merrill  <jason@redhat.com>
114
115         PR c++/51818
116         * g++.dg/cpp0x/lambda/lambda-mangle3.C: New.
117
118 2012-01-11  Eric Botcazou  <ebotcazou@adacore.com>
119
120         * gnat.dg/array19.ad[sb]: New test.
121
122 2012-01-11  Eric Botcazou  <ebotcazou@adacore.com>
123
124         * gnat.dg/opt23.ad[sb]: New test.
125         * gnat.dg/opt23_pkg.ad[sb]: New helper.
126         * gnat.dg/opt24.ad[sb]: New test.
127
128 2012-01-11  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
129
130         PR tree-optimization/49642
131         * gcc.dg/tree-ssa/pr49642-1.c: New test.
132         * gcc.dg/tree-ssa/pr49642-2.c: New test.
133
134 2012-01-11  Jason Merrill  <jason@redhat.com>
135
136         PR c++/51613
137         * g++.dg/template/explicit-args5.C: New.
138
139 2012-01-11  Matthew Gretton-Dann  <matthew.gretton-dann@arm.com>
140
141         * gcc.c-torture/execute/20120110-1.c: New testcase.
142
143 2012-01-10  Jason Merrill  <jason@redhat.com>
144
145         PR c++/51614
146         * g++.dg/inherit/ambig1.C: New.
147
148         PR c++/51433
149         * g++.dg/cpp0x/constexpr-cache1.C: New.
150
151 2012-01-10  Richard Guenther  <rguenther@suse.de>
152
153         PR tree-optimization/51801
154         * gcc.dg/torture/pr51801.c: New testcase.
155
156 2012-01-10  Tobias Burnus  <burnus@net-b.de>
157
158         PR fortran/51652
159         * gfortran.dg/allocate_with_typespec_5.f90: New.
160
161 2012-01-10  Tobias Burnus  <burnus@net-b.de>
162
163         * gfortran.dg/class_39.f03: Update dg-error string.
164
165 2012-01-10  Richard Guenther  <rguenther@suse.de>
166
167         PR tree-optimization/50913
168         * gcc.dg/graphite/interchange-16.c: New testcase.
169         * gcc.dg/graphite/scop-20.c: XFAIL.
170         * gfortran.dg/graphite/interchange-1.f: Likewise.
171         * gfortran.dg/graphite/block-1.f90: Likewise.
172         * gfortran.dg/graphite/block-2.f: Likewise.
173
174 2012-01-10  Richard Henderson  <rth@redhat.com>
175
176         * lib/target-supports.exp (check_effective_target_vect_perm,
177         check_effective_target_vect_perm_byte,
178         check_effective_target_vect_perm_short): Enable for arm neon.
179
180 2012-01-09  Tobias Burnus  <burnus@net-b.de>
181
182         PR fortran/46328
183         * gfortran.dg/typebound_operator_11.f90: New.
184
185 2012-01-09  Eric Botcazou  <ebotcazou@adacore.com>
186
187         * gnat.dg/array18.adb: New test.
188         * gnat.dg/array18_pkg.ads: New helper.
189
190 2012-01-09  Paul Thomas  <pault@gcc.gnu.org>
191
192         PR fortran/51791
193         * gfortran.dg/typebound_operator_7.f03: Insert parentheses
194         around base object in first assignment in main program.
195         * gfortran.dg/typebound_operator_10.f03: New test.
196
197 2012-01-09  Martin Jambor  <mjambor@suse.cz>
198
199         PR tree-optimization/51759
200         * g++.dg/ipa/pr51759.C: New test.
201
202 2012-01-09  Tobias Burnus  <burnus@net-b.de>
203
204         PR fortran/51758
205         * gfortran.dg/optional_absent_2.f90: New.
206
207 2012-01-09  Tobias Burnus  <burnus@net-b.de>
208
209         PR fortran/51578
210         * gfortran.dg/use_17.f90: New.
211
212 2012-01-09  Gary Funck  <gary@intrepid.com>
213
214         PR preprocessor/33919
215         * gcc.dg/pr33919.c: New test.
216         * gcc.dg/pr33919-0.h: New test header file.
217         * gcc.dg/pr33919-1.h: Ditto.
218         * gcc.dg/pr33919-2.h: Ditto.
219
220 2012-01-07  Jan Hubicka  <jh@suse.cz>
221
222         PR tree-optimize/51694
223         * gcc.c-torture/compile/pr51694.c: new testcase.
224
225 2012-01-07  Jan Hubicka  <jh@suse.cz>
226
227         PR tree-optimization/51600
228         * g++.dg/torture/pr51600.C: New testcase.
229
230 2012-01-07  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
231
232         PR gcov-profile/51715
233         PR gcov-profile/51717
234         * gcc.misc-tests/gcov-13.c: Skip on 32-bit hppa*-*-hpux*.
235         * gcc.misc-tests/gcov-14.c: Likewise.
236
237 2012-01-06  Jason Merrill  <jason@redhat.com>
238
239         * g++.dg/parse/new5.C: New.
240
241 2012-01-06  Patrick Marlier  <patrick.marlier@gmail.com>
242
243         PR testsuite/51655
244         * c-c++-common/tm/memcpy-1.c: Declare memcpy instead of
245         including <string.h>.
246
247 2012-01-06  Jason Merrill  <jason@redhat.com>
248
249         * g++.dg/abi/mangle51.C: New.
250         * g++.dg/abi/mangle52.C: New.
251         * g++.dg/abi/mangle53.C: New.
252         * g++.dg/abi/mangle54.C: New.
253         * g++.dg/abi/mangle55.C: New.
254         * g++.dg/abi/mangle56.C: New.
255         * g++.dg/abi/mangle57.C: New.
256         * g++.dg/abi/mangle58.C: New.
257         * g++.dg/abi/mangle59.C: New.
258         * g++.dg/cpp0x/trailing3.C: Update mangling.
259         * g++.dg/cpp0x/variadic111.C: Update mangling.
260         * g++.dg/cpp0x/variadic4.C: Update mangling.
261         * g++.dg/cpp0x/variadic42.C: Pass -fabi-version=5.
262         * g++.dg/template/nontype22.C: Works now.
263         * g++.dg/template/pr35240.C: Works now.
264
265         * g++.dg/cpp0x/error7.C: New.
266
267 2012-01-06  Tobias Burnus <burnus@net-b.de>
268
269         * gfortran.dg/deallocate_stat_2.f90: New.
270         * coarray/allocate_errgmsg.f90: New.
271         * gfortran.dg/coarray_lib_alloc_1.f90: New.
272         * gfortran.dg/coarray_lib_alloc_2.f90: New.
273         * coarray/subobject_1.f90: Fix for num_images > 1.
274         * gfortran.dg/deallocate_stat.f90: Update due to changed
275         stat= handling.
276
277 2012-01-06  Andrew Stubbs  <ams@codesourcery.com>
278
279         * gcc.target/arm/headmerge-2.c: Adjust scan pattern.
280
281 2012-01-06  Eric Botcazou  <ebotcazou@adacore.com>
282
283         * ada/acats/overflow.lst: Add cb20004.
284
285 2012-01-05  Dodji Seketeli  <dodji@redhat.com>
286
287         PR c++/51541
288         * g++.dg/cpp0x/alias-decl-18.C: New test.
289
290 2012-01-05  Eric Botcazou  <ebotcazou@adacore.com>
291
292         * gcc.c-torture/execute/20120104-1.c: New test.
293
294 2012-01-05  Paul Thomas  <pault@gcc.gnu.org>
295
296         PR fortran/PR48946
297         * gfortran.dg/typebound_operator_9.f03: This is now a copy of
298         the old typebound_operator_8.f03.
299         * gfortran.dg/typebound_operator_8.f03: New version of
300         typebound_operator_7.f03 with 'u' a derived type instead of a
301         class object.
302
303 2012-01-05  Richard Guenther  <rguenther@suse.de>
304
305         * g++.dg/torture/pr49309.C: Skip for -flto.
306
307 2012-01-05  Jakub Jelinek  <jakub@redhat.com>
308
309         PR middle-end/51761
310         * gcc.c-torture/compile/pr51761.c: New test.
311
312 2012-01-05  Richard Guenther  <rguenther@suse.de>
313
314         PR tree-optimization/51760
315         * gcc.dg/torture/pr51760.c: New testcase.
316
317 2012-01-05  Aldy Hernandez  <aldyh@redhat.com>
318
319         PR middle-end/51472
320         * gcc.dg/tm/memopt-6.c: Adjust regexp.
321
322 2012-01-05  Richard Guenther  <rguenther@suse.de>
323
324         PR lto/41576
325         * gfortran.dg/lto/pr41576_0.f90: New testcase.
326         * gfortran.dg/lto/pr41576_1.f90: Likewise.
327
328 2012-01-04  Jakub Jelinek  <jakub@redhat.com>
329
330         PR debug/51695
331         * gcc.dg/pr51695.c: New test.
332
333 2012-01-04  Andrew Pinski  <apinski@cavium.com>
334
335         * gcc.target/mips/mips64-dsp-ldx1.c: New test.
336         * gcc.target/mips/octeon2-lx-1.c: New test.
337         * gcc.target/mips/mips64-dsp-ldx.c: New test.
338         * gcc.target/mips/octeon2-lx-2.c: New test.
339         * gcc.target/mips/octeon2-lx-3.c: New test.
340
341 2012-01-04  Patrick Marlier  <patrick.marlier@gmail.com>
342
343         PR other/51163
344         PR other/51164
345         * gcc.dg/tm/alias-1.c:  Adjust regexp.
346         * gcc.dg/tm/alias-2.c:  Adjust regexp.
347
348 2012-01-04  Paolo Carlini  <paolo.carlini@oracle.com>
349
350         PR c++/51064
351         * g++.dg/warn/Wparentheses-26.C: New.
352
353 2012-01-04  Mikael Morin  <mikael@gcc.gnu.org>
354
355         * gfortran.dg/elemental_optional_args_2.f90: New test.
356
357 2012-01-04  Thomas Koenig  <tkoenig@gcc.gnu.org>
358
359         PR fortran/49693
360         * gfortran.dg/common_17.f90:  New test.
361
362 2012-01-04  Richard Guenther  <rguenther@suse.de>
363
364         PR tree-optimization/49651
365         * gcc.dg/tree-ssa/pta-ptrarith-1.c: Adjust.
366         * gcc.dg/tree-ssa/pta-ptrarith-2.c: Likewise.
367
368 2012-01-03  Paolo Carlini  <paolo.carlini@oracle.com>
369
370         PR c++/51738
371         * g++.dg/cpp0x/initlist-postfix-open-square.C: New.
372
373 2012-01-03  Andrew Pinski  <apinski@cavium.com>
374
375         * lib/scanasm.exp (dg-function-on-line): Always use a special format
376         for all mips targets.  Also allow an optional .cfi_startproc.
377
378 2012-01-03  Uros Bizjak  <ubizjak@gmail.com>
379
380         * gfortran.dg/typebound_operator_8.f03: Use dg-add-options ieee.
381
382 2012-01-03  Paolo Carlini  <paolo.carlini@oracle.com>
383
384         PR c++/29273
385         * g++.dg/rtti/dyncast5.C: New.
386
387 2012-01-03  Richard Guenther  <rguenther@suse.de>
388
389         PR tree-optimization/51070
390         * gcc.dg/torture/pr51070-2.c: New testcase.
391
392 2012-01-03  Richard Guenther  <rguenther@suse.de>
393
394         PR tree-optimization/51692
395         * gcc.dg/torture/pr51692.c: New testcase.
396
397 2012-01-03  Richard Guenther  <rguenther@suse.de>
398
399         PR debug/51650
400         * g++.dg/lto/pr51650-3_0.C: New testcase.
401
402 2012-01-03  Paolo Carlini  <paolo.carlini@oracle.com>
403
404         PR c++/15867
405         * g++.dg/warn/Wredundant-decls-spec.C: New.
406
407 2012-01-03  Jakub Jelinek  <jakub@redhat.com>
408
409         PR tree-optimization/51719
410         * g++.dg/tree-prof/pr51719.C: New test.
411
412 2012-01-03  Richard Guenther  <rguenther@suse.de>
413
414         PR middle-end/51730
415         * gcc.dg/fold-compare-6.c: New testcase.
416
417 2012-01-03  Jakub Jelinek  <jakub@redhat.com>
418
419         PR c++/51669
420         * g++.dg/gomp/pr51669.C: New test.
421
422 2012-01-02  Jason Merrill  <jason@redhat.com>
423
424         PR c++/51675
425         * g++.dg/cpp0x/constexpr-union2.C: New.
426
427         PR c++/51666
428         * g++.dg/cpp0x/nsdmi-defer5.C: New.
429
430 2012-01-02  Dodji Seketeli  <dodji@redhat.com>
431
432         PR c++/51462
433         * g++.dg/cpp0x/constexpr-99.C: New test.
434
435 2012-01-02  Paolo Carlini  <paolo.carlini@oracle.com>
436
437         PR c++/20140
438         * g++.dg/template/init9.C: New.
439
440 2012-01-02  Richard Sandiford  <rdsandiford@googlemail.com>
441
442         * gcc.dg/memcpy-4.c: Add nomips16 attribute for MIPS targets.
443         Increase copy to 5 bytes.  Look for at least two "mem/s/u"s,
444         rather than a specific number.
445
446 2012-01-02  Paul Thomas  <pault@gcc.gnu.org>
447
448         PR fortran/46262
449         PR fortran/46328
450         PR fortran/51052
451         * gfortran.dg/typebound_operator_7.f03: New.
452         * gfortran.dg/typebound_operator_8.f03: New.
453
454 2012-01-02  Richard Sandiford  <rdsandiford@googlemail.com>
455
456         PR target/51729
457         * gcc.target/mips/dspr2-MULT.c: Remove -ffixed-hi -ffixed-lo.
458         XFAIL.
459         * gcc.target/mips/dspr2-MULTU.c: Likewise.
460
461 2012-01-02  Richard Sandiford  <rdsandiford@googlemail.com>
462
463         * gcc.dg/pr46309.c: Add -mtune=octeon2 for MIPS.
464
465 2012-01-02  Richard Sandiford  <rdsandiford@googlemail.com>
466
467         * g++.dg/cpp0x/constexpr-rom.C: Look for .rdata rather than rodata
468         for MIPS.
469
470 2012-01-02  Richard Sandiford  <rdsandiford@googlemail.com>
471
472         * gfortran.dg/io_real_boz_3.f90: Require fortran_real_16.
473         * gfortran.dg/io_real_boz_4.f90: Likewise.
474         * gfortran.dg/io_real_boz_5.f90: Likewise.
475
476 2012-01-02  Richard Sandiford  <rdsandiford@googlemail.com>
477
478         * g++.dg/opt/devirt2.C: Add -mno-abicalls for MIPS.
479
480 2012-01-02  Revital Eres  <revital.eres@linaro.org>
481
482         * gcc.dg/sms-11.c: New file.
483
484 2012-01-02  Tobias Burnus  <burnus@net-b.de>
485
486         PR fortran/51682
487         * gfortran.dg/coarray/image_index_3.f90: New.
488
489 2012-01-01  Paolo Carlini  <paolo.carlini@oracle.com>
490
491         PR c++/16603
492         * g++.dg/parse/enum8.C: New.
493
494 2012-01-01  Paolo Carlini  <paolo.carlini@oracle.com>
495
496         PR c++/51379
497         * g++.dg/conversion/reinterpret4.C: New.
498         * g++.dg/conversion/reinterpret1.C: Adjust.
499
500 2012-01-01  Paolo Carlini  <paolo.carlini@oracle.com>
501
502         * g++.dg/cpp0x/constexpr-delegating2.C: Add missing piece.
503
504 2012-01-01  Fabien ChĂȘne  <fabien@gcc.gnu.org>
505
506         * g++.old-deja/g++.brendan/crash25.C: Adjust.
507         * g++.old-deja/g++.brendan/crash56.C: Likewise.
508         * g++.old-deja/g++.jason/access14.C: Likewise.
509         * g++.old-deja/g++.jason/access8.C: Likewise.
510         * g++.old-deja/g++.jason/access1.C: Likewise.
511         * g++.old-deja/g++.other/access3.C: Likewise.
512         * g++.old-deja/g++.other/access5.C: Likewise.
513         * g++.old-deja/g++.law/unsorted1.C: Likewise.
514         * g++.old-deja/g++.law/visibility22.C: Likewise.
515         * g++.old-deja/g++.law/visibility26.C: Likewise.
516         * g++.old-deja/g++.mike/p2746.C: Likewise.
517         * g++.dg/debug/using1.C: Likewise.
518         * g++.dg/lookup/using51.C: Likewise.
519         * g++.dg/inherit/using5.C: Likewise.
520         * g++.dg/inherit/pr30297.C: Likewise.
521         * g++.dg/inherit/access8.C: Likewise.
522         * g++.dg/torture/pr39362.C: Likewise.
523         * g++.dg/template/crash13.C: Likewise.
524         * g++.dg/template/using10.C: Likewise.
525
526 2012-01-01  Thomas Koenig  <tkoenig@gcc.gnu.org>
527
528         PR fortran/51502
529         * lib/gcc-dg.exp (scan-module-absence):  Really commit last
530         change.
531
532 2012-01-01  Ira Rosen  <irar@il.ibm.com>
533
534         PR tree-optimization/51704
535         * gfortran.dg/vect/no-fre-no-copy-prop-O3-pr51704.f90: New.
536         * gfortran.dg/vect/vect.exp: Run no-fre-no-copy-prop-O3-* with
537         corresponding flags.
538
539 2012-01-01  Paolo Carlini  <paolo.carlini@oracle.com>
540
541         PR c++/51723
542         * g++.dg/cpp0x/constexpr-delegating2.C: New.
543
544 2012-01-01  Jan Hubicka  <jh@suse.cz>
545
546         PR rtl-optimization/51069
547         * gcc.c-torture/compile/pr51069.c: New testcase.
548
549 2012-01-01  Jakub Jelinek  <jakub@redhat.com>
550
551         PR tree-optimization/51683
552         * gcc.dg/pr51683.c: New test.
553 \f
554 Copyright (C) 2012 Free Software Foundation, Inc.
555
556 Copying and distribution of this file, with or without modification,
557 are permitted in any medium without royalty provided the copyright
558 notice and this notice are preserved.