OSDN Git Service

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