OSDN Git Service

gcc/testsuite:
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / ChangeLog
index 4febcdf..f0e66cf 100644 (file)
@@ -1,3 +1,441 @@
+2011-07-25  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
+
+       PR testsuite/49753
+       * g++.dg/torture/pr49309.C: Add -fpreprocessed to dg-options.
+
+       Revert:
+       2011-07-15  Jakub Jelinek  <jakub@redhat.com>
+
+       PR testsuite/49753
+       * g++.dg/torture/pr49309.C: Remove.
+
+2011-07-25  Richard Sandiford  <richard.sandiford@linaro.org>
+
+       PR tree-optimization/49809
+       * gnat.dg/opt18.adb, gnat.dg/opt18.ads, gnat.dg/opt18_pkg.ads: New
+       test.
+
+2011-07-25  Richard Guenther  <rguenther@suse.de>
+
+       PR tree-optimization/49715
+       * gcc.target/i386/pr49715-1.c: New testcase.
+       * gcc.target/i386/pr49715-2.c: Likewise.
+
+2011-07-23  Jason Merrill  <jason@redhat.com>
+
+       * g++.dg/cpp0x/decltype21.C: Add 49823 examples.
+
+2011-07-22  Jason Merrill  <jason@redhat.com>
+
+       PR c++/49793
+       * g++.dg/cpp0x/initlist55.C: New.
+
+2011-07-23  Tobias Burnus  <burnus@net-b.de>
+
+       PR fortran/49791
+       * gfortran.dg/namelist_72.f: New.
+
+2011-07-23  Tobias Burnus  <burnus@net-b.de>
+
+       * gfortran.dg/coarray_25.f90: New.
+
+2011-07-22  Ville Voutilainen  <ville.voutilainen@gmail.com>
+
+       * override1.C: This test should use c++0x mode.
+       * override3.C: New. Test the diagnostics in c++98 mode.
+
+2011-07-22  Jason Merrill  <jason@redhat.com>
+           Mark Glisse  <marc.glisse@normalesup.org>
+
+       PR c++/30112
+       * g++.dg/other/pragma-re-1.C: Add namespace cases.
+
+       PR c++/49813
+       * g++.dg/opt/builtins2.C: New.
+       * g++.dg/other/error27.C: Don't rely on __builtin.
+
+2011-07-22  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * gcc/testsuite/gcc.target/i386/avx-vzeroupper-16.c: Only run
+       on lp64 targets.
+       * gcc/testsuite/gcc.target/i386/avx-vzeroupper-17.c: Likewise.
+       * gcc/testsuite/gcc.target/i386/avx-vzeroupper-18.c: Likewise.
+       * gcc/testsuite/gcc.target/i386/pr43662.c: Likewise.
+       * gcc/testsuite/gcc.target/i386/pr43869.c: Likewise.
+
+       * gcc.target/x86_64/abi/callabi/callabi.exp: Check ilp32
+       instead of ia32.
+
+2011-07-22  Richard Guenther  <rguenther@suse.de>
+
+       PR tree-optimization/45819
+       * gcc.dg/pr45819.c: New testcase.
+
+2011-07-22  Uros Bizjak  <ubizjak@gmail.com>
+
+       * lib/target-supports.exp (check_ifunc_available): Rewrite.
+
+2011-07-21  Sebastian Pop  <sebastian.pop@amd.com>
+
+       PR middle-end/47654
+       PR middle-end/49649
+       * gcc.dg/graphite/run-id-pr47654.c: New.
+
+2011-07-21  Ian Lance Taylor  <iant@google.com>
+
+       PR middle-end/49705
+       * gcc.dg/pr49705.c: New test.
+
+2011-07-21  Uros Bizjak  <ubizjak@gmail.com>
+
+       * lib/target-supports.exp (check_avx_os_support_available): New.
+       (check_effective_target_avx_runtime): Use it.
+
+2011-07-21  Richard Guenther  <rguenther@suse.de>
+
+       PR tree-optimization/49770
+       * g++.dg/torture/pr49770.C: New testcase.
+
+2011-07-21  Kai Tietz  <ktietz@redhat.com>
+
+       * gcc.dg/tree-ssa/pr30978.c: adjusted.
+       * gcc.dg/tree-ssa/ssa-fre-6.c: Likewise.
+
+2011-07-21  Tobias Burnus  <burnus@net-b.de>
+
+       * gfortran.dg/coarray_lib_token_1.f90: New.
+
+2011-07-21  Georg-Johann Lay  <avr@gjlay.de>
+
+       * gcc.dg/pr32912-2.c: Skip for AVR.
+       * gcc.dg/pr44674.c: Add dg-require-profiling.
+
+2011-07-20  Jason Merrill  <jason@redhat.com>
+
+       * g++.dg/ext/desig2.C: New.
+
+2011-07-20  Michael Meissner  <meissner@linux.vnet.ibm.com>
+
+       * gcc.target/powerpc/ppc-fma-1.c: Adjust to allow non-VSX fmas to
+       be generated.
+       * gcc.target/powerpc/ppc-fma-2.c: Ditto.
+       * gcc.target/powerpc/recip-3.c: Ditto.
+
+2011-07-19  Jason Merrill  <jason@redhat.com>
+
+       PR c++/6709 (DR 743)
+       PR c++/42603 (DR 950)
+       * g++.dg/cpp0x/decltype21.C: New.
+
+2011-07-20  Richard Guenther  <rguenther@suse.de>
+
+       PR middle-end/18908
+       * gcc.dg/tree-ssa/pr18908.c: New testcase.
+       * gcc.dg/tree-ssa/bitwise-sink.c: Adjust.
+
+2011-07-20  Chung-Lin Tang  <cltang@codesourcery.com>
+
+       * gcc.target/arm/combine-movs.c: New.
+       * gcc.target/arm/unsigned-extend-2.c: New.
+
+2011-07-19  Jason Merrill  <jason@redhat.com>
+
+       PR c++/49785
+       * g++.dg/cpp0x/variadic114.C: New.
+
+2011-07-19  Tobias Burnus  <burnus@net-b.de>
+
+       * gfortran.dg/coarray_args_1.f90: New.
+       * gfortran.dg/coarray_args_2.f90: New.
+
+2011-07-19  Janus Weil  <janus@gcc.gnu.org>
+
+       PR fortran/49708
+       * gfortran.dg/allocate_error_3.f90: New.
+
+2011-07-19  Richard Guenther  <rguenther@suse.de>
+
+       * gcc.dg/tree-ssa/bool-10.c: Adjust expected pattern.
+       * gcc.dg/tree-ssa/bool-11.c: Likewise.
+       * gcc.dg/torture/20110719-1.c: New testcase.
+
+2011-07-19  Jakub Jelinek  <jakub@redhat.com>
+
+       PR tree-optimization/49768
+       * gcc.c-torture/execute/pr49768.c: New test.
+
+2011-07-19  Ira Rosen  <ira.rosen@linaro.org>
+
+       PR tree-optimization/49771
+       * gcc.dg/vect/pr49771.c: New test.
+
+2011-07-18  Martin Jambor  <mjambor@suse.cz>
+
+       * gcc.dg/ipa/ipa-1.c: Updated testcase dump scan.
+       * gcc.dg/ipa/ipa-2.c: Likewise.
+       * gcc.dg/ipa/ipa-3.c: Likewise and made functions static.
+       * gcc.dg/ipa/ipa-4.c: Updated testcase dump scan.
+       * gcc.dg/ipa/ipa-5.c: Likewise.
+       * gcc.dg/ipa/ipa-7.c: Likewise.
+       * gcc.dg/ipa/ipa-8.c: Updated testcase dump scan.
+       * gcc.dg/ipa/ipacost-1.c: Likewise.
+       * gcc.dg/ipa/ipacost-2.c: Likewise and increased sizes of some
+       functions.
+       * gcc.dg/ipa/ipcp-1.c: New test.
+       * gcc.dg/ipa/ipcp-2.c: Likewise.
+       * gcc.dg/tree-ssa/ipa-cp-1.c: Updated testcase.
+
+2011-07-18  Jakub Jelinek  <jakub@redhat.com>
+
+       PR middle-end/49675
+       * gfortran.dg/pr49675.f90: New test.
+
+2011-07-18  Richard Guenther  <rguenther@suse.de>
+
+       * gcc.dg/torture/20110718-1.c: New testcase.
+
+2011-07-18  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
+
+       * g++.dg/ext/bitfield2.C: Remove i?86-*-netware support.
+       * g++.dg/ext/bitfield3.C: Likewise.
+       * g++.dg/ext/bitfield4.C: Likewise.
+       * g++.dg/ext/bitfield5.C: Likewise.
+       * g++.dg/other/PR23205.C: Remove *-*-netware* support.
+       * g++.dg/other/pr23205-2.C: Likewise.
+       * gcc.c-torture/compile/20001109-1.c: Remove dg-xfail-if.
+       * gcc.c-torture/compile/20001109-2.c: Likewise.
+       * gcc.dg/20040813-1.c: Remove *-*-netware* support.
+       * gcc.dg/bitfld-15.c: Remove i?86-*-netware support.
+       * gcc.dg/bitfld-16.c: Likewise.
+       * gcc.dg/bitfld-17.c: Likewise.
+       * gcc.dg/bitfld-18.c: Likewise.
+       * gcc.dg/builtins-config.h: Remove Netware support.
+       * gcc.dg/cdce1.c: Remove *-*-netware* support.  Update line number.
+       * gcc.dg/cdce2.c: Likewise.
+       * gcc.dg/cpp/assert4.c: Remove netware support.
+       * gcc.dg/debug/pr35154.c: Remove *-*-netware* support.
+       * gfortran.dg/debug/pr35154-stabs.f: Remove *-*-netware* support.
+
+       * lib/target-supports.exp (check_visibility_available): Remove
+       NetWare support.
+       (check_profiling_available): Likewise.
+
+2011-07-18  Ira Rosen  <ira.rosen@linaro.org>
+
+       * gcc.dg/vect/pr49038.c: Run only on targets that support mmap.
+
+2011-07-17  Tobias Burnus  <burnus@net-b.de>
+           Thomas Koenig  <tkoenig@gcc.gnu.org>
+
+       PR fortran/34657
+       * gfortran.dg/generic_17.f90: Fix testcase.
+       * gfortran.dg/interface_3.f90: Add dg-error.
+       * gfortran.dg/use_14.f90: New.
+       * gfortran.dg/use_15.f90: New.
+
+2011-07-17  Eric Botcazou  <ebotcazou@adacore.com>
+
+       * gnat.dg/pointer_controlled.adb: New test.
+
+2011-07-17  Tobias Burnus  <burnus@net-b.de>
+
+       PR fortran/49624
+       * gfortran.dg/pointer_remapping_7.f90: New.
+
+2011-07-16  Jason Merrill  <jason@redhat.com>
+
+       * lib/prune.exp (prune_gcc_output): Prune "In substitution" too.
+
+2011-07-16  Nathan Froyd  <froydnj@codesourcery.com>
+           Jason Merrill  <jason@redhat.com>
+
+       PR c++/45329
+       PR c++/48934
+       * g++.dg/cpp0x/decltype29.C: Adjust.
+       * g++.dg/cpp0x/error4.C: Adjust.
+       * g++.dg/cpp0x/sfinae26.C: Adjust.
+       * g++.dg/cpp0x/variadic105.C: Adjust.
+       * g++.dg/template/deduce3.C: Adjust.
+       * g++.dg/template/error45.C: Adjust.
+       * g++.dg/template/ptrmem2.C: Adjust.
+       * g++.dg/template/sfinae2.C: Adjust.
+       * g++.old-deja/g++.pt/crash60.C: Adjust.
+       * g++.old-deja/g++.pt/unify6.C: Adjust.
+       * g++.dg/cpp0x/lambda/lambda-ice2.C: Adjust.
+       * g++.dg/cpp0x/nullptr15.C: Adjust.
+       * g++.dg/cpp0x/pr31431-2.C: Adjust.
+       * g++.dg/cpp0x/pr31431.C: Adjust.
+       * g++.dg/cpp0x/pr31434.C: Adjust.
+       * g++.dg/cpp0x/sfinae11.C: Adjust
+       * g++.dg/cpp0x/temp_default2.C: Adjust.
+       * g++.dg/cpp0x/trailing4.C: Adjust.
+       * g++.dg/cpp0x/variadic-ex3.C: Adjust.
+       * g++.dg/cpp0x/variadic-ex4.C: Adjust.
+       * g++.dg/cpp0x/variadic105.C: Adjust.
+       * g++.dg/cpp0x/vt-37737-2.C: Adjust.
+       * g++.dg/ext/vla2.C: Adjust.
+       * g++.dg/other/ptrmem10.C: Adjust.
+       * g++.dg/other/ptrmem11.C: Adjust.
+       * g++.dg/overload/unknown1.C: Adjust.
+       * g++.dg/template/conv11.C: Adjust.
+       * g++.dg/template/dependent-expr5.C: Adjust.
+       * g++.dg/template/friend.C: Adjust.
+       * g++.dg/template/incomplete2.C: Adjust.
+       * g++.dg/template/local4.C: Adjust.
+       * g++.dg/template/local6.C: Adjust.
+       * g++.dg/template/operator9.C: Adjust.
+       * g++.dg/template/ttp25.C: Adjust.
+       * g++.dg/template/unify10.C: Adjust.
+       * g++.dg/template/unify11.C: Adjust.
+       * g++.dg/template/unify6.C: Adjust.
+       * g++.dg/template/unify9.C: Adjust.
+       * g++.dg/template/varmod1.C: Adjust.
+       * g++.old-deja/g++.brendan/crash56.C: Adjust.
+       * g++.old-deja/g++.pt/crash28.C: Adjust.
+       * g++.old-deja/g++.pt/explicit41.C: Adjust.
+       * g++.old-deja/g++.pt/explicit77.C: Adjust.
+       * g++.old-deja/g++.pt/expr2.C: Adjust.
+       * g++.old-deja/g++.pt/ptrmem6.C: Adjust.
+       * g++.old-deja/g++.pt/spec5.C: Adjust.
+       * g++.old-deja/g++.pt/spec6.C: Adjust.
+       * g++.old-deja/g++.pt/unify4.C: Adjust.
+       * g++.old-deja/g++.pt/unify8.C: Adjust.
+       * g++.old-deja/g++.robertl/eb98.C: Adjust.
+       * g++.dg/overload/template5.C: New testcase.
+       * g++.dg/template/overload12.C: New testcase.
+
+2011-07-11  Tobias Burnus  <burnus@net-b.de>
+
+       * gfortran.dg/coarray_14.f90: Remove dg-error "sorry not implemented".
+       * gfortran.dg/coarray_7.f90: Ditto.
+       * gfortran.dg/coarray/scalar_alloc_1.f90: New.
+       * gfortran.dg/coarray/scalar_alloc_2.f90: New.
+
+2011-07-16  Bernd Schmidt  <bernds@codesourcery.com>
+
+       * gcc.c-torture/execute/ieee/mul-subnormal-single-1.x: Add tic6x-*-*
+       case.
+       * gcc.c-torture/execute/ieee/20000320-1.x: Likewise.
+       * gcc.c-torture/execute/ieee/hugeval.x: Likewise.
+       * gcc.c-torture/execute/ieee/mzero2.c: Comment out the divide tests for
+       C67X.
+       * gcc.c-torture/execute/ieee/pr29302.x: New file.
+       * gcc.dg/torture/type-generic-1.c: Add -DUNSAFE for tic6x-*-*.
+       * gcc.dg/torture/builtin-math-7.c: Add a comment.
+
+2011-07-15  Jason Merrill  <jason@redhat.com>
+
+       PR testsuite/49741
+       * lib/g++.exp (${tool}_option_help, ${tool}_option_proc): Restore.
+       Use --extra_opts instead of --additional_options.
+
+2011-07-15  Jakub Jelinek  <jakub@redhat.com>
+
+       PR testsuite/49753
+       * g++.dg/torture/pr49309.C: Remove.
+
+2011-07-15  Bernd Schmidt  <bernds@codesourcery.com>
+
+       * gcc.target/tic6x/weak-call.c: New test.
+       * gcc.target/tic6x/fpcmp.c: New test.
+       * gcc.target/tic6x/fpdiv.c: New test.
+       * gcc.target/tic6x/rotdi16-scan.c: New test.
+       * gcc.target/tic6x/ffssi.c: New test.
+       * gcc.target/tic6x/fpdiv-lib.c: New test.
+       * gcc.target/tic6x/cold-lc.c: New test.
+       * gcc.target/tic6x/longcalls.c: New test.
+       * gcc.target/tic6x/abi-align-1.c: New test.
+       * gcc.target/tic6x/fpcmp-finite.c: New test.
+       * gcc.target/tic6x/rotdi16.c: New test.
+       * gcc.target/tic6x/bswapl.c: New test.
+       * gcc.target/tic6x/ffsdi.c: New test.
+       * gcc.target/tic6x/tic6x.exp: New file.
+       * gcc.target/tic6x/builtins/arith24.c: New test.
+       * gcc.target/tic6x/builtins/smpy.c: New test.
+       * gcc.target/tic6x/builtins/smpylh.c: New test.
+       * gcc.target/tic6x/builtins/smpyh.c: New test.
+       * gcc.target/tic6x/builtins/sarith1.c: New test.
+       * gcc.target/tic6x/builtins/extclr.c: New test
+       * gcc.target/tic6x/builtins/c6x-builtins.exp: New file.
+       * gcc.target/tic6x/builtin-math-7.c: New test, adapted from gcc.dg.
+       * lib/target-supports.exp (chck_profiling_available): Not on tic6x.
+       (check_effective_target_ti_c67x, check_effective_target_ti_c64xp):
+       New functions.
+       * gcc.c-torture/execute/20101011-1.c: Add a condition for
+       __TMS320C6X__.
+       * gcc.dg/20020312-2.c: Likewise.
+       * gcc.dg/pr27095.c: Handle tic6x like hppa.
+       * gcc.dg/torture/pr37868.c: Skip on tic6x.
+       * gcc.dg/torture/builtin-math-7.c: Likewise.
+
+       PR testsuite/49757
+       * gcc.target/tic6x/builtins/c6x-builtins.exp: Return if
+       not testing tic6x-*-*.
+
+2011-07-14  Andrew Pinski  <pinskia@gmail.com>
+
+       PR tree-opt/49309
+       * g++.dg/torture/pr49309.C: New testcase.
+
+2011-07-14  Bernd Schmidt  <bernds@codesourcery.com>
+
+       * gcc.dg/pr48770.c: Add dg-require-effective-target fpic.
+
+2011-07-14  Richard Guenther  <rguenther@suse.de>
+
+       PR tree-optimization/49651
+       * gcc.dg/torture/pr49651.c: New testcase.
+
+2011-07-14  Georg-Johann Lay  <avr@gjlay.de>
+
+       PR target/43746
+       * gcc.dg/array-quals-1.c: Don't xfail on AVR.
+
+2011-07-13  Michael Meissner  <meissner@linux.vnet.ibm.com>
+
+       * gcc.target/powerpc/no-r11-1.c: Change -mno-r11 to
+       -mno-pointers-to-nested-functions.
+       * gcc.target/powerpc/no-r11-2.c: Ditto.
+       * gcc.target/powerpc/no-r11-3.c: Ditto.
+
+2011-07-13  Jason Merrill  <jason@redhat.com>
+
+       * lib/g++.exp (${tool}_option_help, ${tool}_option_proc): Remove.
+       * lib/lto.exp (lto_prune_warns): Prune warning about -std=c++0x
+       when compiling C files.
+       * g++.dg/debug/dwarf2/lineno-simple1.C: Avoid constexpr ctor.
+       * g++.dg/debug/dwarf2/pr44641.C: Avoid constexpr ctor.
+       * g++.dg/ext/utf-dflt.C: Specify -std=c++98.
+       * g++.dg/lookup/anon2.C: Likewise.
+       * g++.dg/tree-ssa/copyprop.C: Likewise.
+       * g++.old-deja/g++.jason/rfg27.C: Likewise.
+       * g++.dg/init/vector1.C: Ignore narrowing errors.
+       * g++.dg/torture/pr35526.C: Likewise.
+       * g++.old-deja/g++.ext/arrnew.C: Prune C++0x warning.
+
+2011-07-13  Janne Blomqvist  <jb@gcc.gnu.org>
+
+       PR libfortran/49296
+       * gfortran.dg/read_list_eof_1.f90: Add tests for integer, real,
+       and logical reads.
+
+2011-07-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
+
+       * gcc.c-torture/execute/990127-2.x: Use -mpc64 on i?86-*-darwin*,
+       i?86-*-solaris2*, x86_64-*-darwin*, x86_64-*-solaris2*.
+
+2011-07-13  Uros Bizjak  <ubizjak@gmail.com>
+
+       * lib/g++.exp (g++_init):  Use istarget.  Remove target_triplet global.
+       * lib/obj-c++.exp (obj-c++_init): Ditto.
+       * lib/file-format.exp (gcc_target_object_format): Ditto.
+       * lib/target-supports-dg.exp (dg-require-dll): Ditto.
+       * lib/target-supports-dg-exp (check_weak_available): Ditto.
+       (check_visibility_available): Ditto.
+       (check_effective_target_tls_native): Ditto.
+       (check_effective_target_tls_emulated): Ditto.
+       (check_effective_target_function_sections): Ditto.
+
 2011-07-13  Chung-Lin Tang  <cltang@codesourcery.com>
 
        * gcc.target/arm/pr48183.c: New test.
 
 2011-07-11  H.J. Lu  <hongjiu.lu@intel.com>
 
