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