OSDN Git Service

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