-       * gcc.dg/vect/costmodel/x86_64/x86_64-costmodel-vect.exp: Check
-       ia32.
+       * gcc.dg/vect/costmodel/x86_64/x86_64-costmodel-vect.exp: Check ia32.
        * go.test/go-test.exp (go-set-goarch): Likewise.
 
 2011-07-11  Georg-Johann Lay  <avr@gjlay.de>
-       
+
        PR target/39633
        * gcc.target/avr/torture/pr39633.c: New test case.
 
        * gfortran.dg/coarray_lock_3.f90: Remove bogus dg-error.
 
 2011-07-11  Georg-Johann Lay  <avr@gjlay.de>
-       
+
        * lib/target-supports.exp (check_effective_target_scheduling):
        New Function.
        * gcc.dg/pr46614.c: Add dg-require-effective-target scheduling.
        * g++.dg/pr45056.C: Ditto.
 
 2011-07-11  Georg-Johann Lay  <avr@gjlay.de>
-       
+
        * gcc.dg/compat/struct-by-value-16_main.c: Skip AVR.
        * gcc.dg/compat/struct-by-value-17_main.c: Skip AVR.
        * gcc.dg/compat/struct-by-value-18_main.c: Skip AVR.
        * gcc.dg/debug/pr49522.c: New test.
 
 2011-07-07  Georg-Johann Lay  <avr@gjlay.de>
-       
+
        * gcc.dg/pragma-align.c: Run only if target !default_packed.
        * gcc.dg/pr46212.c: Run only if target int32plus.
        * gcc.dg/torture/pr48146.c: Ditto.