OSDN Git Service

Fix context handling of alias-declaration
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / ChangeLog
index 02f400e..a62b11c 100644 (file)
@@ -1,3 +1,274 @@
+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>
+
+       PR rtl-optimization/47698
+       * gcc.target/i386/47698.c: New test.
+
+2011-11-06  Jason Merrill  <jason@redhat.com>
+
+       PR c++/35688
+       * g++.dg/ext/visibility/template7.C: New.
+
+2011-11-07  Terry Guo  <terry.guo@arm.com>
+
+       * gcc.target/arm/wmul-1.c: Adjust optimization level.
+       * gcc.target/arm/wmul-2.c: Ditto.
+       * gcc.target/arm/wmul-3.c: Ditto.
+       * gcc.target/arm/wmul-4.c: Ditto.
+
+2011-11-06  Joseph Myers  <joseph@codesourcery.com>
+
+       * g++.dg/cpp0x/alignof3.C, gcc.dg/c1x-align-1.c,
+       gcc.dg/c1x-align-2.c, gcc.dg/c1x-align-3.c, gcc.dg/c1x-align-4.c,
+       gcc.dg/c90-align-1.c, gcc.dg/c99-align-1.c: New tests.
+       * gcc.dg/gnu89-const-expr-1.c, gcc.dg/gnu90-const-expr-1.c,
+       gcc.dg/gnu99-const-expr-1.c, gcc.dg/gnu99-static-1.c: Update
+       expected diagnostics.
+
+2011-11-06  Andrew MacLeod  <amacleod@redhat.com>
+           Richard Henderson  <rth@redhat.com>
+           Aldy Hernandez  <aldyh@redhat.com>
+
+       Merged from cxx-mem-model.
+
+       * lib/target-supports.exp (check_effective_target_sync_int_128,
+       check_effective_target_sync_long_long): Check whether the target
+       supports 64 and 128 bit __sync builtins.
+       (check_effective_target_cas_char): New.
+       (check_effective_target_cas_int): New.
+       * gcc.dg/dg.exp: Exclude simulate-thread tests.
+       * gcc.dg/atomic-noinline[-aux].c: New.  Make a variety of atomics calls.
+       * gcc.dg/atomic-generic[-aux].c: New. Test that generic functions
+       produce the expected library calls.
+       * gcc.dg/atomic-fence.c: New functional tests.
+       * gcc.dg/atomic-param.c: New.  Checl for illegal number of parameters.
+       * gcc.dg/atomic-invalid.c: New.  Test invalid parameters.
+       * gcc.dg/atomic-lockfree[-aux].c: New tests.
+       * gcc.dg/atomic-compare-exchange-{1-5}.c: New functional tests.
+       * gcc.dg/atomic-op-[1-5].c: New.  Test atomic fetch functionality.
+       * gcc.dg/atomic-exchange-{1-5}.c: New functional tests.
+       * gcc.dg/atomic-load-{1-5}.c: New functional tests.
+       * gcc.dg/atomic-store-{1-5}.c: New functional tests.
+       * gcc.dg/simulate-thread/atomic-load-int128.c: New. Verify int128 loads
+       are atomic.
+       * gcc.dg/simulate-thread/atomic-load-longlong.c: New. Verify 8 byte
+       loads are atomic.
+       * gcc.dg/simulate-thread/atomic-load-int.c: New. Verify 4 byte loads
+       are atomic.
+       * gcc.dg/simulate-thread/atomic-load-short.c: New. Verify 2 byte loads
+       are atomic.
+       * gcc.dg/simulate-thread/atomic-other-int128.c: New. Verify other
+       int128 operations are atomic.
+       * gcc.dg/simulate-thread/atomic-other-int.c: New. Verify other 4 byte
+       operations are atomic.
+       * gcc.dg/simulate-thread/atomic-other-longlong.c: New. Verify 8 byte
+       operations are atomic.
+       * gcc.dg/simulate-thread/atomic-other-short.c: New. Verify other 2 byte
+       operations are atomic.
+       * gcc.dg/simulate-thread/speculative-store.c: New. Verify speculative
+       stores aren't moved out of a loop.
+       * gcc.dg/simulate-thread/strict-align-global.c: New. Verify small
+       globals don't overwrite neighbouring globals.
+       * gcc.dg/simulate-thread/subfields.c: New. Verify struct component
+       writes dont overwrite neighbouring components.
+       * c-c++-common/gomp/atomic-10.c: Use cas_int; match __atomic builtin.
+       * c-c++-common/gomp/atomic-3.c: Likewise.
+       * c-c++-common/gomp/atomic-9.c: Likewise.
+       * gcc.dg/gomp/atomic-1.c, gcc.dg/gomp/atomic-2.c,
+       gcc.dg/gomp/atomic-3.c, gcc.dg/gomp/atomic-4.c, gcc.dg/gomp/atomic-7.c,
+       gcc.dg/gomp/atomic-8.c, gcc.dg/gomp/atomic-9.c,
+       gcc.dg/gomp/atomic-10.c, gcc.dg/gomp/atomic-12.c,
+       gcc.dg/gomp/atomic-13.c, gcc.dg/gomp/atomic-14.c,
+       gcc.dg/gomp/atomic-15.c: Move to c-c++-common/gomp/.
+       * g++.dg/gomp/atomic-1.C, g++.dg/gomp/atomic-2.C,
+       g++.dg/gomp/atomic-3.C, g++.dg/gomp/atomic-4.C, g++.dg/gomp/atomic-7.C,
+       g++.dg/gomp/atomic-8.C, g++.dg/gomp/atomic-9.C,
+       g++.dg/gomp/atomic-10.C, g++.dg/gomp/atomic-11.C,
+       g++.dg/gomp/atomic-12.C, g++.dg/gomp/atomic-13.C,
+       g++.dg/gomp/atomic-15.C: Remove.
+       * gcc.dg/gomp/gomp.exp, g++.dg/gomp/gomp.exp: Run c-c++-common tests.
+       * gcc.dg/gomp/atomic-11.c: Remove test.
+
+2011-11-06  Ira Rosen  <ira.rosen@linaro.org>
+
+       * gcc.dg/vect/bb-slp-cond-1.c: New test.
+       * gcc.dg/vect/slp-cond-1.c: New test.
+       * gcc.dg/vect/slp-cond-2.c: New test.
+
+2011-11-05  David S. Miller  <davem@davemloft.net>
+
+       * lib/test-supports.exp
+       (check_effective_target_ultrasparc_vis2_hw): New proc.
+       (check_effective_target_ultrasparc_vis3_hw): New proc.
+       * gcc.target/sparc/vec-init-1.inc: New vector init common code.
+       * gcc.target/sparc/vec-init-2.inc: Likewise.
+       * gcc.target/sparc/vec-init-3.inc: Likewise.
+       * gcc.target/sparc/vec-init-1-vis1.c: New test.
+       * gcc.target/sparc/vec-init-1-vis2.c: New test.
+       * gcc.target/sparc/vec-init-1-vis3.c: New test.
+       * gcc.target/sparc/vec-init-2-vis1.c: New test.
+       * gcc.target/sparc/vec-init-2-vis2.c: New test.
+       * gcc.target/sparc/vec-init-2-vis3.c: New test.
+       * gcc.target/sparc/vec-init-3-vis1.c: New test.
+       * gcc.target/sparc/vec-init-3-vis2.c: New test.
+       * gcc.target/sparc/vec-init-3-vis3.c: New test.
+
+2011-11-05  Joern Rennecke  <joern.rennecke@embecosm.com>
+
+       * gcc.c-torture/execute/ieee/mul-subnormal-single-1.x:
+       Disable test on Epiphany.
+       * gcc.c-torture/execute/20101011-1.c: Disable test on Epiphany.
+       * gcc.dg/stack-usage-1.c [__epiphany__] (SIZE): Define.
+       * gcc.dg/pragma-pack-3.c: Disable test on Epiphany.
+       * g++.dg/parse/pragma3.C: Likewise.
+       * stackalign/builtin-apply-2.c (STACK_ARGUMENTS_SIZE): Define.
+       (bar): Use it.
+       * gcc.dg/weak/typeof-2.c [epiphany-*-*]: Add option -mshort-calls.
+       * gcc.dg/tls/thr-cse-1.c: Likewise.
+       * g++.dg/opt/devirt2.C: Likewise.
+       * gcc.dg/20020312-2.c [epiphany-*-*] (PIC_REG): Define.
+       * gcc.dg/builtin-apply2.c [__epiphany__]: (STACK_ARGUMENTS_SIZE): 20.
+       * gcc.target/epiphany: New directory.
+
+2011-11-05  Tobias Burnus  <burnus@net-b.de>
+
+       * gfortran.dg/quad_2.f90: New.
+
+2011-11-05  Eric Botcazou  <ebotcazou@adacore.com>
+
+       * gcc.dg/strlenopt-22g.c: New wrapper around...
+       * gcc.dg/strlenopt-22.c: ...this.  Do not define USE_GNU and adjust.
+
+2011-11-04  Jason Merrill  <jason@redhat.com>
+
+       PR c++/26714
+       * g++.dg/init/lifetime2.C: New.
+       * g++.dg/cpp0x/initlist-lifetime2.C: New.
+
+       PR c++/48370
+       * g++.dg/init/lifetime1.C: Test cleanup order.
+
+2011-11-04  Eric Botcazou  <ebotcazou@adacore.com>
+
+       * g++.dg/other/offsetof7.C: New test.
+
+2011-11-04  Hans-Peter Nilsson  <hp@axis.com>
+
+       * lib/gcc-dg.exp (gcc_force_conventional_output): New global
+       variable, default empty, -ffat-lto-objects for effective_target_lto.
+       (gcc-dg-test-1): Add options from dg-final methods.
+       * lib/scanasm.exp (scan-assembler_required_options)
+       (scan-assembler-not_required_options): New procs.
+
+2011-10-09  Magnus Fromreide  <magfr@lysator.liu.se>
+
+       * g++.dg/cpp0x/enum21a.C: Test that enum x { y, } does
+       generate a pedwarn in c++98-mode.
+       * g++.dg/cpp0x/enum21b.C: Test that enum x { y, }
+       don't generate a pedwarn in c++0x-mode.
+
+2011-11-04  Olivier Goffart  <olivier@woboq.com>
+
+       PR c++/50965
+       * g++.dg/cpp0x/nsdmi1.C: Add more cases.
+
+2011-11-04  Jiangning Liu  <jiangning.liu@arm.com>
+
+       PR rtl-optimization/38644
+       * gcc.target/arm/stack-red-zone.c: New.
+
+2011-11-04  Paolo Carlini  <paolo.carlini@oracle.com>
+
+       PR c++/48420
+       * g++.dg/warn/Wconversion-null-3.C: New.
+
 2011-11-04  Ed Smith-Rowland  <3dw4rd@verizon.net>
 
        PR c++/50941