2012-01-16 Paul Thomas <pault@gcc.gnu.org>
[official-gcc.git] / gcc / testsuite / ChangeLog
blob4e58ca5c01865431a53a2ee957c8b0c56c978c3b
1 2012-01-16  Paul Thomas  <pault@gcc.gnu.org>
3         * gfortran.dg/class_array_3.f03: Remove the explicit loop in
4         subroutine 'qsort' and use index array to assign the result.
6 2012-01-16  Jakub Jelinek  <jakub@redhat.com>
8         PR tree-optimization/51865
9         * gcc.dg/pr51865.c: New test.
11 2012-01-15  Richard Sandiford  <rdsandiford@googlemail.com>
13         * gcc.dg/tree-ssa/ssa-dom-thread-4.c: Expect 4 threaded edges for MIPS.
15 2012-01-15  Richard Sandiford  <rdsandiford@googlemail.com>
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.
20 2012-01-15  Uros Bizjak  <ubizjak@gmail.com>
22         PR rtl-optimization/51821
23         * gcc.dg/pr51821.c: New test.
25 2012-01-15  Andreas Schwab  <schwab@linux-m68k.org>
27         * gcc.dg/torture/pr8081.c: Fix char signedness assumption.
29 2012-01-14  Andreas Schwab  <schwab@linux-m68k.org>
31         * g++.dg/cpp0x/constexpr-rom.C: Add -G0 where applicable.
33 2012-01-14  Tobias Burnus  <burnus@net-b.de>
35         PR fortran/51800
36         * gfortran.dg/init_flag_8.f90: New.
37         * gfortran.dg/init_flag_9.f90: New.
39 2011-01-14  Tobias Burnus  <burnus@net-b.de>
41         PR fortran/51816
42         * gfortran.dg/use_18.f90: New.
43         * gfortran.dg/use_19.f90: New.
45 2012-01-13  Ian Lance Taylor  <iant@google.com>
47         PR c++/50012
48         * g++.dg/warn/Wsign-compare-4.C: New.
50 2012-01-13  Paul Thomas  <pault@gcc.gnu.org>
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.
57 2012-01-13  Jason Merrill  <jason@redhat.com>
59         PR c++/20681
60         * g++.dg/warn/Wreturn-type-7.C: New.
62 2012-01-13  Georg-Johann Lay  <avr@gjlay.de>
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.
74 2012-01-13  Jason Merrill  <jason@redhat.com>
76         PR c++/51813
77         * g++.dg/ext/visibility/template9.C: New.
79         PR c++/51620
80         * g++.dg/cpp0x/defaulted34.C: New.
81         * g++.dg/template/virtual3.C: New.
83 2012-01-13  Richard Guenther  <rguenther@suse.de>
85         PR middle-end/8081
86         * gcc.dg/torture/pr8081.c: New testcase.
88 2012-01-13  Georg-Johann Lay  <avr@gjlay.de>
90         * gcc.dg/pr46309.c: Set branch cost to greater 1 for avr.
92 2012-01-12  Jason Merrill  <jason@redhat.com>
94         PR c++/51714
95         * g++.dg/ext/stmtexpr14.C: New.
97 2012-01-13  Dodji Seketeli  <dodji@redhat.com>
99         PR c++/51633
100         * g++.dg/cpp0x/constexpr-diag4.C: New test.
102 2012-01-12  Jason Merrill  <jason@redhat.com>
104         PR c++/48051
105         * g++.dg/abi/mangle48.C: Test qualified-names, too.
106         * g++.dg/abi/mangle58.C: Likewise.
108         PR c++/51403
109         * g++.dg/template/arg8.C: New.
111 2012-01-12  Ira Rosen  <irar@il.ibm.com>
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.
118 2012-01-12  Dominique d'Humieres  <dominiq@lps.ens.fr>
119             Tobias Burnus  <burnus@net-b.de>
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).
127 2012-01-11  Jason Merrill  <jason@redhat.com>
129         PR c++/51565
130         * g++.dg/ext/attrib42.C: New.
132 2012-01-11  Jakub Jelinek  <jakub@redhat.com>
134         PR bootstrap/51796
135         * gcc.dg/pr51796.c: New test.
137 2012-01-11  Jason Merrill  <jason@redhat.com>
139         PR c++/51818
140         * g++.dg/cpp0x/lambda/lambda-mangle3.C: New.
142 2012-01-11  Eric Botcazou  <ebotcazou@adacore.com>
144         * gnat.dg/array19.ad[sb]: New test.
146 2012-01-11  Eric Botcazou  <ebotcazou@adacore.com>
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.
152 2012-01-11  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
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.
158 2012-01-11  Jason Merrill  <jason@redhat.com>
160         PR c++/51613
161         * g++.dg/template/explicit-args5.C: New.
163 2012-01-11  Matthew Gretton-Dann  <matthew.gretton-dann@arm.com>
165         * gcc.c-torture/execute/20120110-1.c: New testcase.
167 2012-01-10  Jason Merrill  <jason@redhat.com>
169         PR c++/51614
170         * g++.dg/inherit/ambig1.C: New.
172         PR c++/51433
173         * g++.dg/cpp0x/constexpr-cache1.C: New.
175 2012-01-10  Richard Guenther  <rguenther@suse.de>
177         PR tree-optimization/51801
178         * gcc.dg/torture/pr51801.c: New testcase.
180 2012-01-10  Tobias Burnus  <burnus@net-b.de>
182         PR fortran/51652
183         * gfortran.dg/allocate_with_typespec_5.f90: New.
185 2012-01-10  Tobias Burnus  <burnus@net-b.de>
187         * gfortran.dg/class_39.f03: Update dg-error string.
189 2012-01-10  Richard Guenther  <rguenther@suse.de>
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.
198 2012-01-10  Richard Henderson  <rth@redhat.com>
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.
204 2012-01-09  Tobias Burnus  <burnus@net-b.de>
206         PR fortran/46328
207         * gfortran.dg/typebound_operator_11.f90: New.
209 2012-01-09  Eric Botcazou  <ebotcazou@adacore.com>
211         * gnat.dg/array18.adb: New test.
212         * gnat.dg/array18_pkg.ads: New helper.
214 2012-01-09  Paul Thomas  <pault@gcc.gnu.org>
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.
221 2012-01-09  Martin Jambor  <mjambor@suse.cz>
223         PR tree-optimization/51759
224         * g++.dg/ipa/pr51759.C: New test.
226 2012-01-09  Tobias Burnus  <burnus@net-b.de>
228         PR fortran/51758
229         * gfortran.dg/optional_absent_2.f90: New.
231 2012-01-09  Tobias Burnus  <burnus@net-b.de>
233         PR fortran/51578
234         * gfortran.dg/use_17.f90: New.
236 2012-01-09  Gary Funck  <gary@intrepid.com>
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.
244 2012-01-07  Jan Hubicka  <jh@suse.cz>
246         PR tree-optimize/51694
247         * gcc.c-torture/compile/pr51694.c: new testcase.
249 2012-01-07  Jan Hubicka  <jh@suse.cz>
251         PR tree-optimization/51600
252         * g++.dg/torture/pr51600.C: New testcase.
254 2012-01-07  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
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.
261 2012-01-06  Jason Merrill  <jason@redhat.com>
263         * g++.dg/parse/new5.C: New.
265 2012-01-06  Patrick Marlier  <patrick.marlier@gmail.com>
267         PR testsuite/51655
268         * c-c++-common/tm/memcpy-1.c: Declare memcpy instead of
269         including <string.h>.
271 2012-01-06  Jason Merrill  <jason@redhat.com>
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.
289         * g++.dg/cpp0x/error7.C: New.
291 2012-01-06  Tobias Burnus <burnus@net-b.de>
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.
301 2012-01-06  Andrew Stubbs  <ams@codesourcery.com>
303         * gcc.target/arm/headmerge-2.c: Adjust scan pattern.
305 2012-01-06  Eric Botcazou  <ebotcazou@adacore.com>
307         * ada/acats/overflow.lst: Add cb20004.
309 2012-01-05  Dodji Seketeli  <dodji@redhat.com>
311         PR c++/51541
312         * g++.dg/cpp0x/alias-decl-18.C: New test.
314 2012-01-05  Eric Botcazou  <ebotcazou@adacore.com>
316         * gcc.c-torture/execute/20120104-1.c: New test.
318 2012-01-05  Paul Thomas  <pault@gcc.gnu.org>
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.
327 2012-01-05  Richard Guenther  <rguenther@suse.de>
329         * g++.dg/torture/pr49309.C: Skip for -flto.
331 2012-01-05  Jakub Jelinek  <jakub@redhat.com>
333         PR middle-end/51761
334         * gcc.c-torture/compile/pr51761.c: New test.
336 2012-01-05  Richard Guenther  <rguenther@suse.de>
338         PR tree-optimization/51760
339         * gcc.dg/torture/pr51760.c: New testcase.
341 2012-01-05  Aldy Hernandez  <aldyh@redhat.com>
343         PR middle-end/51472
344         * gcc.dg/tm/memopt-6.c: Adjust regexp.
346 2012-01-05  Richard Guenther  <rguenther@suse.de>
348         PR lto/41576
349         * gfortran.dg/lto/pr41576_0.f90: New testcase.
350         * gfortran.dg/lto/pr41576_1.f90: Likewise.
352 2012-01-04  Jakub Jelinek  <jakub@redhat.com>
354         PR debug/51695
355         * gcc.dg/pr51695.c: New test.
357 2012-01-04  Andrew Pinski  <apinski@cavium.com>
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.
365 2012-01-04  Patrick Marlier  <patrick.marlier@gmail.com>
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.
372 2012-01-04  Paolo Carlini  <paolo.carlini@oracle.com>
374         PR c++/51064
375         * g++.dg/warn/Wparentheses-26.C: New.
377 2012-01-04  Mikael Morin  <mikael@gcc.gnu.org>
379         * gfortran.dg/elemental_optional_args_2.f90: New test.
381 2012-01-04  Thomas Koenig  <tkoenig@gcc.gnu.org>
383         PR fortran/49693
384         * gfortran.dg/common_17.f90:  New test.
386 2012-01-04  Richard Guenther  <rguenther@suse.de>
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.
392 2012-01-03  Paolo Carlini  <paolo.carlini@oracle.com>
394         PR c++/51738
395         * g++.dg/cpp0x/initlist-postfix-open-square.C: New.
397 2012-01-03  Andrew Pinski  <apinski@cavium.com>
399         * lib/scanasm.exp (dg-function-on-line): Always use a special format
400         for all mips targets.  Also allow an optional .cfi_startproc.
402 2012-01-03  Uros Bizjak  <ubizjak@gmail.com>
404         * gfortran.dg/typebound_operator_8.f03: Use dg-add-options ieee.
406 2012-01-03  Paolo Carlini  <paolo.carlini@oracle.com>
408         PR c++/29273
409         * g++.dg/rtti/dyncast5.C: New.
411 2012-01-03  Richard Guenther  <rguenther@suse.de>
413         PR tree-optimization/51070
414         * gcc.dg/torture/pr51070-2.c: New testcase.
416 2012-01-03  Richard Guenther  <rguenther@suse.de>
418         PR tree-optimization/51692
419         * gcc.dg/torture/pr51692.c: New testcase.
421 2012-01-03  Richard Guenther  <rguenther@suse.de>
423         PR debug/51650
424         * g++.dg/lto/pr51650-3_0.C: New testcase.
426 2012-01-03  Paolo Carlini  <paolo.carlini@oracle.com>
428         PR c++/15867
429         * g++.dg/warn/Wredundant-decls-spec.C: New.
431 2012-01-03  Jakub Jelinek  <jakub@redhat.com>
433         PR tree-optimization/51719
434         * g++.dg/tree-prof/pr51719.C: New test.
436 2012-01-03  Richard Guenther  <rguenther@suse.de>
438         PR middle-end/51730
439         * gcc.dg/fold-compare-6.c: New testcase.
441 2012-01-03  Jakub Jelinek  <jakub@redhat.com>
443         PR c++/51669
444         * g++.dg/gomp/pr51669.C: New test.
446 2012-01-02  Jason Merrill  <jason@redhat.com>
448         PR c++/51675
449         * g++.dg/cpp0x/constexpr-union2.C: New.
451         PR c++/51666
452         * g++.dg/cpp0x/nsdmi-defer5.C: New.
454 2012-01-02  Dodji Seketeli  <dodji@redhat.com>
456         PR c++/51462
457         * g++.dg/cpp0x/constexpr-99.C: New test.
459 2012-01-02  Paolo Carlini  <paolo.carlini@oracle.com>
461         PR c++/20140
462         * g++.dg/template/init9.C: New.
464 2012-01-02  Richard Sandiford  <rdsandiford@googlemail.com>
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.
470 2012-01-02  Paul Thomas  <pault@gcc.gnu.org>
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.
478 2012-01-02  Richard Sandiford  <rdsandiford@googlemail.com>
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.
485 2012-01-02  Richard Sandiford  <rdsandiford@googlemail.com>
487         * gcc.dg/pr46309.c: Add -mtune=octeon2 for MIPS.
489 2012-01-02  Richard Sandiford  <rdsandiford@googlemail.com>
491         * g++.dg/cpp0x/constexpr-rom.C: Look for .rdata rather than rodata
492         for MIPS.
494 2012-01-02  Richard Sandiford  <rdsandiford@googlemail.com>
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.
500 2012-01-02  Richard Sandiford  <rdsandiford@googlemail.com>
502         * g++.dg/opt/devirt2.C: Add -mno-abicalls for MIPS.
504 2012-01-02  Revital Eres  <revital.eres@linaro.org>
506         * gcc.dg/sms-11.c: New file.
508 2012-01-02  Tobias Burnus  <burnus@net-b.de>
510         PR fortran/51682
511         * gfortran.dg/coarray/image_index_3.f90: New.
513 2012-01-01  Paolo Carlini  <paolo.carlini@oracle.com>
515         PR c++/16603
516         * g++.dg/parse/enum8.C: New.
518 2012-01-01  Paolo Carlini  <paolo.carlini@oracle.com>
520         PR c++/51379
521         * g++.dg/conversion/reinterpret4.C: New.
522         * g++.dg/conversion/reinterpret1.C: Adjust.
524 2012-01-01  Paolo Carlini  <paolo.carlini@oracle.com>
526         * g++.dg/cpp0x/constexpr-delegating2.C: Add missing piece.
528 2012-01-01  Fabien ChĂȘne  <fabien@gcc.gnu.org>
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.
550 2012-01-01  Thomas Koenig  <tkoenig@gcc.gnu.org>
552         PR fortran/51502
553         * lib/gcc-dg.exp (scan-module-absence):  Really commit last
554         change.
556 2012-01-01  Ira Rosen  <irar@il.ibm.com>
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.
563 2012-01-01  Paolo Carlini  <paolo.carlini@oracle.com>
565         PR c++/51723
566         * g++.dg/cpp0x/constexpr-delegating2.C: New.
568 2012-01-01  Jan Hubicka  <jh@suse.cz>
570         PR rtl-optimization/51069
571         * gcc.c-torture/compile/pr51069.c: New testcase.
573 2012-01-01  Jakub Jelinek  <jakub@redhat.com>
575         PR tree-optimization/51683
576         * gcc.dg/pr51683.c: New test.
578 Copyright (C) 2012 Free Software Foundation, Inc.
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.