In gcc/testsuite/: 2011-01-12 Nicola Pero <nicola.pero@meta-innovation.com>
[official-gcc.git] / gcc / testsuite / ChangeLog
blob3450fdf6b675e46821062e4c64589fa16082699d
1 2011-01-12  Nicola Pero  <nicola.pero@meta-innovation.com>
3         Fixed the Objective-C++ testsuite and updated all tests.
4         * lib/obj-c++.exp (obj-c++_init): Declare and set
5         gcc_warning_prefix and gcc_error_prefix.        
6         * obj-c++.dg/attributes/categ-attribute-2.mm: Fixed usage of
7         'dg-warning', 'dg-message' and 'dg-error'.
8         * obj-c++.dg/class-extension-3.mm: Likewise.
9         * obj-c++.dg/class-protocol-1.mm: Likewise.
10         * obj-c++.dg/encode-7.mm: Likewise.
11         * obj-c++.dg/exceptions-3.mm: Likewise.
12         * obj-c++.dg/exceptions-5.mm: Likewise. 
13         * obj-c++.dg/method-12.mm: Likewise.
14         * obj-c++.dg/method-13.mm: Likewise.
15         * obj-c++.dg/method-15.mm: Likewise.
16         * obj-c++.dg/method-16.mm: Likewise.
17         * obj-c++.dg/method-4.mm: Likewise.
18         * obj-c++.dg/method-8.mm: Likewise.
19         * obj-c++.dg/method-conflict-1.mm: Likewise.
20         * obj-c++.dg/method-conflict-2.mm: Likewise.
21         * obj-c++.dg/method-conflict-3.mm: Likewise. Also, removed FIXME
22         and uncommented second part of the testcase now that the testsuite
23         works correctly.
24         * obj-c++.dg/method-conflict-4.mm: Likewise.  Also, removed FIXME
25         and uncommented second part of the testcase now that the testsuite
26         works correctly.
27         * obj-c++.dg/private-1.mm: Likewise.    
28         * obj-c++.dg/proto-lossage-4.mm: Likewise.
29         * obj-c++.dg/syntax-error-7.mm: Likewise.
30         * obj-c++.dg/warn5.mm: Likewise.
31         * obj-c++.dg/property/at-property-14.mm: Likewise.
32         * obj-c++.dg/property/at-property-16.mm: Likewise, and removed
33         FIXME.  
34         * obj-c++.dg/property/at-property-18.mm: Likewise.
35         * obj-c++.dg/property/at-property-20.mm: Likewise, and removed
36         FIXME.
37         * obj-c++.dg/property/at-property-21.mm: Likewise.
38         * obj-c++.dg/property/at-property-28.mm: Likewise.
39         * obj-c++.dg/property/at-property-5.mm: Likewise.
40         * obj-c++.dg/property/dynamic-2.mm: Likewise.
41         * obj-c++.dg/property/property-neg-3.mm: Likewise.
42         * obj-c++.dg/property/synthesize-11.mm: Likewise.
43         * obj-c++.dg/property/synthesize-6.mm: Likewise.
44         * obj-c++.dg/property/synthesize-8.mm: Likewise.
45         * obj-c++.dg/property/synthesize-9.mm: Likewise.
46         * obj-c++.dg/tls/diag-5.mm: Likewise.
47         * obj-c++.dg/ivar-invalid-type-1.mm: Removed FIXME and uncommented
48         dg-error, now matched correctly.
49         
50 2011-01-12  Nicola Pero  <nicola.pero@meta-innovation.com>
52         * objc.dg/property/at-property-29.m: New.
53         * obj-c++.dg/property/at-property-29.mm: New.   
54         
55 2011-01-11  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
57         * go.test/go-test.exp (go-set-goarch): New proc.
58         (go-gc-tests): Use it.
60 2011-01-11  Dodji Seketeli  <dodji@redhat.com>
62         PR debug/46955
63         * g++.dg/debug/dwarf2/template-params-8.C: New test.
65 2011-01-11  Richard Henderson  <rth@redhat.com>
67         * gcc-dg/tree-ssa/vrp47.c: Disable for mn10300 as well.
69 2011-01-11  Jan Hubicka  <jh@suse.cz>
71         PR lto/45721
72         PR lto/45375
73         * testsuite/gcc.dg/lto/pr45721_1.c: New file.
74         * testsuite/gcc.dg/lto/pr45721_0.c: New file.
76 2011-01-11  Richard Guenther  <rguenther@suse.de>
78         PR tree-optimization/46076
79         * gcc.dg/tree-ssa/pr46076.c: New testcase.
81 2011-01-11  Jeff Law <law@redhat.com>
83         * PR tree-optimization/47086
84         * gcc.dg/pr47086.c: New test.
86 2011-01-11  Jason Merrill  <jason@redhat.com>
88         PR c++/46658
89         * g++.dg/template/new10.C: New.
91         PR c++/45520
92         * g++.dg/cpp0x/lambda/lambda-this3.C: New.
94 2011-01-11  Iain Sandoe  <iains@gcc.gnu.org>
96         * objc-obj-c++-shared/next-mapping.h: Add copyright header.
97         Split type definitions and NSConstantString class into...
98         * objc-obj-c++-shared/objc-test-suite-types.h: New.
99         * objc-obj-c++-shared/nsconstantstring-class.h: New.
100         * objc-obj-c++-shared/nsconstantstring-class-impl.h: New.
101         * objc-obj-c++-shared/nsconstantstring-class-impl.m: New.
102         * objc-obj-c++-shared/nsconstantstring-class-impl.mm: New.
103         * objc-obj-c++-shared/next-abi.h: Add copyright header, minor update
104         to comments.
105         * objc-obj-c++-shared/objc-test-suite-next-encode-assist.h: Adjust
106         encode defines for newer NeXT system headers.
107         * obj-c++.dg/template-4.mm: Adjust to use nsconstantstring headers.
108         * obj-c++.dg/torture/strings/string1.mm: Likewise.
109         * objc.dg/foreach-5.m: Likewise.
110         * objc.dg/foreach-2.m: Likewise.
111         * objc.dg/foreach-4.m: Likewise.
112         * objc.dg/torture/strings/string1.m: Likewise.
113         * objc.dg/torture/strings/string2.m: Likewise.
114         * objc.dg/torture/strings/string3.m: Likewise.
115         * objc.dg/torture/strings/string4.m: Likewise.
116         * obj-c++.dg/torture/strings/const-str-3.mm: Adjust to use type
117         header and stand alone.
118         * obj-c++.dg/strings/strings-2.mm: Likewise.
119         * objc.dg/torture/strings/const-str-3.m: Likewise.
120         * objc.dg/strings/strings-2.m: Likewise.
121         * objc.dg/strings/const-str-12b.m: Likewise.
123 2011-01-12  Richard Guenther  <rguenther@suse.de>
125         PR middle-end/32511
126         * gcc.dg/attr-weak-1.c: Adjust.
128 2011-01-11  Paul Thomas  <pault@gcc.gnu.org>
130         PR fortran/47051
131         * gfortran.dg/realloc_on_assign_2.f03 : Modify 'test1' to be
132         standard compliant and comment.
134 2011-01-10  Jan Hubicka  <jh@suse.cz>
136         PR lto/46083
137         * gcc.dg/initpri3.c: New testcase.
139 2011-01-10  H.J. Lu  <hongjiu.lu@intel.com>
141         PR lto/47222
142         * g++.dg/torture/stackalign/test-unwind.h (g_edi): Mark it
143         externally visible.
144         (g_esi): Likewise.
145         (g_ebx): Likewise.
146         (g_ebp): Likewise.
147         (g_esp): Likewise.
148         (g_ebp_save): Likewise.
149         (g_esp_save): Likewise.
151 2011-01-10  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
153         * g++.dg/ipa/pr46984.C: Add dg-require-effective-target lto.
155 2011-01-10  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
157         PR tree-optimization/46021
158         * gcc.dg/tree-ssa/20040204-1.c: Don't XFAIL on alpha*-*-*,
159         i?86-*-*, x86_64-*-*.
161 2011-01-10  Jeff Law <law@redhat.com>
163         * PR tree-optimization/47141
164         * gcc.c-torture/compile/pr47141.c: New test.
166 2011-01-10  Eric Botcazou  <ebotcazou@adacore.com>
168         PR testsuite/46230
169         * gcc.dg/vect/vect-vfa-slp.c: Remove XFAIL.
170         * gcc.dg/vect/slp-23.c: Remove XFAIL for SLP.
171         * gcc.dg/vect/slp-35.c: Remove XFAILs.
172         * gcc.dg/vect/no-tree-pre-slp-29.c: Likewise.
174         PR testsuite/46230
175         * gcc.dg/vect/vect-peel-1.c (main): Prevent initialization loop from
176         being vectorized.  Adjust dg-final pattern.  Remove XFAIL.
177         * gcc.dg/vect/vect-peel-2.c (main): Likewise.
178         * gcc.dg/vect/vect-peel-4.c (main): Prevent initialization loop from
179         being vectorized.  Adjust dg-final pattern.
181         PR testsuite/46230
182         * gcc.dg/vect/pr33804.c: XFAIL only for ilp32.
183         * gcc.dg/vect/slp-24.c: Likewise.
185 2011-01-10  Dave Korn  <dave.korn.cygwin@gmail.com>
187         PR c++/47218
188         * g++.dg/other/pr47218-1.C: New test file.
189         * g++.dg/other/pr47218.C: Likewise.
190         * g++.dg/other/pr47218.h: New supporting header.
192 2011-01-09  Nicola Pero  <nicola.pero@meta-innovation.com>
194         PR objc/47232
195         * objc.dg/attributes/invalid-attribute-1.m: New.
196         * obj-c++.dg/attributes/invalid-attribute-1.mm: New.    
198 2011-01-09  Janus Weil  <janus@gcc.gnu.org>
200         PR fortran/47224
201         * gfortran.dg/proc_ptr_comp_28.f90: New.
203 2011-01-09  Iain Sandoe  <iains@gcc.gnu.org>
205         * obj-c++.dg/gnu-api-2-class.mm: Skip for Darwin < 9.
206         * obj-c++.dg/gnu-api-2-ivar.mm: Likewise.
207         * obj-c++.dg/gnu-api-2-method.mm: Likewise.
208         * obj-c++.dg/gnu-api-2-objc.mm: Likewise.
209         * obj-c++.dg/gnu-api-2-object.mm: Likewise.
210         * obj-c++.dg/gnu-api-2-property.mm: Likewise.
211         * obj-c++.dg/gnu-api-2-protocol.mm: Likewise.
212         * obj-c++.dg/gnu-api-2-sel.mm: Likewise.
213         * objc.dg/gnu-api-2-class.m: Likewise.
214         * objc.dg/gnu-api-2-ivar.m: Likewise.
215         * objc.dg/gnu-api-2-method.m: Likewise.
216         * objc.dg/gnu-api-2-objc.m: Likewise.
217         * objc.dg/gnu-api-2-object.m: Likewise.
218         * objc.dg/gnu-api-2-property.m: Likewise.
219         * objc.dg/gnu-api-2-protocol.m: Likewise.
220         * objc.dg/gnu-api-2-sel.m: Likewise.
222 2011-01-09  Iain Sandoe  <iains@gcc.gnu.org>
224         * objc.dg/foreach-1.m: Skip for Darwin < 9.
225         * objc.dg/objc-foreach-4.m: Likewise.
226         * objc.dg/objc-foreach-5.m: Skip for Darwin < 9, adjust headers.
227         * objc.dg/foreach-2.m: Skip for Darwin < 9, return self from init.
228         * objc.dg/foreach-4.m: Likewise.
229         * objc.dg/foreach-5.m: Likewise.
230         * objc.dg/foreach-3.m: Return self from init.
232 2011-01-09  Thomas Koenig  <tkoenig@gcc.gnu.org>
234         PR fortran/38536
235         * gfortran.dg/iso_c_binding_c_loc_char_1.f03:  New test.
237 2011-01-09  Janus Weil  <janus@gcc.gnu.org>
239         PR fortran/46313
240         * gfortran.dg/class_35.f90: New.
242 2011-01-08  Iain Sandoe  <iains@gcc.gnu.org>
244         * objc.dg/foreach-1.m: Add "-Wall" to flags.
246 2011-01-08  Nicola Pero  <nicola.pero@meta-innovation.com>
248         PR objc/47078
249         * objc.dg/invalid-method-2.m: New.
250         * obj-c++.dg/invalid-method-2.mm: New.
252 2011-01-08  Paul Thomas  <pault@gcc.gnu.org>
254         PR fortran/46896
255         * gfortran.dg/transpose_optimization_2.f90 : New test.
257 2011-01-08  Jan Hubicka  <jh@suse.cz>
259         PR tree-optmization/46469
260         * g++.dg/torture/pr46469.C: New testcase.
262 2011-01-08  Iain Sandoe  <iains@gcc.gnu.org>
264         * objc-obj-c++-shared/next-mapping.h: Move code and definitions for
265         emulation of libobjc-gnu structure layout functionality to ..
266         * objc-obj-c++-shared/objc-test-suite-next-encode-assist.h: New.
267         * objc-obj-c++-shared/objc-test-suite-next-encode-assist-impl.h: New.
268         * objc/execute/bf-common.h: Adjust headers.
269         * objc/execute/bf-1.m: Likewise.
270         * objc/execute/bf-2.m: Likewise.
271         * objc/execute/bf-3.m: Likewise.
272         * objc/execute/bf-4.m: Likewise.
273         * objc/execute/bf-5.m: Likewise.
274         * objc/execute/bf-6.m: Likewise.
275         * objc/execute/bf-7.m: Likewise.
276         * objc/execute/bf-8.m: Likewise.
277         * objc/execute/bf-9.m: Likewise.
278         * objc/execute/bf-10.m: Likewise.
279         * objc/execute/bf-11.m: Likewise.
280         * objc/execute/bf-12.m: Likewise.
281         * objc/execute/bf-13.m: Likewise.
282         * objc/execute/bf-14.m: Likewise.
283         * objc/execute/bf-15.m: Likewise.
284         * objc/execute/bf-16.m: Likewise.
285         * objc/execute/bf-17.m: Likewise.
286         * objc/execute/bf-18.m: Likewise.
287         * objc/execute/bf-19.m: Likewise.
288         * objc/execute/bf-20.m: Likewise.
289         * objc/execute/bf-21.m: Likewise.
290         * objc/execute/bycopy-3.m: Adjust headers, add next-specific code for
291         objc_get_type_qualifiers ().
293 2011-01-08  Thomas Koenig  <tkoenig@gcc.gnu.org>
295         PR fortran/45777
296         * gfortran.dg/dependency_39.f90:  New test.
298 2011-01-07  Jan Hubicka  <jh@suse.cz>
300         Get builtins tests ready for linker plugin.
301         * gcc.c-torture/execute/builtins/memcpy-chk.c (s2,s3,l1): Mark volatile.
302         * gcc.c-torture/execute/builtins/memops-asm-lib.c (my_memcpy, my_bcopy, my_memset,
303         my_bzero): Mark used.
304         * gcc.c-torture/execute/builtins/memset-chk.c (l1, l3): Mark volatile.
305         * gcc.c-torture/execute/builtins/memmove-chk.c (s1,s2,s3,l1): Mark volatile.
306         * gcc.c-torture/execute/builtins/mempcpy-chk.c (s2,s3,l1): Mark volatile
308 2011-01-07  Jan Hubicka  <jh@suse.cz>
310         PR tree-optimization/46367
311         * g++.dg/torture/pr46367.C: New file.
313 2011-01-07  Jakub Jelinek  <jakub@redhat.com>
315         PR target/47201
316         * gcc.dg/pr47201.c: New test.
318         PR bootstrap/47187
319         * gcc.dg/tree-prof/pr47187.c: New test.
321 2011-01-07  Tobias Burnus  <burnus@net-b.de>
323         PR fortran/41580
324         * gfortran.dg/extends_type_of_3.f90: New.
326 2011-01-07  Kai Tietz  <kai.tietz@onevision.com>
328         * g++.dg/ext/dllexport-MI1.C: Adjust test.
329         * g++.dg/ext/dllimport-MI1.C: Likewise.
330         * g++.dg/ext/dllimport1.C: Add test for x86_64-*-mingw*.
331         * g++.dg/ext/dllimport10.C: Likewise.
332         * g++.dg/ext/dllimport11.C: Likewise.
333         * g++.dg/ext/dllimport12.C: Likewise.
334         * g++.dg/ext/dllimport13.C: Likewise.
335         * g++.dg/ext/dllimport2.C: Likewise.
336         * g++.dg/ext/dllimport3.C: Likewise.
337         * g++.dg/ext/dllimport4.C: Likewise.
338         * g++.dg/ext/dllimport5.C: Likewise.
339         * g++.dg/ext/dllimport6.C: Likewise.
340         * g++.dg/ext/dllimport8.C: Likewise.
341         * g++.dg/ext/dllimport9.C: Likewise.
342         * g++.dg/ext/selectany2.C: Enable test for x86_64-*-mingw*
343         targets, too. Additionally enable test for i?86-*-mingw*.
344         * g++.dg/ext/selectany1.C: Likewise.
345         Remove guard variable check.
347 2011-01-07  Janus Weil  <janus@gcc.gnu.org>
349         PR fortran/47189
350         PR fortran/47194
351         * gfortran.dg/storage_size_3.f08: Extended.
353 2011-01-07  Jakub Jelinek  <jakub@redhat.com>
355         PR c++/47022
356         * g++.dg/template/stdarg1.C: New test.
358 2011-01-06  Daniel Franke  <franke.daniel@gmail.com>
360         PR fortran/47195
361         * gfortran.dg/interface_33.f90: Fixed dg-error declarations.
362         * gfortran.dg/defined_operators_1.f90: Split the subroutine
363         from the interface of functions to not hide the errors that
364         shall be tested.
366 2011-01-06  Jan Hubicka  <jh@suse.cz>
368         * testsuite/gcc.dg/lto/pr47188_0.c: New testcase.
369         * testsuite/gcc.dg/lto/pr47188_1.c: New testcase.
371 2011-01-06  Daniel Franke  <franke.daniel@gmail.com>
373         PR fortran/33117
374         PR fortran/46478
375         * gfortran.dg/interface_33.f90: New test.
377 2011-01-06  Jakub Jelinek  <jakub@redhat.com>
379         PR c/47150
380         * gcc.c-torture/compile/pr47150.c: New test.
382 2011-01-06  Ira Rosen  <irar@il.ibm.com>
384         PR tree-optimization/47139
385         * gcc.dg/vect/pr47139.c: New test.
387 2011-01-05  Janus Weil  <janus@gcc.gnu.org>
389         PR fortran/47180
390         * gfortran.dg/extends_type_of_2.f03: New.
392 2011-01-05  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
394         * gcc.dg/stack-usage-1.c (SIZE): Provide proper value for __SPU__.
396 2011-01-05  Eric Botcazou  <ebotcazou@adacore.com>
398         * gnat.dg/opt14.adb: New test.
400 2011-01-05  Thomas Koenig  <tkoenig@gcc.gnu.org>
402         PR fortran/46017
403         * gfortran.dg/allocate_error_2.f90:  New test.
405 2011-01-05  Janus Weil  <janus@gcc.gnu.org>
407         PR fortran/47024
408         * gfortran.dg/storage_size_3.f08: New.
410 2011-01-04  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
412         PR libgfortran/47154
413         * gfortran.dg/namelist_68.f90: New test.
415 2011-01-04  Eric Botcazou  <ebotcazou@adacore.com>
417         * gnat.dg/unchecked_convert8.ad[sb]: New test.
419 2011-01-04  Janus Weil  <janus@gcc.gnu.org>
421         PR fortran/46448
422         * gfortran.dg/class_34.f90: New.
424 2011-01-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
426         * gcc.dg/torture/builtin-cproj-1.c: On the __SPU__ target, do not
427         use __builtin_inff.  Skip all single-precision tests that require
428         Infinity.
430 2011-01-03  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
432         * g++.dg/torture/pr46111.C: Add dg-require-effective-target pthread.
434 2011-01-03  Jakub Jelinek  <jakub@redhat.com>
436         PR tree-optimization/47148
437         * gcc.c-torture/execute/pr47148.c: New test.
439         PR tree-optimization/47155
440         * gcc.c-torture/execute/pr47155.c: New test.
442         PR rtl-optimization/47157
443         * gcc.c-torture/compile/pr47157.c: New test.
445 2011-01-03  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
447         * gcc.dg/torture/vector-shift2.c (schar): Define.
448         (main): Always use schar or uchar instead of plain "char" to avoid
449         dependencies on implementation-defined char signedness.
451 2011-01-03  Martin Jambor  <mjambor@suse.cz>
453         PR tree-optimization/46801
454         * gnat.dg/pack9.adb: Remove xfail.
456 2011-01-03  Martin Jambor  <mjambor@suse.cz>
458         PR tree-optimization/46984
459         * g++.dg/ipa/pr46984.C: New test.
461 2011-01-02  Janus Weil  <janus@gcc.gnu.org>
463         PR fortran/46408
464         * gfortran.dg/class_19.f03: Adjust counting of __builtin_free.
466 2011-01-02  Jakub Jelinek  <jakub@redhat.com>
468         PR tree-optimization/47140
469         * gcc.c-torture/compile/pr47140.c: New test.
471         PR rtl-optimization/47028
472         * gcc.dg/pr47028.c: New test.
474 2011-01-02  Nicola Pero  <nicola.pero@meta-innovation.com>
476         * objc.dg/protocol-forward-1.m: Removed TODO.
477         * objc.dg/protocol-forward-2.m: New.
478         * obj-c++.dg/protocol-forward-2.mm: Removed TODO.
479         * obj-c++.dg/protocol-forward-2.mm: New.
481 2011-01-01  Kai Tietz  <kai.tietz@onevision.com>
483         PR target/38662
484         * g++.dg/eh/pr38662.C: New testcase.
486 2011-01-01  Chung-Lin Tang  <cltang@codesourcery.com>
488         * gcc.target/arm/vfp-1.c (test_ldst): Fixed fsts test to
489         scan for newline '\n'.
492 Copyright (C) 2011 Free Software Foundation, Inc.
494 Copying and distribution of this file, with or without modification,
495 are permitted in any medium without royalty provided the copyright
496 notice and this notice are preserved.