OSDN Git Service

* lib/gcc-simulate-thread.exp (simulate-thread): Do not run on
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / ChangeLog
index 66e56ee..9f151d1 100644 (file)
-2011-11-07  Enkovich Ilya  <ilya.enkovich@intel.com>
+2011-11-12  Uros Bizjak  <ubizjak@gmail.com>
 
-       PR target/50962
-       * config/i386/i386-protos.h (ix86_use_lea_for_mov): New.
-       * config/i386/i386.c (ix86_use_lea_for_mov): Likewise.
-       * config/i386/i386.md (movsi_internal): Emit lea if profitable.
-       (movdi_internal_rex64): Likewise.
+       * lib/gcc-simulate-thread.exp (simulate-thread): Do not run on
+       alpha*-*-linux* targets.
+
+2011-11-12  Iain Sandoe  <iains@gcc.gnu.org>
+
+       PR testsuite/51059
+       * gcc.misc-tests/gcov-14.c (dg-options): Force flat namespace for
+       Darwin targets and allow external symbols to be undefined.
+
+2011-11-12  Nathan Sidwell  <nathan@acm.org>
+
+       * gcc.misc-tests/gcov-15.c: New.
+
+2011-11-11  Jakub Jelinek  <jakub@redhat.com>
+
+       PR tree-optimization/51058
+       * gcc.dg/vect/fast-math-vect-call-1.c: Add f4 test.
+       * gfortran.dg/vect/pr51058-2.f90: New test.
+
+2011-11-10  Jason Merrill  <jason@redhat.com>
+
+       * g++.dg/template/linkage1.C: New.
+       * g++.dg/ext/visibility/anon8.C: Adjust for C++11.
+       * g++.old-deja/g++.other/linkage4.C: Likewise.
+
+       PR c++/50973
+       * g++.dg/cpp0x/defaulted33.C: New.
+
+2011-11-10  Andrew MacLeod  <amacleod@redhat.com>
+
+       PR middle-end/51038
+       * gcc.dg/atomic-invalid.c: Add test for invalid __atomic_clear models.
+       * gcc.dg/atomic-flag.c: New.  Test __atomic_test_and_set and
+       __atomic_clear.
+
+2011-11-10  Andrew MacLeod  <amacleod@redhat.com>
+
+       PR rtl-optimization/51040
+       * testsuite/gcc.dg/atomic-noinline[-aux].c: Test no-inline NAND and
+       patchup code.
+
+2011-11-10  Jason Merrill  <jason@redhat.com>
+
+       PR c++/51079
+       * g++.dg/template/conv12.C: New.
+
+       PR debug/50983
+       * gcc.dg/debug/dwarf2/asm-line1.c: New.
+
+2011-11-10  Eric Botcazou  <ebotcazou@adacore.com>
+
+       * gnat.dg/atomic6_1.adb: New test.
+       * gnat.dg/atomic6_2.adb: Likewise.
+       * gnat.dg/atomic6_3.adb: Likewise.
+       * gnat.dg/atomic6_4.adb: Likewise.
+       * gnat.dg/atomic6_5.adb: Likewise.
+       * gnat.dg/atomic6_6.adb: Likewise.
+       * gnat.dg/atomic6_7.adb: Likewise.
+       * gnat.dg/atomic6_8.adb: Likewise.
+       * gnat.dg/atomic6_pkg.ads: New helper.
+
+2011-11-10  Jakub Jelinek  <jakub@redhat.com>
+
+       PR middle-end/51077
+       * gcc.c-torture/compile/pr51077.c: New test.
+
+       PR rtl-optimization/51023
+       * gcc.c-torture/execute/pr51023.c: New test.
+
+2011-11-10  Richard Guenther  <rguenther@suse.de>
+
+       PR tree-optimization/51042
+       * gcc.dg/torture/pr51042.c: New testcase.
+
+2011-11-10  Richard Guenther  <rguenther@suse.de>
+
+       PR tree-optimization/51070
+       * gcc.dg/torture/pr51070.c: New testcase.
+
+2011-11-10  Richard Guenther  <rguenther@suse.de>
+
+       PR tree-optimization/51030
+       * gcc.dg/tree-ssa/phi-opt-6.c: New testcase.
+
+2011-11-10  Richard Guenther  <rguenther@suse.de>
+
+       PR middle-end/51071
+       * gcc.dg/torture/pr51071.c: New testcase.
+
+2011-11-10  Eric Botcazou  <ebotcazou@adacore.com>
+
+       * gnat.dg/loop_optimization9.ad[sb]: New test.
+
+2011-11-10  Ira Rosen  <ira.rosen@linaro.org>
+
+       PR tree-optimization/51058
+       * gfortran.dg/vect/pr51058.f90: New test.
+
+2011-11-10  Jakub Jelinek  <jakub@redhat.com>
+
+       PR tree-optimization/51000
+       * gcc.dg/vect/pr51000.c: New test.
+
+2011-11-09  Paolo Carlini  <paolo.carlini@oracle.com>
+
+       PR c++/50837
+       * g++.dg/cpp0x/static_assert5.C: New.
+       * g++.dg/template/nontype13.C: Tweak.
+
+2011-11-09  Jason Merrill  <jason@redhat.com>
+
+       PR c++/50972
+       * g++.dg/cpp0x/noexcept16.C: New.
+
+       PR c++/51046
+       * g++.dg/cpp0x/variadic119.C: New.
+
+2011-11-09  Jakub Jelinek  <jakub@redhat.com>
+
+       PR target/50911
+       * gcc.dg/torture/vshuf-16.inc: Add interleave low and high
+       permutations.
+       * gcc.dg/torture/vshuf-32.inc: Likewise.
+       * gcc.dg/torture/vshuf-4.inc: Likewise.
+       * gcc.dg/torture/vshuf-8.inc: Likewise.
+
+       * gcc.dg/tm/memopt-1.c: Fix up regexp.
+
+2011-11-09  Ian Lance Taylor  <iant@google.com>
+
+       * lib/target-supports.exp (check_effective_target_ucontext_h): New
+       procedure.
+       * gcc.dg/split-5.c: New test.
+
+2011-11-09  Patrick Marlier  <patrick.marlier@gmail.com>
+
+       * gcc.dg/tm/memopt-1.c:  Adjust regexp.
+
+2011-11-09  Jason Merrill  <jason@redhat.com>
+
+       PR c++/51029
+       * g++.dg/template/virtual1.C: New.
+
+2011-11-08  Jason Merrill  <jason@redhat.com>
+
+       Run most C++ tests in both C++98 and C++11 modes.
+       * lib/target-supports.exp (check_effective_target_c++11): New.
+       (check_effective_target_c++98): New.
+       * lib/g++-dg.exp (g++-dg-runtest): New.
+       * g++.dg/dg.exp: Use g++-dg-runtest.
+       * g++.dg/charset/charset.exp: Likewise.
+       * g++.dg/debug/dwarf2/dwarf2.exp: Likewise.
+       * g++.dg/dfp/dfp.exp: Likewise.
+       * g++.dg/gcov/gcov.exp: Likewise.
+       * g++.dg/gomp/gomp.exp: Likewise.
+       * g++.dg/graphite/graphite.exp: Likewise.
+       * g++.dg/tls/tls.exp: Likewise.
+       * g++.dg/tm/tm.exp: Likewise.
+       * g++.dg/vect/vect.exp: Likewise.
+       * g++.old-deja/old-deja.exp: Likewise.
+       * g++.dg/simulate-thread/simulate-thread.exp: Pass -std flags
+       with some of the torture options.
+       * g++.dg/abi/mangle4.C: Move to template/nontype25.C.
+       * g++.dg/template/sfinae6_neg.C: Add C++11 error.
+       * g++.dg/init/null1.C: Only run in C++98.
+       * g++.dg/warn/Wconversion-null-3.C: Likewise.
+       * g++.old-deja/g++.benjamin/p12475.C: Likewise.
+       * g++.old-deja/g++.brendan/crash64.C: Likewise.
+       * g++.old-deja/g++.other/anon9.C: Likewise.
+       * g++.old-deja/g++.other/linkage1.C: Likewise.
+       * g++.old-deja/g++.other/linkage2.C: Likewise.
+       * g++.old-deja/g++.pt/t29.C: Likewise.
+       * g++.old-deja/g++.pt/t30.C: Likewise.
+       * g++.dg/cpp0x/variadic60.C: Only error in C++98.
+       * g++.dg/ext/anon-struct4.C: Likewise.
+       * g++.dg/init/brace2.C: Likewise.
+       * g++.dg/init/brace6.C: Likewise.
+       * g++.dg/other/anon3.C: Likewise.
+       * g++.dg/template/arg2.C: Likewise.
+       * g++.old-deja/g++.brendan/cvt1.C: Likewise.
+       * g++.old-deja/g++.brendan/enum11.C: Likewise.
+       * g++.old-deja/g++.brendan/enum8.C: Likewise.
+       * g++.old-deja/g++.brendan/enum9.C: Likewise.
+       * g++.old-deja/g++.brendan/friend3.C: Likewise.
+       * g++.old-deja/g++.brendan/init2.C: Likewise.
+       * g++.old-deja/g++.brendan/init4.C: Likewise.
+       * g++.old-deja/g++.brendan/misc14.C: Likewise.
+       * g++.old-deja/g++.jason/cond.C: Likewise.
+       * g++.old-deja/g++.law/init1.C: Likewise.
+       * g++.old-deja/g++.law/operators32.C: Likewise.
+       * g++.old-deja/g++.pt/enum6.C: Likewise.
+       * g++.old-deja/g++.pt/explicit70.C: Likewise.
+       * g++.old-deja/g++.pt/ptrmem6.C: Likewise.
+
+       * g++.dg/eh/new1.C: Adjust for C++11 mode.
+       * g++.dg/init/new11.C: Likewise.
+       * g++.dg/init/pr29571.C: Likewise.
+       * g++.dg/lookup/forscope2.C: Likewise.
+       * g++.dg/parse/linkage1.C: Likewise.
+       * g++.dg/parse/typedef8.C: Likewise.
+       * g++.dg/template/error44.C: Likewise.
+       * g++.dg/tls/diag-2.C: Likewise.
+       * g++.dg/tls/diag-4.C: Likewise.
+       * g++.dg/warn/anonymous-namespace-3.C: Likewise.
+       * g++.old-deja/g++.abi/arraynew.C: Likewise.
+       * g++.old-deja/g++.abi/cxa_vec.C: Likewise.
+       * g++.old-deja/g++.brendan/new3.C: Likewise.
+       * g++.old-deja/g++.eh/new1.C: Likewise.
+       * g++.old-deja/g++.eh/new2.C: Likewise.
+       * g++.old-deja/g++.jason/new.C: Likewise.
+       * g++.old-deja/g++.law/friend1.C: Likewise.
+       * g++.old-deja/g++.mike/net46.C: Likewise.
+       * g++.old-deja/g++.mike/p755.C: Likewise.
+       * g++.old-deja/g++.other/new6.C: Likewise.
+
+       * g++.dg/cpp0x/variadic74.C: Adjust diags.
+       * g++.dg/template/crash53.C: Likewise.
+       * g++.dg/template/void9.C: Likewise.
+
+2011-11-09  Paolo Carlini  <paolo.carlini@oracle.com>
+
+       PR c++/51045
+       * g++.dg/warn/Wzero-as-null-pointer-constant-2.C: New.
+
+2011-11-09  Paolo Carlini  <paolo.carlini@oracle.com>
+
+       PR c++/51047
+       * g++.dg/cpp0x/sfinae29.C: New.
+
+2011-11-09  Janus Weil  <janus@gcc.gnu.org>
+
+       PR fortran/50960
+       * gfortran.dg/typebound_call_22.f03: New test case.
+
+2011-11-09  Janne Blomqvist  <jb@gcc.gnu.org>
+
+        PR libfortran/50016
+        * gfortran.dg/inquire_size.f90: Don't flush the unit.
+
+2011-11-09  Richard Guenther  <rguenther@suse.de>
+
+       PR tree-optimization/51039
+       * gcc.dg/pr51039.c: New testcase.
+
+2011-11-09  Jakub Jelinek  <jakub@redhat.com>
+
+       * lib/target-supports.exp (check_effective_target_vect_cond_mixed):
+       Enable also for powerpc*-*-*.
+
+2011-11-09  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
+
+       PR fortran/50540
+       * gfortran.dg/forall_16.f90: New test.
+
+2011-11-09  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
+
+       PR fortran/38718
+       * gfortran.dg/initialization_29.f90: Expand test.
+
+2011-11-09  Dodji Seketeli  <dodji@redhat.com>
+
+       PR c++/51027
+       * g++.dg/cpp0x/alias-decl-12.C: New test.
+       * g++.dg/ext/alias-decl-attr4.C: Append missing ';'.
+
+2011-11-09  Dodji Seketeli  <dodji@redhat.com>
+
+       PR debug/51032
+       * g++.dg/cpp0x/alias-decl-debug-0.C: New test.
+
+2011-11-09  Ira Rosen  <ira.rosen@linaro.org>
+
+       PR tree-optimization/51015
+       * gcc.dg/vect/pr51015.c: New test.
+
+2011-11-08  David S. Miller  <davem@davemloft.net>
+
+       * lib/target-supports.exp (check_effective_target_sparc_vis): New.
+       (check_effective_target_vect_cmdline_needed): Use it when sparc*-*-*
+
+2011-11-08  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
+
+       PR fortran/50404
+       * gfortran.dg/io_constraints_3.f90: Improve testcase.
+
+2011-11-08  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
+
+       PR fortran/50409
+       * gfortran.dg/string_5.f90: Improve testcase.
+
+2011-10-23  Jason Merrill  <jason@redhat.com>
+
+       PR c++/50835
+       * g++.dg/template/lvalue2.C: New.
+
+2011-11-08  Michael Matz  <matz@suse.de>
+
+       * gcc.dg/tree-ssa/20031015-1.c: Adjust.
+       * g++.dg/tree-ssa/ehcleanup-1.C: Ditto.
+       * g++.dg/eh/builtin1.C: Rewrite to not use local variables.
+       * g++.dg/eh/builtin2.C: Ditto.
+       * g++.dg/eh/builtin3.C: Ditto.
+
+2011-11-08  Jakub Jelinek  <jakub@redhat.com>
+
+       * gcc.target/i386/avx-cvt-2.c: Adjust for 32-byte integer vectors
+       being prefered even for -mavx.
+       * gcc.target/i386/avx-cvt-3.c: New test.
+
+2011-11-08  Richard Guenther  <rguenther@suse.de>
+
+       PR tree-optimization/51012
+       * gcc.dg/pr51012-1.c: New testcase.
+       * gcc.dg/pr51012-2.c: Likewise.
+
+2011-11-08  Richard Guenther  <rguenther@suse.de>
+
+       PR middle-end/51010
+       * c-c++-common/uninit-pr51010.c: New testcase.
+
+2011-11-08  Jakub Jelinek  <jakub@redhat.com>
+
+       * lib/target-supports.exp (check_effective_target_vect_call_sqrtf,
+       check_effective_target_vect_call_copysignf,
+       check_effective_target_vect_call_lrint): New procedures.
+       * gcc.dg/vect/vect.exp: Run fast-math-bb-slp* tests using
+       $VECT_SLP_CFLAGS with -ffast-math.
+       * gcc.dg/vect/fast-math-vect-call-1.c: New test.
+       * gcc.dg/vect/fast-math-vect-call-2.c: New test.
+       * gcc.dg/vect/fast-math-bb-slp-call-1.c: New test.
+       * gcc.dg/vect/fast-math-bb-slp-call-2.c: New test.
+
+2011-11-07  Richard Henderson  <rth@redhat.com>
+           Aldy Hernandez  <aldyh@redhat.com>
+           Torvald Riegel  <triegel@redhat.com>
+
+       Merged from transactional-memory.
+
+       * g++.dg/dg.exp: Run transactional memory tests.
+       * g++.dg/tm: New directory with new tests.
+       * gcc.dg/tm: New directory with new tests.
+       * c-c++-common/tm: New directory with new tests.
+
+2011-11-08  Dodji Seketeli  <dodji@redhat.com>
+
+       Fix context handling of alias-declaration
+       * g++.dg/cpp0x/alias-decl-11.C: New test.
+
+2011-11-08  Paolo Carlini  <paolo.carlini@oracle.com>
+
+       PR c++/50864
+       * g++.dg/parse/template26.C: New.
+       * g++.dg/template/crash45.C: Adjust dg-error string.
+
+2011-11-07  Jason Merrill  <jason@redhat.com>
+
+       PR c++/50848
+       * g++.dg/template/lookup9.C: New.
+
+       PR c++/50863
+       * g++.dg/cpp0x/lambda/lambda-initlist1.C: New.
+
+       PR c++/50870
+       * g++.dg/cpp0x/decltype35.C: New.
+
+2011-11-07  Dodji Seketeli  <dodji@redhat.com>
+
+       Support C++11 alias-declaration
+       PR c++/45114
+       * g++.dg/cpp0x/alias-decl-0.C: New test case.
+       * g++.dg/cpp0x/alias-decl-1.C: Likewise.
+       * g++.dg/cpp0x/alias-decl-3.C: Likewise.
+       * g++.dg/cpp0x/alias-decl-4.C: Likewise.
+       * g++.dg/cpp0x/alias-decl-6.C: Likewise.
+       * g++.dg/cpp0x/alias-decl-7.C: Likewise.
+       * g++.dg/cpp0x/alias-decl-8.C: Likewise.
+       * g++.dg/cpp0x/alias-decl-9.C: Likewise.
+       * g++.dg/cpp0x/alias-decl-10.C: Likewise.
+       * g++.dg/ext/alias-decl-attr1.C: Likewise.
+       * g++.dg/ext/alias-decl-attr2.C: Likewise.
+       * g++.dg/ext/alias-decl-attr3.C: Likewise.
+       * g++.dg/ext/alias-decl-attr4.C: Likewise.
+
+2011-11-07  Eric Botcazou  <ebotcazou@adacore.com>
+
+       * gcc.dg/pragma-align-2.c: Compile with -std=gnu99.
+
+2011-11-07  Janus Weil  <janus@gcc.gnu.org>
+
+       PR fortran/50919
+       * gfortran.dg/typebound_call_21.f03: New.
+
+2011-11-07  Nathan Sidwell  <nathan@acm.org>
+
+       * gcc.dg/profile-dir-1.c: Adjust final scan.
+       * gcc.dg/profile-dir-2.c: Adjust final scan.
+       * gcc.dg/profile-dir-3.c: Adjust final scan.
+       * gcc.misc-tests/gcov.exp: Adjust regexp.
+       * gcc.misc-tests/gcov-12.c: New.
+       * gcc.misc-tests/gcov-13.c: New.
+       * gcc.misc-tests/gcovpart-13b.c: New.
+       * gcc.misc-tests/gcov-14.c: New.
+
+2011-11-07  Jason Merrill  <jason@redhat.com>
+
+       PR c++/35688
+       * g++.dg/ext/visibility/template8.C: New.
+
+2011-11-07  Jakub Jelinek  <jakub@redhat.com>
+
+       PR tree-optimization/50789
+       * gcc.target/i386/avx2-gather-1.c: New test.
+       * gcc.target/i386/avx2-gather-2.c: New test.
+       * gcc.target/i386/avx2-gather-3.c: New test.
+       * gcc.target/i386/avx2-gather-4.c: New test.
+
+2011-11-07  Uros Bizjak  <ubizjak@gmail.com>
+
+       * gcc.target/i386/pr49781-1.c (dg-options): Add -mtune=generic.
+
+2011-11-07  Janne Blomqvist  <jb@gcc.gnu.org>
+
+        PR libfortran/45723
+        * gfortran.dg/open_dev_null.f90: Remove testcase.
+
+2011-11-07  Uros Bizjak  <ubizjak@gmail.com>
+
+       * lib/target-supports.exp (check_effective_target_sync_int_128):
+       Don't cache the result.
+       (check_effective_target_sync_long_long): Ditto.
 
 2011-11-07  Sergey Ostanevich  <sergos.gnu@gmail.com>