diff -Nrcpad gcc-4.3.2/gcc/testsuite/ChangeLog gcc-4.3.3/gcc/testsuite/ChangeLog *** gcc-4.3.2/gcc/testsuite/ChangeLog Wed Aug 27 18:02:30 2008 --- gcc-4.3.3/gcc/testsuite/ChangeLog Sat Jan 24 10:15:24 2009 *************** *** 1,3 **** --- 1,834 ---- + 2009-01-24 Release Manager + + * GCC 4.3.3 released. + + 2009-01-19 Matthias Klose + + * gcc.dg/pr38616.c: Remove. + + 2009-01-19 Richard Guenther + + Backport from mainline + 2008-07-11 Richard Guenther + + PR tree-optimization/36765 + * gcc.c-torture/execute/pr36765.c: New testcase. + + 2009-01-17 Paul Thomas + + PR fortran/38657 + * gfortran.dg/module_commons_3.f90: Remove + + 2009-01-16 Steve Ellcey + + PR c++/38357 + * g++.dg/template/crash87.C: New test. + + 2009-01-15 Jason Merrill + + PR c++/38850 + * g++.dg/template/koenig6.C: New test. + + PR c++/31488 + * g++.dg/other/vararg-3.C: New test. + + PR c++/36334 + * g++.dg/conversion/memfn1.C: New test. + + PR c++/37646 + * g++.dg/conversion/memfn2.C: New test. + + 2009-01-14 Mikael Morin + + PR fortran/38669 + * gfortran.dg/elemental_dependency_3.f90: New test. + * gfortran.dg/elemental_subroutine_7.f90: New test. + + 2009-01-13 H.J. Lu + + Backport from mainline: + 2009-01-11 H.J. Lu + + PR testsuite/38809 + * gcc.dg/pr38616.c: Only run for targets with -fstack-protector. + + 2009-01-12 Dodji Seketeli + + PR c++/36019 + * g++.dg/lookup/hidden-class12.C: New test. + * g++.dg/lookup/hidden-class13.C: New test. + * g++.dg/lookup/hidden-class14.C: New test. + * g++.dg/lookup/hidden-class15.C: New test. + * g++.dg/lookup/hidden-class16.C: New test. + * gcc/testsuite/g++.old-deja/g++.benjamin/tem03.C: Adjust testcase. + + 2009-01-11 Matthias Klose + + PR middle-end/38616 + * gcc.dg/pr38616.c: New test. + + 2009-01-11 Paul Thomas + + PR fortran/38763 + Backport from mainline: + * gfortran.dg/transfer_null_1.f90: New test. + + PR fortran/38765 + Backport from mainline: + * gfortran.dg/host_assoc_function_6.f90: New test. + + 2009-01-11 Ira Rosen + + Backport from mainline: + 2009-01-08 Ira Rosen + + PR tree-optimization/37194 + * gcc.dg/vect/costmodel/ppc/costmodel-pr37194.c: New test. + + 2009-01-11 Ira Rosen + + Backport from mainline: + 2008-12-29 Dorit Nuzman + Ira Rosen + + PR tree-optimization/38529 + * gcc.dg/vect/pr38529.c: New test. + + 2009-01-10 Paul Thomas + + PR fortran/38657 + * gfortran.dg/module_commons_3.f90: New test. + + 2009-01-10 Paul Thomas + + PR fortran/38665 + * gfortran.dg/host_assoc_function_5.f90: New test. + + 2009-01-07 Richard Guenther + + PR tree-optimization/38752 + * gcc.c-torture/compile/pr38752.c: New testcase. + + 2008-12-22 Paul Thomas + + PR fortran/38602 + * gfortran.dg/alloc_comp_optional_1.f90: New test. + + 2008-12-21 Mikael Morin + + PR fortran/38487 + * gfortran.dg/elemental_dependency_2.f90: New test. + + 2008-12-21 Mikael Morin + + PR fortran/35983 + * gfortran.dg/pr35983.f90: New test. + + 2008-12-19 Janis Johnson + + Revert: + 2008-12-12 Janis Johnson + PR libgfortran/24685 + * gfortran.dg/default_format_denormal_2.f90: Change XFAIL to check + for size of long double. + + 2008-12-18 Andrew Pinski + + PR middle-end/38565 + * testsuite/g++.dg/torture/pr38565.C: New test. + + 2008-12-14 Paul Thomas + + PR fortran/35937 + * gfortran.dg/char_length_14.f90: New test. + + 2008-12-12 Janis Johnson + + PR libgfortran/24685 + * gfortran.dg/default_format_denormal_2.f90: Change XFAIL to check + for size of long double. + + 2008-12-11 Michael Meissner + + * gcc.target/spu/ea: Delete __ea testsuite directory accidently + committed to 4.3 branch. + + 2008-12-08 Janis Johnson + + Backport from mainline: + 2008-09-16 Jakub Jelinek + + PR testsuite/36889 + * lib/fortran-torture.exp (get-fortran-torture-options): Only + set test_tree_vectorize on i?86/x86_64 resp. sparc* if sse2 resp. + ultrasparc hw is available. + + 2008-12-05 Janis Johnson + + * lib/target-supports.exp (check_effective_target_hard_dfp): New. + * gcc.dg/dfp/convert-dfp-round.c: Skip for hard_dfp. + * gcc.dg/dfp/fe-binop.c: Ditto. + * gcc.dg/dfp/fe-convert-1.c: Ditto. + + Backport from mainline: + 2008-05-15 Janis Johnson + + * lib/torture-options.exp: New support for torture options. + * lib/gfortran-dg.exp (gfortran-dg-runtest): Use new torture procs. + * lib/c-torture.exp: Define C_TORTURE_OPTIONS instead of + TORTURE_OPTIONS; don't define torture_with_loops and + torture_without_loops. + * lib/gcc-dg.exp: Define DG_TORTURE_OPTIONS instead of + TORTURE_OPTIONS; don't define torture_with_loops and + torture_without_loops. + (gcc-dg-runtest): Use new torture procs if no torture options defined. + * lib/fortran-torture.exp: Define FORTRAN_TORTURE_OPTIONS instead of + TORTURE_OPTIONS. + (fortran-torture-execute): Use torture_with_loops instead of + TORTURE_OPTIONS. + (fortran-torture): Ditto. + * lib/objc-torture.exp: Define OBJC_TORTURE_OPTIONS instead of + TORTURE_OPTIONS; don't define torture_with_loops and + torture_without_loops. + * gcc.c-torture/execute/execute.exp: Use new torture procs. + * gcc.c-torture/execute/builtins/builtins.exp: Ditto. + * gcc.c-torture/execute/ieee/ieee.exp: Ditto. + * gcc.c-torture/unsorted/unsorted.exp: Ditto. + * gfortran.fortran-torture/execute/execute.exp: Ditto. + * gfortran.fortran-torture/compile/compile.exp: Ditto. + * gcc.target/x86_64/abi/abi-x86_64.exp: Ditto. + * gcc.target/i386/math-torture/math-torture.exp: Define + MATH_TORTURE_OPTIONS, use new torture procs. + * gcc.dg/pch/pch.exp: Use new torture procs. + * gcc.dg/format/format.exp: Ditto. + * gcc.misc-tests/i386-prefetch.exp: Ditto. + * gcc.misc-tests/dectest.exp: Ditto. + * objc.dg/pch/pch.exp: Ditto. + * objc/execute/execute.exp: Ditto. + * objc/execute/exceptions/exceptions.exp: Ditto. + * objc/compile/compile.exp: Ditto. + + Backport from mainline: + 2008-05-27 Richard Sandiford + + * lib/fortran-torture.exp (get-fortran-torture-options): + New function, replacing old FORTRAN_TORTURE_OPTIONS code. + * gfortran.fortran-torture/compile/compile.exp: Use + [get-fortran-torture-options] instead of $FORTRAN_TORTURE_OPTIONS. + * gfortran.fortran-torture/execute/execute.exp: Likewise. + + 2008-12-05 Eric Botcazou + + * gcc.dg/union-5.c: Run only on x86 and x86-64. + + 2008-12-04 Eric Botcazou + + * gcc.dg/union-5.c: New test. + + 2008-12-04 Eric Botcazou + + * gcc.dg/union-4.c: New test. + + 2008-12-03 Janis Johnson + + * gcc.dg/vect/pr33953.c: XFAIL dump scans for powerpc. + + 2008-12-03 Eric Botcazou + + * gcc.dg/torture/pr37868.c: Skip on the SPARC. + + 2008-12-02 Janis Johnson + + Backport from mainline: + 2008-08-26 Janis Johnson + + * gcc.dg/Wstrict-aliasing-bogus-ref-all-2.c: Ignore a warning. + * g++.dg/ext/altivec-3.C: Move AltiVec code out of main. + + Backport from mainline: + 2008-07-10 2008-07-10 Joseph Myers + + PR middle-end/29056 + * gcc.target/powerpc/ppc-negeq0-1.c: Use long instead of int. + Adjust shift and scan-assembler-not pattern to allow for 64-bit + case. + + Backport from mainline: + 2008-06-09 Joseph Myers + + * gcc.dg/pr34856.c: Condition use of -maltivec on + powerpc_altivec_ok. Use -w on other powerpc*-*-linux*. + + Backport from mainline: + 2008-05-20 Janis Johnson + + * g++.dg/ext/vector14.C: Ignore a possible warning. + + Backport from mainline: + 2008-04-21 Steve Ellcey + + * gcc.dg/vect/pr33953.c: XFAIL if vect_no_align. + + Backport from mainline: + 2008-04-04 Janis Johnson + + * gcc.dg/var-expand3.c: Skip for powerpc-linux if not on AltiVec HW. + + * gcc.dg/torture/builtin-modf-1.c: Use special options for + powerpc*-*-linux*. + + Backport from mainline: + 2008-04-04 Janis Johnson + + * g++.dg/other/anon5.C: Don't depend on line number for error message. + + 2008-12-02 Janis Johnson + + Backport from mainline: + 2008-11-26 Janis Johnson + + PR testsuite/28870 + * lib/timeout.exp: New. + * lib/timeout-dg.exp: New. + * lib/gcc-dg.exp: Include new timeout library files. + (dg-test): Unset timeout variables. + * lib/gcc.exp (gcc_target_compile): Set timeout value from new proc. + * lib/g++.exp (g++_target_compile): Ditto. + * lib/gfortran.exp (gfortran_target_compile): Ditto. + * lib/objc.exp (objc_target_compile): Ditto. + * lib/obj-c++.exp (obj-c++_target_compile): Ditto. + * lib/obj-c++.exp (obj-c++_target_compile): Ditto. + * lib/gnat.exp (gnat_target_compile): Ditto. + + 2008-11-30 Eric Botcazou + + * g++.dg/opt/reload3.C: New test. + + 2008-11-24 Paul Thomas + + PR fortran/34820 + * gfortran.dg/alloc_comp_constructor_6.f90 : New test. + * gfortran.dg/alloc_comp_basics_1.f90 : Reduce expected refs to + 'builtin_free' from 24 to 18. + + PR fortran/34143 + * gfortran.dg/alloc_comp_constructor_5.f90 : New test. + + PR fortran/32795 + * gfortran.dg/alloc_comp_constructor_4.f90 : New test. + + 2008-11-29 Paul Thomas + + PR fortran/37735 + * gfortran.dg/alloc_comp_assign_7.f90: New test. + + 2008-11-27 Paul Thomas + + PR fortran/36526 + * gfortran.dg/pure_formal_proc_2.f90: New test. + + 2008-11-24 Paul Thomas + + PR fortran/38119 + * gfortran.dg/array_temporaries_3.f90: New test. + + 2008-11-24 Paul Thomas + + PR fortran/38033 + * gfortran.dg/array_section_2.f90: New test. + + 2008-11-24 Paul Thomas + + PR fortran/37926 + * gfortran.dg/dummy_procedure_3.f90: New test. + + 2008-11-24 Mikael Morin + + PR fortran/35681 + * gfortran.dg/elemental_dependency_1.f90: Correct strings in test. + + 2008-11-24 Steven G. Kargl + + PR fortran/37792 + * gfortran.dg/arithmetic_overflow_1.f90: New test. + + 2008-11-24 Mikael Morin + + PR fortran/35681 + * gfortran.dg/elemental_dependency_1.f90: Really commit it. + + 2008-11-24 Mikael Morin + + PR fortran/35681 + * gfortran.dg/elemental_dependency_1.f90: New test. + + 2008-11-23 Thomas Koenig + + PR libfortran/38135 + Backport from trunk. + * gfortran.dg/reshape_pad_1.f90: New test case. + + 2008-11-21 Ben Elliston + + * gcc.c-torture/compile/sync-3.c: Remove dg-message directive. + + 2008-11-20 Richard Guenther + + PR tree-optimization/37868 + * gcc.dg/torture/pr37868.c: New testcase. + * gcc.c-torture/execute/pr38048-1.c: Likewise. + * gcc.c-torture/execute/pr38048-2.c: Likewise. + + Backport from mainline: + 2008-07-07 Richard Guenther + + * gcc.dg/torture/pta-ptrarith-1.c: New testcase. + * gcc.dg/torture/pta-ptrarith-2.c: Likewise. + + 2008-11-19 Dodji Seketeli + + PR c++/37142 + * g++.dg/template/crash79.C: New test. + + 2008-11-19 Dodji Seketeli + + PR c++/35405 + * g++.dg/template/crash84.C: New test. + + 2008-11-19 Jason Merrill + + PR c++/37563 + * g++.dg/template/pseudodtor5.C: New test. + + 2008-11-19 Paul Thomas + + PR fortran/38171 + * gfortran.dg/module_equivalence_6.f90: New test. + + 2008-11-18 Ben Elliston + + Backport from mainline: + 2008-09-28 Andrew Pinski + + PR target/37640 + * gcc.c-torture/compile/sync-3.c: New testcase to check that + addresses of non zero offset works. + + 2008-11-14 Jason Merrill + + PR c++/38030 + * g++.dg/template/lookup8.C: New test. + + 2008-11-14 Dodji Seketeli + + PR debug/27574 + * g++.dg/debug/dwarf2/local-var-in-contructor.C: New test. + + 2008-11-14 Paul Thomas + + PR fortran/37836 + * gfortran.dg/minmaxval_1.f90: New test. + + 2008-11-13 Jason Merrill + + PR c++/37932 + * g++.dg/conversion/bitfield11.C: New test. + + 2008-11-13 Uros Bizjak + + Backport from mainline: + 2008-06-06 Uros Bizjak + + PR rtl-optimization/36438 + * gcc.target/i386/pr36438.c + + 2008-11-12 Jason Merrill + + PR c++/38007 + * g++.dg/conversion/bitfield10.C: New test. + * g++.old-deja/g++.mike/enum1.C: Expect warn about assignment. + * g++.dg/expr/bitfield9.C: Pass -Wno-overflow. + + 2008-11-12 Andreas Krebbel + + * gcc.target/s390/frame-addr1.c: New testcase. + * gcc.target/s390/frame-addr2.c: New testcase. + * gcc.target/s390/return-addr1.c: New testcase. + * gcc.target/s390/return-addr2.c: New testcase. + + 2008-11-10 Eric Botcazou + + * g++.dg/other/anon5.C: Skip on Solaris. + + 2008-11-10 Uros Bizjak + + Backport from mainline: + 2008-11-10 Ralph Loader + + PR middle-end/37807 + PR middle-end/37809 + * gcc.target/i386/mmx-8.c: New test. + + 2008-11-09 John David Anglin + + Backport from mainline: + 2008-04-22 Steve Ellcey + + * gcc.dg/struct/wo_prof_global_var.c: Initialize array. + * gcc.dg/struct/wo_prof_malloc_size_var.c: Ditto. + * gcc.dg/struct/w_prof_local_var.c: Ditto. + * gcc.dg/struct/w_prof_global_var.c: Ditto. + * gcc.dg/struct/wo_prof_local_var.c: Ditto. + + 2008-11-08 Paul Thomas + + PR fortran/37597 + * gfortran.dg/host_assoc_call_5.f90: New test. + + 2008-11-08 Mikael Morin + + PR fortran/35820 + * gfortran.dg/nested_forall_1.f: New test. + + 2008-11-08 Paul Thomas + + PR fortran/37445 + * gfortran.dg/host_assoc_call_3.f90: New test. + * gfortran.dg/host_assoc_call_4.f90: New test. + * gfortran.dg/host_assoc_function_4.f90: New test. + + 2008-11-06 Richard Guenther + + Backport from mainline: + 2008-09-13 Raksit Ashok + + PR rtl-optimization/37489 + * g++.dg/opt/cse3.C: New testcase. + * gcc.dg/c-torture/pr37969.c: New testcase. + + 2008-11-05 Jakub Jelinek + + PR c/37924 + * gcc.c-torture/execute/pr37924.c: New test. + + PR tree-optimization/37879 + * gcc.dg/pr37879.c: New test. + + PR middle-end/37858 + * gcc.dg/pr37858.c: New test. + + PR middle-end/37870 + * gcc.target/i386/pr37870.c: New test. + + 2008-11-05 Hans-Peter Nilsson + + PR target/38016 + * gcc.c-torture/execute/ieee/pr38016.c, + gcc.c-torture/execute/ieee/pr38016.c: New test. + + 2008-11-03 Eric Botcazou + + * gnat.dg/array5.adb New test. + + 2008-11-01 Hans-Peter Nilsson + + PR target/37939 + * gcc.target/cris/biap.c: New test. + + 2008-11-01 Mikael Morin + + PR fortran/37903 + * gfortran.dg/vector_subscript_4.f90: New test. + + 2008-11-01 Mikael Morin + + PR fortran/37749 + * gfortran.dg/vector_subscript__5.f90: New test. + + 2008-10-28 Jerry DeLisle + + PR middle-end/37882 + * gcc.c-torture/execute/pr37882.c: New test. + + 2008-10-21 Richard Guenther + + * gcc.dg/tree-ssa/alias-19.c: New testcase. + + 2008-10-19 Jerry DeLisle + + PR fortran/37723 + * gfortran.dg/dependency_22.f90: New test. + + 2008-10-19 Paul Thomas + + PR fortran/37787 + * gfortran.dg/module_equivalence_5.f90: New test. + + 2008-10-17 Andrew MacLeod + + PR tree-optimization/37102 + * gcc.c-torture/execute/pr37102.c: New Test. + + 2008-10-11 Paul Thomas + + PR fortran/37794 + * gfortran.dg/used_types_24.f90: New test. + + 2008-10-11 Paul Thomas + + PR fortran/35680 + * gfortran.dg/transfer_array_intrinsic_5.f90: New test. + + 2008-10-08 Simon Martin + + PR c/35437 + * gcc.dg/struct-parse-2.c: New test. + * g++.dg/parse/struct-4.C: New test. + + 2008-10-07 H.J. Lu + + Backport from mainline: + 2008-10-07 H.J. Lu + + PR middle-end/37731 + * gcc.dg/torture/pr37731-1.c: New. + * gcc.dg/torture/pr37731-2.c: Likewise. + + 2008-10-07 Eric Botcazou + + * gnat.dg/loop_optimization4.adb: New test. + * gnat.dg/loop_optimization4_pkg.ad[sb]: New helper. + + 2008-10-06 Eric Botcazou + + * gnat.dg/unchecked_convert2.adb: New test. + + 2008-10-05 Paul Thomas + + PR fortran/37706 + * gfortran.dg/module_equivalence_4.f90: New test. + + 2008-09-30 Simon Martin + + PR c++/37555 + * g++.dg/parse/error32.C: New test. + + 2008-09-28 Eric Botcazou + + * gnat.dg/conv_decimal.adb: New test. + + 2008-09-26 Tobias Burnus + + PR fortran/37580 + * gfortran.dg/pointer_assign_5.f90: New test. + * gfortran.dg/pointer_assign_6.f90: New test. + + 2008-09-26 Tobias Burnus + + PR fortran/37504 + * gfortran.dg/protected_7.f90: New test. + + 2008-09-25 Jakub Jelinek + + PR c/37645 + * gcc.dg/pr37645.c: New test. + + 2008-09-25 Tobias Burnus + + PR fortran/37626 + * gfortran.dg/allocatable_function_4.f90: New test. + + 2008-09-24 Paul Thomas + + PR fortran/35945 + * gfortran.dg/host_assoc_types_2.f90: New test. + + PR fortran/36700 + * gfortran.dg/host_assoc_call_2.f90: New test. + + 2008-09-24 Paul Thomas + + PR fortran/37583 + * gfortran.dg/entry_18.f90: New test. + + 2008-09-23 Eric Botcazou + + * gcc.dg/pragma-init-fini.c: Use dg-warning in lieu of dg-error. + * gcc.dg/pragma-align-2.c: Likewise. + * gcc.dg/format/cmn-err-1.c: Likewise. + + 2008-09-23 Paul Thomas + + PR fortran/37274 + * gfortran.dg/used_types_22.f90: New test. + * gfortran.dg/used_types_23.f90: New test. + + PR fortran/36374 + * gfortran.dg/generic_17.f90: New test. + * gfortran.dg/ambiguous_specific_2.f90: New test. + * gfortran.dg/generic_actual_arg.f90: Add test for case that is + not ambiguous. + + PR fortran/36454 + * gfortran.dg/access_spec_3.f90: New test. + + 2008-09-20 Richard Guenther + + PR middle-end/37236 + * gfortran.fortran-torture/compile/pr37236.f: New testcase. + + 2008-09-19 Richard Guenther + + PR tree-optimization/36343 + * gcc.c-torture/execute/pr36343.c: New testcase. + + 2008-09-19 Uros Bizjak + + Backport from mainline: + 2008-09-18 Uros Bizjak + + PR rtl-optimization/37544 + * gcc.dg/pr37544.c: New test. + + 2008-09-18 Janis Johnson + + Backport from mainline: + 2008-04-08 Janis Johnson + + PR target/35620 + * gcc.dg/dfp/pr35620.c: New test. + * gcc.dg/dfp/func-pointer.c: New test. + * gcc.dg/dfp/func-deref.c: New test. + + Backport from mainline: + 2008-04-03 Janis Johnson + + PR c/35712 + * gcc.dg/dfp/constants-zero.c: New test. + + 2008-09-13 Daniel Kraft + + PR fortran/35770 + * gfortran.dg/implicit_12.f90: New test. + + 2008-09-11 Daniel Kraft + + PR fortran/36214 + * gfortran.dg/boz_9.f90: Corrected test. + * gfortran.dg/boz_11.f90: New test. + * gfortran.dg/boz_12.f90: New test. + + 2008-09-08 Daniel Kraft + + PR fortran/37199 + * gfortran.dg/array_function_2.f90: New test. + + 2008-09-09 Jakub Jelinek + + PR c++/37389 + * g++.dg/parse/enum4.C: New test. + + 2008-09-05 Daniel Kraft + + PR fortran/35837 + * gfortran.dg/save_3.f90: New test. + + 2008-09-04 Daniel Kraft + + PR fortran/37099 + * gfortran.dg/string_compare_1.f90: New text. + * gfortran.dg/string_compare_2.f90: New text. + * gfortran.dg/string_compare_3.f90: New text. + + 2008-09-07 Richard Guenther + Ira Rosen + + PR tree-optimization/36630 + * gcc.dg/vect/pr36630.c: New test. + + 2008-09-04 Ian Lance Taylor + + * g++.dg/init/const7.C: New test. + + 2008-09-03 Jakub Jelinek + + PR c++/37348 + * g++.dg/parse/crash45.C: New test. + + 2008-08-30 Daniel Kraft + + PR fortran/37193 + * gfortran.dg/use_rename_4.f90: New test. + * gfortran.dg/use_rename_5.f90: New test. + + 2008-06-24 Paul Thomas + + PR fortran/36371 + * gfortran.dg/data_array_5.f90: New test. + + 2008-09-02 Jakub Jelinek + + PR target/36332 + * gcc.c-torture/execute/ieee/pr36332.c: New test. + + 2008-09-01 Jakub Jelinek + + PR middle-end/36449 + * g++.dg/opt/pr36449.C: New test. + + 2008-08-31 Jakub Jelinek + + PR target/37168 + * gcc.target/powerpc/pr37168.c: New test. + + 2008-08-29 Jakub Jelinek + + PR c/37261 + * gcc.dg/pr37261.c: New test. + + 2008-08-28 Ulrich Weigand + + * gcc.target/powerpc/altivec-volatile.c: New test. + + 2008-08-28 Dodji Seketeli + + PR c++/36741 + * g++.dg/other/new-size-type.C: New test. + + 2008-08-28 Richard Guenther + + PR middle-end/36548 + PR middle-end/37125 + * gcc.c-torture/execute/pr37125.c: New testcase. + + 2008-08-28 Richard Guenther + + PR middle-end/36817 + * gcc.c-torture/compile/pr36817.c: New testcase. + + 2008-08-28 Uros Bizjak + + PR target/37184 + * gcc.target/i386/pr37184.c: New test. + + PR target/37191 + * gcc.target/i386/pr37191.c: New test. + + PR target/37197 + * gcc.target/i386/pr37197.c: New test. + 2008-08-27 Release Manager * GCC 4.3.2 released. diff -Nrcpad gcc-4.3.2/gcc/testsuite/g++.dg/conversion/bitfield10.C gcc-4.3.3/gcc/testsuite/g++.dg/conversion/bitfield10.C *** gcc-4.3.2/gcc/testsuite/g++.dg/conversion/bitfield10.C Thu Jan 1 00:00:00 1970 --- gcc-4.3.3/gcc/testsuite/g++.dg/conversion/bitfield10.C Wed Nov 12 22:08:01 2008 *************** *** 0 **** --- 1,24 ---- + // PR c++/38007 + // We need to use the conversion function to the declared type of a bitfield, + // not the lowered bitfield type. + // { dg-do link } + + struct A + { + operator unsigned int() { return 42; } + operator unsigned char(); + }; + + struct B + { + unsigned int b : 8; + }; + + int + main () + { + A u; + unsigned int v = u; + B w; + w.b = u; + } diff -Nrcpad gcc-4.3.2/gcc/testsuite/g++.dg/conversion/bitfield11.C gcc-4.3.3/gcc/testsuite/g++.dg/conversion/bitfield11.C *** gcc-4.3.2/gcc/testsuite/g++.dg/conversion/bitfield11.C Thu Jan 1 00:00:00 1970 --- gcc-4.3.3/gcc/testsuite/g++.dg/conversion/bitfield11.C Fri Nov 14 04:16:07 2008 *************** *** 0 **** --- 1,8 ---- + // Make sure that digest_init converts to the declared type of the + // bitfield, not just the lowered type. + + enum E { EA, EB }; + + struct A { E e: 8; }; + + A a = { 0 }; // { dg-error "invalid conversion" } diff -Nrcpad gcc-4.3.2/gcc/testsuite/g++.dg/conversion/memfn1.C gcc-4.3.3/gcc/testsuite/g++.dg/conversion/memfn1.C *** gcc-4.3.2/gcc/testsuite/g++.dg/conversion/memfn1.C Thu Jan 1 00:00:00 1970 --- gcc-4.3.3/gcc/testsuite/g++.dg/conversion/memfn1.C Thu Jan 15 22:34:20 2009 *************** *** 0 **** --- 1,26 ---- + // PR c++/36334 + + struct X + { + typedef int* foobar(); + static void foo(foobar&); + }; + + void X::foo(foobar&) + { + } + + struct Y : public X + { + static foobar bar; + static void foo(); + }; + + void Y::foo() + { + X::foo(bar); + } + int* Y::bar() + { + return 0; + } diff -Nrcpad gcc-4.3.2/gcc/testsuite/g++.dg/conversion/memfn2.C gcc-4.3.3/gcc/testsuite/g++.dg/conversion/memfn2.C *** gcc-4.3.2/gcc/testsuite/g++.dg/conversion/memfn2.C Thu Jan 1 00:00:00 1970 --- gcc-4.3.3/gcc/testsuite/g++.dg/conversion/memfn2.C Thu Jan 15 22:34:20 2009 *************** *** 0 **** --- 1,11 ---- + // PR c++/37646 + + struct A + { + void foo(); + + void bar(int i) + { + void (*p)() = i ? foo : foo; // { dg-error "invalid use of member" } + } + }; diff -Nrcpad gcc-4.3.2/gcc/testsuite/g++.dg/debug/dwarf2/local-var-in-contructor.C gcc-4.3.3/gcc/testsuite/g++.dg/debug/dwarf2/local-var-in-contructor.C *** gcc-4.3.2/gcc/testsuite/g++.dg/debug/dwarf2/local-var-in-contructor.C Thu Jan 1 00:00:00 1970 --- gcc-4.3.3/gcc/testsuite/g++.dg/debug/dwarf2/local-var-in-contructor.C Fri Nov 14 13:26:59 2008 *************** *** 0 **** --- 1,30 ---- + // Contributed by Dodji Seketeli + // Origin PR27574 + // { dg-do compile } + // { dg-options "-O0 -g" } + // { dg-final { scan-assembler "problem" } } + + void f (int *) + { + } + + class A + { + public: + A(int i); + }; + + A::A(int i) + { + int *problem = new int(i); + f (problem); + } + + int + main (void) + { + A a (0); + + return 0; + } + diff -Nrcpad gcc-4.3.2/gcc/testsuite/g++.dg/expr/bitfield9.C gcc-4.3.3/gcc/testsuite/g++.dg/expr/bitfield9.C *** gcc-4.3.2/gcc/testsuite/g++.dg/expr/bitfield9.C Fri Jul 27 17:13:29 2007 --- gcc-4.3.3/gcc/testsuite/g++.dg/expr/bitfield9.C Wed Nov 12 22:08:01 2008 *************** *** 1,5 **** --- 1,6 ---- // PR c++/32346 // { dg-do run } + // { dg-options "-Wno-overflow" } extern "C" void abort(); diff -Nrcpad gcc-4.3.2/gcc/testsuite/g++.dg/ext/altivec-3.C gcc-4.3.3/gcc/testsuite/g++.dg/ext/altivec-3.C *** gcc-4.3.2/gcc/testsuite/g++.dg/ext/altivec-3.C Tue Jun 20 23:33:58 2006 --- gcc-4.3.3/gcc/testsuite/g++.dg/ext/altivec-3.C Tue Dec 2 22:11:55 2008 *************** void baz2 (int i, ... ) *** 120,135 **** CHECK_INVARIANT (vec_all_eq (vxi.v, vx_g.v)); } ! int main(void) { CHECK_INVARIANT (sizeof(struct foo) == 8 && sizeof(struct vfoo) == 48); - altivec_check(); - bar(i_1, x_g, (short)i_2, (float)d_2, ld_1, (char)i_1, d_3); baz(i_1, v_g, i_1, vx_g, i_1, v2_g, i_1, vx2_g); quux(i_1, v_g, v_g); baz2(i_1, vx_g); ! return 0; } --- 120,138 ---- CHECK_INVARIANT (vec_all_eq (vxi.v, vx_g.v)); } ! void main1(void) { CHECK_INVARIANT (sizeof(struct foo) == 8 && sizeof(struct vfoo) == 48); bar(i_1, x_g, (short)i_2, (float)d_2, ld_1, (char)i_1, d_3); baz(i_1, v_g, i_1, vx_g, i_1, v2_g, i_1, vx2_g); quux(i_1, v_g, v_g); baz2(i_1, vx_g); ! } ! ! int main(void) ! { ! altivec_check(); ! main1(); return 0; } diff -Nrcpad gcc-4.3.2/gcc/testsuite/g++.dg/ext/vector14.C gcc-4.3.3/gcc/testsuite/g++.dg/ext/vector14.C *** gcc-4.3.2/gcc/testsuite/g++.dg/ext/vector14.C Mon Apr 28 12:17:27 2008 --- gcc-4.3.3/gcc/testsuite/g++.dg/ext/vector14.C Tue Dec 2 22:11:55 2008 *************** *** 1,6 **** --- 1,8 ---- // PR c++/35758 // { dg-do compile } // { dg-options "-msse" { target { { i?86-*-* x86_64-*-* } && ilp32 } } } */ + // Ignore warning on some powerpc-linux configurations. + // { dg-prune-output "non-standard ABI extension" } #define vector __attribute__((vector_size(16))) diff -Nrcpad gcc-4.3.2/gcc/testsuite/g++.dg/init/const7.C gcc-4.3.3/gcc/testsuite/g++.dg/init/const7.C *** gcc-4.3.2/gcc/testsuite/g++.dg/init/const7.C Thu Jan 1 00:00:00 1970 --- gcc-4.3.3/gcc/testsuite/g++.dg/init/const7.C Fri Sep 5 05:35:03 2008 *************** *** 0 **** --- 1,13 ---- + // { dg-do compile } + // { dg-options "-fdump-tree-gimple" } + + struct s { int x, y; }; + short offsets[1] = { + ((char*) &(((struct s*)16)->y) - (char *)16), + }; + + // This ensures that we get a dump whether or not the bug is present. + void fn() { } + + // { dg-final { scan-tree-dump-not "initialization" "gimple" } } + // { dg-final { cleanup-tree-dump "gimple" } } diff -Nrcpad gcc-4.3.2/gcc/testsuite/g++.dg/lookup/hidden-class12.C gcc-4.3.3/gcc/testsuite/g++.dg/lookup/hidden-class12.C *** gcc-4.3.2/gcc/testsuite/g++.dg/lookup/hidden-class12.C Thu Jan 1 00:00:00 1970 --- gcc-4.3.3/gcc/testsuite/g++.dg/lookup/hidden-class12.C Mon Jan 12 22:44:13 2009 *************** *** 0 **** --- 1,24 ---- + // Contributed by Dodji Seketeli + // Origin PR c++/36019 + // { dg-do compile } + + struct F { + static const int x = 0; + }; + + struct A { + template + static int f () + { + return A::x; + } + }; + + + int + main () + { + int i = A::f (); + return i; + } + diff -Nrcpad gcc-4.3.2/gcc/testsuite/g++.dg/lookup/hidden-class13.C gcc-4.3.3/gcc/testsuite/g++.dg/lookup/hidden-class13.C *** gcc-4.3.2/gcc/testsuite/g++.dg/lookup/hidden-class13.C Thu Jan 1 00:00:00 1970 --- gcc-4.3.3/gcc/testsuite/g++.dg/lookup/hidden-class13.C Mon Jan 12 22:44:13 2009 *************** *** 0 **** --- 1,25 ---- + // Contributed by Dodji Seketeli + // Origin PR c++/36019 + // { dg-do compile } + + struct F { + static const int x = 0; + }; + + struct B { + template + struct C + { + static int f () + { + return B::x; + } + }; + }; + + int + main () + { + int j = B::C::f (); + return 0; + } diff -Nrcpad gcc-4.3.2/gcc/testsuite/g++.dg/lookup/hidden-class14.C gcc-4.3.3/gcc/testsuite/g++.dg/lookup/hidden-class14.C *** gcc-4.3.2/gcc/testsuite/g++.dg/lookup/hidden-class14.C Thu Jan 1 00:00:00 1970 --- gcc-4.3.3/gcc/testsuite/g++.dg/lookup/hidden-class14.C Mon Jan 12 22:44:13 2009 *************** *** 0 **** --- 1,23 ---- + // Contributed by Dodji Seketeli + // Origin PR c++/36019 + // { dg-do compile } + + struct F { + static const int x = 0; + typedef int A; + }; + + struct A { + template + struct G : public F + { + static const A i = 0; + }; + }; + + int + main () + { + return A::G::i ; + } + diff -Nrcpad gcc-4.3.2/gcc/testsuite/g++.dg/lookup/hidden-class15.C gcc-4.3.3/gcc/testsuite/g++.dg/lookup/hidden-class15.C *** gcc-4.3.2/gcc/testsuite/g++.dg/lookup/hidden-class15.C Thu Jan 1 00:00:00 1970 --- gcc-4.3.3/gcc/testsuite/g++.dg/lookup/hidden-class15.C Mon Jan 12 22:44:13 2009 *************** *** 0 **** --- 1,30 ---- + // Contributed by Dodji Seketeli + // Origin PR c++/36019 + // { dg-do compile } + + struct F { + static const int y = 0; + }; + + struct A { + static const int x = 0; + }; + + struct B : public A { + template + struct C + { + static int f () + { + return A::x; // { dg-error "'x' is not a member of 'F'" } + } + }; + }; + + int + main () + { + int j = B::C::f (); + return 0; + } + diff -Nrcpad gcc-4.3.2/gcc/testsuite/g++.dg/lookup/hidden-class16.C gcc-4.3.3/gcc/testsuite/g++.dg/lookup/hidden-class16.C *** gcc-4.3.2/gcc/testsuite/g++.dg/lookup/hidden-class16.C Thu Jan 1 00:00:00 1970 --- gcc-4.3.3/gcc/testsuite/g++.dg/lookup/hidden-class16.C Mon Jan 12 22:44:13 2009 *************** *** 0 **** --- 1,27 ---- + // Contributed by Dodji Seketeli + // Origin PR c++/36019 + // { dg-do compile } + + struct F { + static const int y = 0; + }; + + struct A { + static const int x = 0; + }; + + struct B : public A { + template + static int f () + { + return A::x; // { dg-error "'x' is not a member of 'F'" } + } + }; + + int + main () + { + int j = B::f (); + return 0; + } + diff -Nrcpad gcc-4.3.2/gcc/testsuite/g++.dg/opt/cse3.C gcc-4.3.3/gcc/testsuite/g++.dg/opt/cse3.C *** gcc-4.3.2/gcc/testsuite/g++.dg/opt/cse3.C Thu Jan 1 00:00:00 1970 --- gcc-4.3.3/gcc/testsuite/g++.dg/opt/cse3.C Thu Nov 6 15:05:44 2008 *************** *** 0 **** --- 1,48 ---- + // This testcase resulted in invalid code generation on x86_64 targets + // due to a bug in fold_rtx. For a "true" value, fold_rtx represented it + // as const_true_rtx in floating-point mode, if the FLOAT_STORE_FLAG_VALUE + // macro is not defined. + + // { dg-do run } + // { dg-options "-O1 -fno-guess-branch-probability -fcse-follow-jumps -fgcse -frerun-cse-after-loop" } + + class StatVal { + + public: + + StatVal(double ev, double va) + : m(ev), + v(va) {} + + StatVal(const StatVal& other) + : m(other.m), + v(other.v) {} + + StatVal& operator*=(const StatVal& other) { + double A = m == 0 ? 1.0 : v / (m * m); + double B = other.m == 0 ? 1.0 : other.v / (other.m * other.m); + m = m * other.m; + v = m * m * (A + B); + return *this; + } + + double m; + double v; + }; + + extern "C" void abort (void); + + const StatVal two_dot_three(2, 0.3); + + int main(int argc, char **argv) { + + StatVal product3(two_dot_three); + + product3 *= two_dot_three; + + if (product3.v > 2.5) + { + abort(); + } + return 0; + } diff -Nrcpad gcc-4.3.2/gcc/testsuite/g++.dg/opt/pr36449.C gcc-4.3.3/gcc/testsuite/g++.dg/opt/pr36449.C *** gcc-4.3.2/gcc/testsuite/g++.dg/opt/pr36449.C Thu Jan 1 00:00:00 1970 --- gcc-4.3.3/gcc/testsuite/g++.dg/opt/pr36449.C Mon Sep 1 11:32:18 2008 *************** *** 0 **** --- 1,70 ---- + // PR middle-end/36449 + // { dg-do run } + // { dg-options "-O3" } + + extern "C" void exit (int); + extern "C" void abort (); + + struct R + { + short a; + short b; + }; + + struct S + { + R e; + long f; + long g; + }; + + struct T + { + short c; + short d; + }; + + struct U + { + long h[0x1ffffff + 1]; + T i; + }; + + U *j; + + void __attribute__((noinline)) + bar () + { + exit (0); + } + + void __attribute__((noinline)) + foo () + { + S s; + + s.e.a = 36; + s.e.b = 38; + if (s.e.a == j->i.c && s.e.b == j->i.d) + bar (); + } + + int + main () + { + try + { + j = new U; + } + catch (...) + { + return 0; + } + j->i.c = 36; + j->i.d = 38; + j->h[0] = 1; + j->h[1] = 2; + j->h[2] = 3; + foo (); + abort (); + } diff -Nrcpad gcc-4.3.2/gcc/testsuite/g++.dg/opt/reload3.C gcc-4.3.3/gcc/testsuite/g++.dg/opt/reload3.C *** gcc-4.3.2/gcc/testsuite/g++.dg/opt/reload3.C Thu Jan 1 00:00:00 1970 --- gcc-4.3.3/gcc/testsuite/g++.dg/opt/reload3.C Sun Nov 30 19:21:10 2008 *************** *** 0 **** --- 1,39 ---- + // PR target/38287 + // { dg-do run } + // { dg-options "-O2 -mcpu=v8 -fPIC" { target { { sparc*-*-* } && { ilp32 && fpic } } } } + + #include + + class QTime + { + public: + explicit QTime(int ms = 0) : ds(ms) {} + static QTime currentTime() { return QTime(); } + QTime addMSecs(int ms) const; + int msecs() const { return ds; } + private: + unsigned ds; + }; + + static const unsigned MSECS_PER_DAY = 86400000; + + QTime QTime::addMSecs(int ms) const + { + QTime t; + if ( ms < 0 ) { + // % not well-defined for -ve, but / is. + int negdays = (MSECS_PER_DAY-ms) / MSECS_PER_DAY; + t.ds = ((int)ds + ms + negdays*MSECS_PER_DAY) + % MSECS_PER_DAY; + } else { + t.ds = ((int)ds + ms) % MSECS_PER_DAY; + } + return t; + } + + int main() + { + if (QTime(1).addMSecs(1).msecs() != 2) + abort (); + return 0; + } diff -Nrcpad gcc-4.3.2/gcc/testsuite/g++.dg/other/anon5.C gcc-4.3.3/gcc/testsuite/g++.dg/other/anon5.C *** gcc-4.3.2/gcc/testsuite/g++.dg/other/anon5.C Sun Mar 30 23:23:43 2008 --- gcc-4.3.3/gcc/testsuite/g++.dg/other/anon5.C Tue Dec 2 22:11:55 2008 *************** *** 4,10 **** // problem is that mips*-elf tests run from KSEG0 (which is in the upper // half of the address range), and the linker compares sign-extended // addresses from .debug_aranges with unextended addresses. ! // { dg-do link { target { ! { hppa*-*-hpux* mips*-*-elf* } } } } // { dg-options "-g" } namespace { --- 4,10 ---- // problem is that mips*-elf tests run from KSEG0 (which is in the upper // half of the address range), and the linker compares sign-extended // addresses from .debug_aranges with unextended addresses. ! // { dg-do link { target { ! { hppa*-*-hpux* *-*-solaris2.* mips*-*-elf* } } } } // { dg-options "-g" } namespace { *************** namespace { *** 16,22 **** const bool &f() { ! return c::t; // { dg-error "undefined" } } int main(void) --- 16,24 ---- const bool &f() { ! return c::t; // { dg-error "undefined" "undefined" { target *-*-* } 0 } ! // Some targets report the error for the previous line, others ! // don't give line number information for it, so use line 0. } int main(void) diff -Nrcpad gcc-4.3.2/gcc/testsuite/g++.dg/other/new-size-type.C gcc-4.3.3/gcc/testsuite/g++.dg/other/new-size-type.C *** gcc-4.3.2/gcc/testsuite/g++.dg/other/new-size-type.C Thu Jan 1 00:00:00 1970 --- gcc-4.3.3/gcc/testsuite/g++.dg/other/new-size-type.C Thu Aug 28 14:49:25 2008 *************** *** 0 **** --- 1,10 ---- + // Contributed by Dodji Seketeli + // Origin: PR c++/36741 + + #include + const char* + foo() + { + return new char[~static_cast(0)];// { dg-bogus "large" } + } + diff -Nrcpad gcc-4.3.2/gcc/testsuite/g++.dg/other/vararg-3.C gcc-4.3.3/gcc/testsuite/g++.dg/other/vararg-3.C *** gcc-4.3.2/gcc/testsuite/g++.dg/other/vararg-3.C Thu Jan 1 00:00:00 1970 --- gcc-4.3.3/gcc/testsuite/g++.dg/other/vararg-3.C Thu Jan 15 22:34:20 2009 *************** *** 0 **** --- 1,16 ---- + // PR c++/31488: va_list considered non-POD on alpha + // { dg-do compile } + + typedef __builtin_va_list __gnuc_va_list; + typedef __gnuc_va_list va_list; + + extern int foo (int a, int b, ...); + + int bar (int a, int b, ...) + { + va_list args; + __builtin_va_start(args,b); + int result = foo (a, b, args); + __builtin_va_end(args); + return result; + } diff -Nrcpad gcc-4.3.2/gcc/testsuite/g++.dg/parse/crash45.C gcc-4.3.3/gcc/testsuite/g++.dg/parse/crash45.C *** gcc-4.3.2/gcc/testsuite/g++.dg/parse/crash45.C Thu Jan 1 00:00:00 1970 --- gcc-4.3.3/gcc/testsuite/g++.dg/parse/crash45.C Wed Sep 3 20:38:38 2008 *************** *** 0 **** --- 1,7 ---- + // PR c++/37348 + // { dg-do compile } + + struct A + { + template int f (B); // { dg-error "was not declared in this scope|cannot be a member template" } + }; diff -Nrcpad gcc-4.3.2/gcc/testsuite/g++.dg/parse/enum4.C gcc-4.3.3/gcc/testsuite/g++.dg/parse/enum4.C *** gcc-4.3.2/gcc/testsuite/g++.dg/parse/enum4.C Thu Jan 1 00:00:00 1970 --- gcc-4.3.3/gcc/testsuite/g++.dg/parse/enum4.C Tue Sep 9 20:23:08 2008 *************** *** 0 **** --- 1,10 ---- + // PR c++/37389 + // { dg-do compile } + // { dg-options "-std=gnu++98" } + + enum + { + A = 9223372036854775807ULL * 2 + 1, + B = B0, // { dg-error "was not declared|overflow" } + C = C0 // { dg-error "was not declared" } + }; diff -Nrcpad gcc-4.3.2/gcc/testsuite/g++.dg/parse/error32.C gcc-4.3.3/gcc/testsuite/g++.dg/parse/error32.C *** gcc-4.3.2/gcc/testsuite/g++.dg/parse/error32.C Thu Jan 1 00:00:00 1970 --- gcc-4.3.3/gcc/testsuite/g++.dg/parse/error32.C Tue Sep 30 19:56:13 2008 *************** *** 0 **** --- 1,12 ---- + /* PR c++/37555 */ + /* { dg-do "compile" } */ + + struct A {}; + + typedef void (A::T)(); /* { dg-error "typedef name may not be a nested-name-specifier" } */ + + void foo() + { + T t; + t; /* { dg-error "was not declared" } */ + } diff -Nrcpad gcc-4.3.2/gcc/testsuite/g++.dg/parse/struct-4.C gcc-4.3.3/gcc/testsuite/g++.dg/parse/struct-4.C *** gcc-4.3.2/gcc/testsuite/g++.dg/parse/struct-4.C Thu Jan 1 00:00:00 1970 --- gcc-4.3.3/gcc/testsuite/g++.dg/parse/struct-4.C Wed Oct 8 04:17:27 2008 *************** *** 0 **** --- 1,13 ---- + /* PR c/35437 */ + /* { dg-do "compile" } */ + + struct A + { + int i; + struct A a; /* { dg-error "has incomplete type" } */ + }; + + void foo() + { + struct A b = { 0 }; + } diff -Nrcpad gcc-4.3.2/gcc/testsuite/g++.dg/template/crash79.C gcc-4.3.3/gcc/testsuite/g++.dg/template/crash79.C *** gcc-4.3.2/gcc/testsuite/g++.dg/template/crash79.C Thu Jan 1 00:00:00 1970 --- gcc-4.3.3/gcc/testsuite/g++.dg/template/crash79.C Thu Nov 20 00:05:04 2008 *************** *** 0 **** --- 1,16 ---- + // Contributed by Dodji Seketeli + // Origin: PR c++/37142 + // { dg-do compile } + + template class W> struct A {}; + + template struct B {}; + + int + main () + { + A a; + return 0; + } + + diff -Nrcpad gcc-4.3.2/gcc/testsuite/g++.dg/template/crash84.C gcc-4.3.3/gcc/testsuite/g++.dg/template/crash84.C *** gcc-4.3.2/gcc/testsuite/g++.dg/template/crash84.C Thu Jan 1 00:00:00 1970 --- gcc-4.3.3/gcc/testsuite/g++.dg/template/crash84.C Wed Nov 19 22:36:31 2008 *************** *** 0 **** --- 1,19 ---- + // Contributed by Dodji Seketeli + // Origin PR c++/35405 + // { dg-do compile } + + template struct a + { + template