OSDN Git Service

513f6bcf2557086f487d7988b9657ffb692c2ab6
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / ChangeLog
1 2009-01-12  Jason Merrill  <jason@redhat.com>
2
3         PR c++/35109
4         * g++.dg/lookup/friend11.C: Remove expected error.
5         * g++.dg/lookup/friend14.C: New test.
6         * g++.dg/lookup/friend15.C: New test.
7
8 2009-01-12  Dodji Seketeli  <dodji@redhat.com>
9
10         PR c++/36019
11         * g++.dg/lookup/hidden-class12.C: New test.
12         * g++.dg/lookup/hidden-class13.C: New test.
13         * g++.dg/lookup/hidden-class14.C: New test.
14         * g++.dg/lookup/hidden-class15.C: New test.
15         * g++.dg/lookup/hidden-class16.C: New test.
16
17 2009-01-12  Mark Mitchell  <mark@codesourcery.com>
18
19         * gcc.dg/struct/wo_prof_single_str_global.c: Mask return value.
20         * gcc.dg/struct/wo_prof_single_str_local.c: Mask return value.
21         * gcc.dg/struct/wo_prof_single_str_pointer.c: Mask return value.
22
23 2009-01-12  Jason Merrill  <jason@redhat.com>
24
25         PR c++/31488
26         * g++.dg/other/vararg-3.C: New test.
27
28 2009-01-12  Daniel Jacobowitz  <dan@codesourcery.com>
29
30         * gcc.target/powerpc/ppc-spe.c: Compile for all EABI targets.
31         Explicitly enable SPE.
32         * gcc.target/powerpc/20030505.c: Likewise.  Add dg-message
33         directive.
34
35         * gcc.target/powerpc/20030218-1.c: Pass -mfloat-gprs=single.
36         Expect -flax-vector-conversions message.  Adjust incompatible
37         types errors.
38         * gcc.target/powerpc/spe1.c: Pass -mspe and -mfloat-gprs=single.
39         Make Foo extern.
40
41         * gcc.dg/cpp/assert4.c: Recognize __PPC__.
42
43         * g++.dg/other/opaque-1.C: Run on targets with SPE.
44
45         * g++.dg/ext/spe-1.C: Pass -mspe and -mfloat-gprs=single.
46         * g++.dg/other/opaque-2.C: Likewise.
47         * g++.dg/other/opaque-3.C: Likewise.
48
49 2009-01-12  Jakub Jelinek  <jakub@redhat.com>
50
51         PR c/32041
52         * gcc.dg/pr32041.c: New test.
53         * g++.dg/parse/offsetof9.C: New test.
54
55 2009-01-12  Daniel Jacobowitz  <dan@codesourcery.com>
56             Nathan Froyd  <froydnj@codesourcery.com>
57
58         * g++.dg/conversion/simd1.C: Ignore irrelevant warning.
59         * g++.dg/ext/attribute-test-1.C: Likewise.
60         * g++.dg/ext/attribute-test-2.C: Likewise.
61         * g++.dg/ext/attribute-test-3.C: Likewise.
62         * g++.dg/ext/attribute-test-4.C: Likewise.
63
64 2009-01-12  Eric Botcazou  <ebotcazou@adacore.com>
65
66         * gnat.dg/unchecked_convert3.adb: New test.
67
68 2009-01-12  Jakub Jelinek  <jakub@redhat.com>
69
70         PR c++/38794
71         * g++.dg/parse/typedef9.C: New test.
72
73         PR tree-optimization/38807
74         * gcc.c-torture/compile/pr38807.c: New test.
75
76 2009-01-11  Adam Nemet  <anemet@caviumnetworks.com>
77
78         * gcc.target/mips/ins-2.c: New test.
79
80 2009-01-11  H.J. Lu  <hongjiu.lu@intel.com>
81
82         PR testsuite/38809
83         * gcc.dg/pr38616.c: Only run for targets with -fstack-protector.
84
85 2009-01-11  Jakub Jelinek  <jakub@redhat.com>
86
87         PR c++/36254
88         * g++.dg/warn/Wreturn-type-5.C: New test.
89
90 2009-01-11  Matthias Klose  <doko@ubuntu.com>
91
92         PR middle-end/38616
93         * gcc.dg/pr38616.c: New test.
94
95 2009-01-10  Sebastian Pop  <sebastian.pop@amd.com>
96
97         * gcc.dg/graphite/block-3.c: Fix compile error on 32bit.
98
99 2009-01-10  Andrew Pinski  <pinskia@gmail.com>
100
101         PR c++/38648
102         * g++.dg/expr/string-1.C: New test.
103         * g++.dg/expr/string-2.C: New test.
104
105         PR c++/36695
106         * g++.dg/ext/complex4.C: New test.
107         * g++.dg/ext/complex5.C: New test.
108         * g++.dg/init/reference1.C: New test.
109         * g++.dg/init/reference2.C: New test.
110         * g++.dg/init/reference3.C: New test.
111
112 2009-01-10  Paul Thomas  <pault@gcc.gnu.org>
113
114         PR fortran/38763
115         * gfortran.dg/transfer_null_1.f90: New test.
116
117 2009-01-10  Paul Thomas  <pault@gcc.gnu.org>
118
119         PR fortran/38765
120         * gfortran.dg/host_assoc_function_6.f90: New test.
121
122 2009-01-09  Joel Sherrill <joel.sherrill@oarcorp.com>
123
124         * lib/target-supports.exp: Add method to determine if the effective
125         target is really a ppc405 after applying all compile options.
126         * gcc.target/powerpc/405-mulhhwu-2.c: Add dg-skip-if not ppc405.
127         * gcc.target/powerpc/405-nmachhw-1.c: Likewise.
128         * gcc.target/powerpc/405-nmaclhw-1.c: Likewise.
129         * gcc.target/powerpc/405-machhwu-1.c: Likewise.
130         * gcc.target/powerpc/405-mullhwu-1.c: Likewise.
131         * gcc.target/powerpc/405-nmacchw-1.c: Likewise.
132         * gcc.target/powerpc/405-mulchwu-1.c: Likewise.
133         * gcc.target/powerpc/405-nmachhw-2.c: Likewise.
134         * gcc.target/powerpc/405-nmaclhw-2.c: Likewise.
135         * gcc.target/powerpc/405-machhwu-2.c: Likewise.
136         * gcc.target/powerpc/405-mulhhw-1.c: Likewise.
137         * gcc.target/powerpc/405-machhw-1.c: Likewise.
138         * gcc.target/powerpc/405-mullhw-1.c: Likewise.
139         * gcc.target/powerpc/405-maclhw-1.c: Likewise.
140         * gcc.target/powerpc/405-dlmzb-strlen-1.c: Likewise.
141         * gcc.target/powerpc/405-mullhwu-2.c: Likewise.
142         * gcc.target/powerpc/405-nmacchw-2.c: Likewise.
143         * gcc.target/powerpc/405-mulchwu-2.c: Likewise.
144         * gcc.target/powerpc/405-mulchw-1.c: Likewise.
145         * gcc.target/powerpc/405-maclhwu-1.c: Likewise.
146         * gcc.target/powerpc/405-macchw-1.c: Likewise.
147         * gcc.target/powerpc/405-mulhhw-2.c: Likewise.
148         * gcc.target/powerpc/405-machhw-2.c: Likewise.
149         * gcc.target/powerpc/405-mullhw-2.c: Likewise.
150         * gcc.target/powerpc/405-maclhw-2.c: Likewise.
151         * gcc.target/powerpc/405-macchwu-1.c: Likewise.
152         * gcc.target/powerpc/405-mulhhwu-1.c: Likewise.
153         * gcc.target/powerpc/405-mulchw-2.c: Likewise.
154         * gcc.target/powerpc/405-maclhwu-2.c: Likewise.
155         * gcc.target/powerpc/405-macchw-2.c: Likewise.
156         * gcc.target/powerpc/405-macchwu-2.c: Likewise.
157
158 2009-01-09  Jakub Jelinek  <jakub@redhat.com>
159
160         PR c++/35335
161         * g++.dg/other/error31.C: New testcase.
162
163         PR c/35742
164         * gcc.dg/pr35742.c: New test.
165
166 2009-01-09  John F. Carr  <jfc@mit.edu>
167
168         PR c++/37877
169         * g++.dg/parse/linkage3.C: New test.
170
171 2009-01-09  Jakub Jelinek  <jakub@redhat.com>
172
173         PR middle-end/38771
174         * gcc.c-torture/compile/pr38771.c: New test.
175
176 2009-01-08  Nathan Froyd  <froydnj@codesourcery.com>
177
178         * gcc.dg/pr34856.c: Ignore irrelevant warning.
179
180 2009-01-08  Mark Mitchell  <mark@codesourcery.com>
181
182         * gcc.dg/sibcall-3.c: XFAIL for Thumb.
183         * gcc.dg/sibcall-4.c: Likewise.
184
185 2009-01-08  Sebastian Pop  <sebastian.pop@amd.com>
186             Jan Sjodin  <jan.sjodin@amd.com>
187
188         PR tree-optimization/38559
189         * testsuite/gcc.dg/graphite/pr38559.c: New.
190
191 2009-01-08  Ira Rosen  <irar@il.ibm.com>
192
193         PR tree-optimization/37194
194         * gcc.dg/vect/costmodel/ppc/costmodel-pr37194.c: New test.
195
196 2009-01-07  Jakub Jelinek  <jakub@redhat.com>
197
198         PR c++/38725
199         * g++.dg/ext/label11.C: New test.
200
201 2009-01-07  Joseph Myers  <joseph@codesourcery.com>
202
203         * lib/target-supports.exp (check_weak_override_available): New.
204         * lib/target-supports-dg.exp (dg-require-weak-override): New.
205         * gcc.dg/tree-ssa/pr27781.c, g++.dg/eh/weak1.C: Use
206         dg-require-weak-override.
207
208 2009-01-07  Nathan Froyd  <froydnj@codesourcery.com>
209             Alan Modra  <amodra@bigpond.net.au>
210
211         * gcc.c-torture/compile/20090107-1.c: New test.
212
213 2009-01-07  Uros Bizjak  <ubizjak@gmail.com>
214
215         PR target/38706
216         * g++.dg/other/pr38706.C: New test.
217
218 2009-01-07  Jason Merrill  <jason@redhat.com>
219
220         * g++.dg/cpp0x/variadic92.C: New test.
221         * g++.dg/cpp0x/variadic93.C: New test.
222
223 2009-01-07  Janis Johnson  <janis187@us.ibm.com>
224
225         * lib/target-supports-dg.exp (current_compiler_flags): New.
226         (check-flags): Use it; do not access dg-test local variables.
227         (dg-skip-if): Do not access dg-test local variables.
228         (dg-xfail-run-if): Ditto.
229         (dg-shouldfail): Ditto.
230         * gcc.test-framework/test-framework.exp
231         (check_effective_target_def_nocache): New.
232         * gcc.test-framework/test-framework.awk: Handle scan tests.
233         * gcc.test-framework/dg-do-run-xrif-nocache-exp-XF.c: New test.
234         * gcc.test-framework/dg-error-nocache-exp-P.c: New test.
235         * gcc.test-framework/dg-nocache-scanasm-exp-XF.c: New test.
236         * gcc.test-framework/dg-warning-nocache-exp-P.c: New test.
237         * gcc.test-framework/dg-nocache-sif-exp-P.c: New test.
238         * gcc.test-framework/dg-nocache-sif-exp-U.c: New test.
239         * gcc.test-framework/dg-nocache-xif-exp-P.c: New test.
240         * gcc.test-framework/dg-do-run-sft-nocache-exp-P.c: New test.
241         * gcc.test-framework/dg-nocache-xif-exp-XP.c: New test.
242
243         * g++.dg/torture/pr38586.C: Ignore a possible warning.
244
245         * lib/target-supports-dg.exp (check_test_flags): Delete.
246
247 2009-01-07  Jan Sjodin  <jan.sjodin@amd.com>
248
249         PR tree-optimization/38492
250         PR tree-optimization/38498
251         * testsuite/gcc.dg/graphite/pr38500.c: Fixed warning as committed
252         in trunk.
253         * testsuite/gcc.dg/graphite/block-0.c: Update test.
254         * testsuite/gcc.dg/graphite/block-1.c: Same.
255         * testsuite/gcc.dg/graphite/block-2.c: Remove xfail and test for blocking.
256         * testsuite/gcc.dg/graphite/block-4.c: Remove test for strip mine.
257         * testsuite/gcc.dg/graphite/block-3.c: New.
258         * testsuite/gcc.dg/graphite/pr38498.c: New.
259
260 2009-01-07  H.J. Lu  <hongjiu.lu@intel.com>
261
262         AVX Programming Reference (December, 2008)
263         * gcc.target/i386/avx-vmovntdq-256-1.c: New.
264         * gcc.target/i386/avx-vmovntpd-256-1.c: Likewise.
265         * gcc.target/i386/avx-vmovntps-256-1.c: Likewise.
266
267         * gcc.target/i386/sse2-movntdq-1.c (TEST): Align array to 16byte.
268         * gcc.target/i386/sse2-movntpd-1.c (TEST): Likewise.
269
270 2009-01-06  Thomas Koenig  <tkoenig@gcc.gnu.org>
271
272         PR fortran/38220
273         * gfortran.dg/c_loc_pure_1.f90:  New test.
274
275 2009-01-06  Mikael Morin  <mikael.morin@tele2.fr>
276
277         PR fortran/38669
278         * gfortran.dg/elemental_dependency_3.f90:
279         Add the final tree dump cleanup.
280
281 2009-01-06  Jakub Jelinek  <jakub@redhat.com>
282
283         * gfortran.dg/pr23095.f: Require ilp32 in target selection instead of
284         passing -m32.
285
286         PR rtl-optimization/38722
287         * gfortran.dg/pr38722.f90: New test.
288
289 2009-01-06  Janis Johnson  <janis187@us.ibm.com>
290
291         PR c/34252
292         * gcc.dg/dfp/decfloat-constants.c: Check for DECnn_SUBNORMAL_MIN
293         instead of DECnn_DEN.  Support -DDBG to list lines that fail.
294
295 2009-01-06  Dominique Dhumieres  <dominiq@lps.ens.fr>
296
297         * gfortran.dg/implicit_12.f90: Add space around dg directive.
298         * gfortran.dg/typebound_call_8.f03: Same.
299         * gfortran.dg/elemental_bind_c.f90: Same.
300         * gfortran.dg/typebound_call_7.f03: Same.
301         * gfortran.dg/interface_proc_end.f90: Same
302         * gfortran.dg/pr37243.f: Fix typo.
303
304 2009-01-06  Uros Bizjak  <ubizjak@gmail.com>
305
306         * gcc.dg/struct-ret-3.c (CHUNK_SIZE): New define.  Use CHUNK_SIZE
307         instead of hardcoded number.  Increase CHUNK_SIZE to 16384 for
308         large stack sizes.
309
310 2009-01-06  H.J. Lu  <hongjiu.lu@intel.com>
311
312         AVX Programming Reference (December, 2008)
313         * gcc.target/i386/avx-2.c: Remove tests for _mm_permute2_pd,
314         _mm256_permute2_pd, _mm_permute2_ps and _mm256_permute2_ps.
315         * gcc.target/i386/sse-14.c: Likewise.
316
317         * gcc.target/i386/avx-vpermil2pd-1.c: Removed.
318         * gcc.target/i386/avx-vpermil2ps-1.c: Likewise.
319         * gcc.target/i386/avx-vpermil2pd-256-1.c: Likewise.
320         * gcc.target/i386/avx-vpermil2ps-256-1.c: Likewise.
321
322 2009-01-05  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
323
324         PR libfortran/38735
325         * gfortran.dg/fmt_bz_bn.f: Update test.
326
327 2009-01-05  Dodji Seketeli  <dodji@redhat.com>
328
329         PR c++/38472
330         * g++.dg/conversion/usual-arith-conv.C: New test.
331
332 2009-01-05  Andrew Pinski  <andrew_pinski@playstation.sony.com>
333
334         PR c/34911
335         * gcc.dg/vector-3.c: New testcase.
336         * g++.dg/ext/vector15.C: New test.
337
338 2009-01-05  Harsha Jagasia  <harsha.jagasia@amd.com>
339
340         PR tree-optimization/38510
341         * gcc.dg/graphite/pr38510.c: New.
342
343 2009-01-05  Harsha Jagasia  <harsha.jagasia@amd.com>
344             Jan Sjodin <jan.sjodin@amd.com>
345
346         PR tree-optimization/38500
347         * gcc.dg/graphite/pr38500.c: New.
348
349 2009-01-05  Laurent GUERBY  <laurent@guerby.net>
350
351         * gcc.c-torture/compile/20001226-1.c: Generalize 
352         dg-timeout-factor.
353         * gcc.c-torture/compile/limits-fnargs.c: Add
354         dg-timeout-factor.
355         * gcc.dg/20020425-1.c: Likewise.
356         * gcc.dg/pch/pch.exp: Likewise.
357         
358 2009-01-05  Paul Thomas  <pault@gcc.gnu.org>
359
360         PR fortran/38657
361         * gfortran.dg/module_commons_3.f90: New test.
362
363 2009-01-05  Daniel Franke  <franke.daniel@gmail.com>
364
365         PR fortran/37159
366         * gfortran.dg/random_seed_1.f90: Updated.
367
368 2009-01-05  Mikael Morin  <mikael.morin@tele2.fr>
369
370         PR fortran/38669
371         PR fortran/38726
372         * gfortran.dg/elemental_subroutine_7.f90: 
373         Fix p values so that it can be used as vector subscript.
374
375 2009-01-05  Jason Merrill  <jason@redhat.com>
376
377         * g++.dg/cpp0x/initlist12.C: Add another test.
378
379         * g++.dg/cpp0x/defaulted7.C: New test.
380
381 2009-01-05  Thomas Koenig  <tkoenig@gcc.gnu.org>
382
383         PR fortran/38672
384         * gfortran.dg/host_assoc_blockdata_1.f90:  New test.
385         * gfortran.dg/host_assoc_blockdata_2.f90:  New test.
386
387 2009-01-05  Uros Bizjak  <ubizjak@gmail.com>
388
389         * gcc.dg/compat/struct-layout-1_generate.c (dg-options): Add -mieee
390         for alpha*-*-* targets.
391         * g++.dg/compat/struct-layout-1_generate.c (dg-options): Ditto.
392
393 2009-01-05  Paul Thomas  <pault@gcc.gnu.org>
394
395         PR fortran/38665
396         * gfortran.dg/host_assoc_function_5.f90: New test.
397
398 2009-01-04  Mikael Morin  <mikael.morin@tele2.fr>
399
400         PR fortran/38669
401         * gfortran.dg/elemental_dependency_3.f90: New test.
402         * gfortran.dg/elemental_subroutine_7.f90: New test.
403
404 2009-01-04  Uros Bizjak  <ubizjak@gmail.com>
405
406         * gcc.dg/struct-ret-3.c: Include unistd.h.
407         (main): Exit early if system memory page size is
408         larger than 4096 bytes.
409
410 2009-01-04  Daniel Franke  <franke.daniel@gmail.com>
411
412         PR fortran/38718
413         * gfortran.dg/merge_init_expr.f90: New.
414
415 2009-01-04  Mikael Morin  <mikael.morin@tele2.fr>
416
417         PR fortran/38536
418         * gfortran.dg/c_loc_tests_13.f90: New test.
419         * gfortran.dg/c_loc_tests_14.f90: New test.
420
421 2009-01-03  Daniel Franke  <franke.daniel@gmail.com>
422
423         * gfortran.dg/func_result_4.f90: New.
424
425 2009-01-03  Paul Thomas  <pault@gcc.gnu.org>
426
427         PR fortran/38594
428         * gfortran.dg/host_assoc_call_3.f90: Make sure that the generic
429         interface still works, in addition to original tests.
430         * gfortran.dg/host_assoc_call_6.f90: New test.
431
432 2009-01-03  Jakub Jelinek  <jakub@redhat.com>
433
434         PR c++/38705
435         * g++.dg/torture/pr38705.C: New test.
436
437         PR c/38700
438         * gcc.dg/pr38700.c: New test.
439
440 2009-01-02  Jason Merrill  <jason@redhat.com>
441
442         * g++.dg/cpp0x/initlist11.C: New test.
443         * g++.dg/cpp0x/initlist12.C: New test.
444
445 2009-01-02  Richard Sandiford  <rdsandiford@googlemail.com>
446
447         * gcc.dg/fixed-point/composite-type.c: Update wording of messages.
448         Allow extra informative notes.
449
450 2009-01-01  Jakub Jelinek  <jakub@redhat.com>
451
452         PR c/36489
453         * gcc.dg/pr36489.c: New test.