OSDN Git Service

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