OSDN Git Service

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