OSDN Git Service

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