OSDN Git Service

* g++.dg/bprob/bprob.exp (prof_ext): Update.
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / ChangeLog
index e551aae..4dd76b7 100644 (file)
@@ -1,3 +1,299 @@
+2003-07-09  Nathan Sidwell  <nathan@codesourcery.com>
+
+       * g++.dg/bprob/bprob.exp (prof_ext): Update.
+       * g77.dg/bprob/bprob.exp (prof_ext): Update.
+       * gcc.misc-tests/bprob.exp (prof_ext): Update.
+       * gcc.misc-tests/gcov.exp: Update
+       * g++.dg/gcov/gcov.exp: Update
+       * lib/gcov.exp: Update.
+
+2003-07-08  Mark Mitchell  <mark@codesourcery.com>
+
+       * g++.dg/abi/mangle17.C: Make sure template expressions are
+       dependent.
+       * g++.dg/abi/mangle4.C: Mark erroneous casts.
+       * g++.dg/debug/debug7.C: Mark erronous new-declarator.
+       * g++.dg/opt/stack1.C: Remove erroneous code.
+       * g++.dg/parse/template7.C: New test.
+       * g++.dg/template/dependent-expr1.C: Mark erroneous code.
+       * g++.old-deja/g++.pt/crash4.C: Likewise.
+
+2003-07-09  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
+
+       * gcc.dg/const-elim-1.c (dg-final): Change regexp to match labels
+       with zero or one occurence of `$' after the initial `L'.
+
+2003-07-08  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * gcc.c-torture/compile/20030704-1.c: Add a comment.
+
+2003-07-08  Roger Sayle  <roger@eyesopen.com>
+
+       PR c/11370
+       * gcc.dg/Wunreachable-6.c: New testcase.
+       * gcc.dg/Wunreachable-7.c: New testcase.
+
+2003-07-08  Jakub Jelinek  <jakub@redhat.com>
+
+       PR c/11420
+       * gcc.dg/20030708-1.c: New test.
+
+2003-07-08  Richard Sandiford  <rsandifo@redhat.com>
+
+       * gcc.dg/compat/sdata-section.h: New file.
+       * gcc.dg/compat/sdata-1_{x,y,main}.c: New test.
+       * gcc.dg/torture/mips-sdata-1.c: New test.
+
+2003-07-08  Kriang Lerdsuwanakij  <lerdsuwa@users.sourceforge.net>
+
+       PR c++/11030
+       * g++.dg/template/friend19.C: New test.
+
+2003-07-08  Jakub Jelinek  <jakub@redhat.com>
+
+       * g++.dg/opt/strength-reduce.C: New test.
+
+2003-07-07  Roger Sayle  <roger@eyesopen.com>
+
+       PR target/10979
+       * gcc.dg/20030707-1.c: New testcase.
+
+2003-07-07  Roger Sayle  <roger@eyesopen.com>
+
+       PR optimization/11059
+       * g++.dg/opt/emptyunion.C: New testcase.
+
+2003-07-07  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
+            Eric Botcazou  <ebotcazou@libertysurf.fr>
+
+       * g++.dg/opt/stack1.C: New test.
+
+2003-07-05  Mark Mitchell  <mark@codesourcery.com>
+
+       * g++.old-deja/g++.jason/typeid1.C: Make it a compile test, not a
+       run test.
+       
+       PR c++/11431
+       * g++.dg/expr/static_cast3.C: New test.
+
+2003-07-04  Zack Weinberg  <zack@codesourcery.com>
+
+       * gcc.c-torture/execute/wchar_t-1.x: New file; XFAIL wchar_t-1.c
+       everywhere.
+       * gcc.dg/concat.c: Concatenation of string constants with
+       __FUNCTION__ / __PRETTY_FUNCTION__ is now a hard error.
+       * gcc.dg/wtr-strcat-1.c: Loosen dg-warning regexp.
+       * gcc.dg/cpp/escape-2.c: Use wide character constants where
+       necessary to avoid multi-character character constant warning.
+       * gcc.dg/cpp/escape.c: Likewise.
+       * gcc.dg/cpp/ucs.c: Likewise.
+       Remove backslashes from dg-bogus comments, as they confuse Tcl.
+       Fix a typo.
+
+2003-07-04  Kazu Hirata  <kazu@cs.umass.edu>
+
+       PR c/11428
+       * gcc.c-torture/compile/20030704-1.c: New.
+
+2003-07-04  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * gcc.dg/compat/fnptr-by-value-1_x.c: Add a prototype for testva.
+
+2003-07-04  Danny Smith  <dannysmith@users.sourceforge.net>
+
+       PR c++/5287, PR c++/7910,  PR c++/11021
+       * testsuite/g++.dg/ext/dllimport1.C: Add mingw32 as target. Add
+       tests for warnings.
+       * testsuite/g++.dg/ext/dllimport2.C: Add tests for warnings.
+       * testsuite/g++.dg/ext/dllimport3.C: Likewise.
+       * testsuite/g++.dg/ext/dllimport4.C: New file.
+       * testsuite/g++.dg/ext/dllimport5.C: New file.
+       * testsuite/g++.dg/ext/dllimport6.C: New file.
+       * testsuite/g++.dg/ext/dllimport7.C: New file.
+       * testsuite/g++.dg/ext/dllimport8.C: New file.
+       * testsuite/g++.dg/ext/dllimport9.C: New file.
+       * testsuite/g++.dg/ext/dllimport10.C: New file.
+       * testsuite/g++.dg/ext/dllexport1.C: New file.
+
+2003-07-03  Mark Mitchell  <mark@codesourcery.com>
+
+       * g++.old-deja/g++.jason/typeid1.C: Add dg-error marker.
+       * g++.old-deja/g++.mike/net36.C: Tweak error messages.
+
+2003-07-03  Roger Sayle  <roger@eyesopen.com>
+
+       * gcc.dg/builtins-25.c: New testcase.
+       * gcc.dg/builtins-26.c: New testcase.
+
+2003-07-03  Janis Johnson  <janis187@us.ibm.com>
+
+       * gcc.dg/compat/vector-defs.h: New file.
+       * gcc.dg/compat/vector-setup.h: New file.
+       * gcc.dg/compat/vector-check.h: New file.
+       * gcc.dg/compat/vector-1_main.c: New file.
+       * gcc.dg/compat/vector-1_x.c: New file.
+       * gcc.dg/compat/vector-1_y.c: New file.
+       * gcc.dg/compat/vector-2_main.c: New file.
+       * gcc.dg/compat/vector-2_x.c: New file.
+       * gcc.dg/compat/vector-2_y.c: New file.
+
+       * gcc.dg/compat/fnptr-by-value-1_main.c: New file.
+       * gcc.dg/compat/fnptr-by-value-1_x.c: New file.
+       * gcc.dg/compat/fnptr-by-value-1_y.c: New file.
+       * gcc.dg/compat/struct-align-1.h: New file.
+       * gcc.dg/compat/struct-align-1_main.c: New file.
+       * gcc.dg/compat/struct-align-1_x.c: New file.
+       * gcc.dg/compat/struct-align-1_y.c: New file.
+       * gcc.dg/compat/struct-align-2.h: New file.
+       * gcc.dg/compat/struct-align-2_main.c: New file.
+       * gcc.dg/compat/struct-align-2_x.c: New file.
+       * gcc.dg/compat/struct-align-2_y.c: New file.
+
+       * gcc.dg/compat/compat-common.h (DEBUG_FINI): New.
+       * gcc.dg/compat/scalar-by-value-1_x.c: Use it.
+       * gcc.dg/compat/scalar-by-value-2_x.c: Ditto.
+       * gcc.dg/compat/scalar-by-value-3_x.c: Ditto.
+       * gcc.dg/compat/scalar-by-value-4_x.c: Ditto.
+       * gcc.dg/compat/scalar-return-1_x.c: Ditto.
+       * gcc.dg/compat/scalar-return-2_x.c: Ditto.
+       * gcc.dg/compat/scalar-return-3_x.c: Ditto.
+       * gcc.dg/compat/scalar-return-4_x.c: Ditto.
+       * gcc.dg/compat/struct-by-value-10_x.c: Ditto.
+       * gcc.dg/compat/struct-by-value-11_x.c: Ditto.
+       * gcc.dg/compat/struct-by-value-12_x.c: Ditto.
+       * gcc.dg/compat/struct-by-value-13_x.c: Ditto.
+       * gcc.dg/compat/struct-by-value-14_x.c: Ditto.
+       * gcc.dg/compat/struct-by-value-15_x.c: Ditto.
+       * gcc.dg/compat/struct-by-value-16_x.c: Ditto.
+       * gcc.dg/compat/struct-by-value-17_x.c: Ditto.
+       * gcc.dg/compat/struct-by-value-18_x.c: Ditto.
+       * gcc.dg/compat/struct-by-value-2_x.c: Ditto.
+       * gcc.dg/compat/struct-by-value-3_x.c: Ditto.
+       * gcc.dg/compat/struct-by-value-4_x.c: Ditto.
+       * gcc.dg/compat/struct-by-value-5_x.c: Ditto.
+       * gcc.dg/compat/struct-by-value-6_x.c: Ditto.
+       * gcc.dg/compat/struct-by-value-7_x.c: Ditto.
+       * gcc.dg/compat/struct-by-value-8_x.c: Ditto.
+       * gcc.dg/compat/struct-by-value-9_x.c: Ditto.
+       * gcc.dg/compat/struct-return-10_x.c: Ditto.
+       * gcc.dg/compat/struct-return-2_x.c: Ditto.
+       * gcc.dg/compat/struct-return-3_x.c: Ditto.
+
+2003-07-03  Eric Botcazou  <ebotcazou@libertysurf.fr>
+
+       * gcc.dg/i386-call-1.c: New test.
+
+2003-07-03  Nathan Sidwell  <nathan@codesourcery.com>
+
+       PR c++/9162
+       * g++.dg/parse/defarg4.C: New.
+
+2003-07-03  Roger Sayle  <roger@eyesopen.com>
+
+       PR target/10700
+       * gcc.c-torture/compile/20030703-1.c: New test case.
+
+2003-07-03  Mark Mitchell  <mark@codesourcery.com>
+
+       * g++.dg/template/local3.C: Remove extra semicolon.
+
+2003-07-03  Eric Botcazou  <ebotcazou@libertysurf.fr>
+
+       * gcc.dg/i386-volatile-1.c: New test.
+
+2003-07-02  Nathan Sidwell  <nathan@codesourcery.com>
+
+       PR c++/11072
+       * g++.dg/other/offsetof2.C: XFAIL.
+       * g++.dg/other/offsetof5.C: New.
+
+       PR c++/10219
+       * g++.dg/template/error1.C: New.
+
+       PR c++/9779
+       * g++.dg/template/dependent-expr1.C: New.
+
+2003-07-01  Mark Mitchell  <mark@codesourcery.com>
+
+       PR c++/6949
+       * g++.dg/template/local3.C: New test.
+
+       PR c++/11149
+       * g++.dg/lookup/scoped6.C: New test.
+
+2003-07-01  Giovanni Bajo  <giovannibajo@libero.it>
+
+       PR c++/8046
+       * g++.dg/other/error7.C: New test.
+
+2003-07-01  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * g++.old-deja/g++.abi/vbase1.C: Fix comment typos.
+       * g++.old-deja/g++.abi/vtable3.h: Likewise.
+       * g++.old-deja/g++.law/code-gen5.C: Likewise.
+       * g++.old-deja/g++.other/union2.C: Likewise.
+       * gcc.dg/c90-const-expr-2.c: Likewise.
+       * gcc.dg/c90-const-expr-3.c: Likewise.
+       * gcc.dg/c99-const-expr-2.c: Likewise.
+       * gcc.dg/c99-const-expr-3.c: Likewise.
+       * gcc.dg/concat.c: Likewise.
+
+2003-07-01  Mark Mitchell  <mark@codesourcery.com>
+
+       PR c++/9559
+       * g++.dg/init/static1.C: New test.
+
+2003-06-30  Volker Reichelt  <reichelt@igpm.rwth-aachen.de>
+
+       * Changelog: Remove ">>>>>>>" from previous change.
+
+2003-06-30  Volker Reichelt  <reichelt@igpm.rwth-aachen.de>
+
+       * g++.old-deja/g++.niklas/README: Fix spelling for "testcase".
+       * g++.old-deja/g++.other/access2.C: Likewise.
+       * g++.old-deja/g++.other/decl2.C: Likewise.
+       * gcc.c-torture/execute/20020615-1.c: Likewise.
+
+2003-06-30  Giovanni Bajo  <giovannibajo@libero.it>
+
+       PR c++/4933
+       * g++.dg/template/sizeof4.C: New test.
+
+2003-06-30  Giovanni Bajo  <giovannibajo@libero.it>
+
+       * g++.dg/other/error6.C: New test.
+
+2003-06-30  Giovanni Bajo  <giovannibajo@libero.it>
+
+       PR c++/10750
+       * g++.dg/parse/constant2.C: New test.
+
+2003-06-30  Giovanni Bajo <giovannibajo@libero.it>
+
+       PR c++/11106
+       * g++.dg/other/error5.C: New test.
+
+2003-06-29  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
+
+       * gcc.dg/format/gcc_diag-1.c: New test.
+
+2003-06-28  Ulrich Weigand  <uweigand@de.ibm.com>
+
+       * gcc.c-torture/execute/multi-ix.c: Fix off-by-one bugs.
+
+2003-06-28  Nathan Sidwell  <nathan@codesourcery.com>
+
+       * g++.old-deja/g++.robertl/eb133.C: Set expected line number.
+       * g++.old-deja/g++.robertl/eb133a.C: Likewise.
+       * g++.old-deja/g++.robertl/eb133b.C: Likewise.
+
+2003-06-28  Jakub Jelinek  <jakub@redhat.com>
+
+       * gcc.c-torture/execute/builtins/string-8.c: New test.
+       * gcc.c-torture/execute/builtins/string-8-lib.c: New.
+       * gcc.c-torture/execute/stdio-opt-1.c (main): Add new tests.
+       * gcc.c-torture/execute/string-opt-7.c (main): Add new test.
+
 2003-06-27  Mark Mitchell  <mark@codesourcery.com>
 
        PR c++/10468
 
 2003-06-26  Giovanni Bajo  <giovannibajo@libero.it>
 
-        PR c++/8266
-        * g++.dg/template/explicit-instantiation3.C: New test.
+       PR c++/8266
+       * g++.dg/template/explicit-instantiation3.C: New test.
 
 2003-06-26  Eric Botcazou <ebotcazou@libertysurf.fr>
 
 
        PR c++/10931
        * g++.dg/expr/static_cast1.C: New test.
-       
+
 2003-06-25  Josef Zlomek  <zlomekj@suse.cz>
 
        * gcc.dg/20030625-1.c: New test.
 
 2003-06-21  Gabriel Dos Reis <gdr@integrable-solutions.net>
 
-        * g++.old-deja/g++.benjamin/16077.C: Add -Wconversion  option.
-        * g++.old-deja/g++.other/conv7.C: Likewise
-        * g++.old-deja/g++.other/overcnv2.C: Likewise.
-        * g++.old-deja/g++.other/overload14.C: Likewise.
+       * g++.old-deja/g++.benjamin/16077.C: Add -Wconversion  option.
+       * g++.old-deja/g++.other/conv7.C: Likewise
+       * g++.old-deja/g++.other/overcnv2.C: Likewise.
+       * g++.old-deja/g++.other/overload14.C: Likewise.
 
 2003-06-21  Gabriel Dos Reis <gdr@integrable-solutions.net>
 
 2003-06-20  Mark Mitchell  <mark@codesourcery.com>
 
        PR c++/10888
-       * g++.dg/warn/Winline-3.C: New test. 
+       * g++.dg/warn/Winline-3.C: New test.
 
 2003-06-20  Mark Mitchell  <mark@codesourcery.com>
 
        * g++.dg/template/memclass2.C: New test.
 
 2003-06-20  Mark Mitchell  <mark@codesourcery.com>
-            Eric Botcazou  <ebotcazou@libertysurf.fr>
-       
+           Eric Botcazou  <ebotcazou@libertysurf.fr>
+
        * lib/gcc-dg.exp (dg-xfail-if): Do not process conditional xfail
        data for non-matching targets.
        * gcc.c-torture/compile/simd-5.c: Fix typo in conditional xfail.
        * g++.dg/anew2.C: New test.
        * g++.dg/anew3.C: New test.
        * g++.dg/anew4.C: New test.
-       
+
 2003-06-19  Kazu Hirata  <kazu@cs.umass.edu>
 
        * gcc.c-torture/compile/simd-5.c: Don't XFAIL on H8.
 
        * lib/g++.exp (g++_include_flags): Tweak path to testsuite_flags.
        Remove cruft.
-       
+
 2003-06-17  Kazu Hirata  <kazu@cs.umass.edu>
 
        * gcc.c-torture/compile/20020604-1.c: Use dg-xfail-if for h8300.
 
        PR c++/10712
        * g++.dg/lookup/using7.C: New test.
-       
+
 2003-06-17  Mark Mitchell  <mark@codesourcery.com>
 
        PR c++/11105
        (dg-xfail-if): Likewise.
        * gcc.c-torture/compile/compile.exp: Use dg rather than c-torture
        driver.
-       
+
        * gcc.c-torture/compile/20000804-1.c: Convert to dg format.
        * gcc.c-torture/compile/20001205-1.c: Likewise.
        * gcc.c-torture/compile/20001226-1.c: Likewise.
@@ -571,7 +867,7 @@ Sun Jun  8 16:46:04 CEST 2003  Jan Hubicka  <jh@suse.cz>
        * lib/g++.exp (additional_sources): Remove.
        (additional_files): Likewise.
        (g++_target_compile): Use dg-additional-files-options.
-       
+
        * gcc.dg/special/special.exp: Add "ecos" tests.  Remove complex
        Tcl logic.
        * gcc.dg/special/ecos.exp: Remove.
@@ -583,7 +879,7 @@ Sun Jun  8 16:46:04 CEST 2003  Jan Hubicka  <jh@suse.cz>
        * gcc.dg/special/weak-2.c: Likewise.
        * gcc.dg/special/wkali-1.c: Likewise.
        * gcc.dg/special/wkali-2.c: Likewise.
-       
+
        * g++.dg/special/conpr-2.C: Use dg-additional-*, not
        dg-gpp-additional-*.
        * g++.dg/special/conpr-3.C: Likewise.
@@ -615,13 +911,13 @@ Sun Jun  8 16:46:04 CEST 2003  Jan Hubicka  <jh@suse.cz>
 
 2003-06-04  Richard Henderson  <rth@redhat.com>
 
-        * gcc.dg/cleanup-1.c: New.
-        * gcc.dg/cleanup-2.c: New.
-        * gcc.dg/cleanup-3.c: New.
-        * gcc.dg/cleanup-4.c: New.
-        * gcc.dg/cleanup-5.c: New.
-        * gcc.dg/cleanup-6.c: New.
-        * gcc.dg/cleanup-7.c: New.
+       * gcc.dg/cleanup-1.c: New.
+       * gcc.dg/cleanup-2.c: New.
+       * gcc.dg/cleanup-3.c: New.
+       * gcc.dg/cleanup-4.c: New.
+       * gcc.dg/cleanup-5.c: New.
+       * gcc.dg/cleanup-6.c: New.
+       * gcc.dg/cleanup-7.c: New.
 
 2003-06-04  Mark Mitchell  <mark@codesourcery.com>
 
@@ -662,7 +958,7 @@ Sun Jun  8 16:46:04 CEST 2003  Jan Hubicka  <jh@suse.cz>
 
 2003-06-03  Aldy Hernandez  <aldyh@redhat.com>
 
-        * gcc.c-torture/compile/simd-5.x: Remove xfail for PPC64.
+       * gcc.c-torture/compile/simd-5.x: Remove xfail for PPC64.
 
 2003-06-03  Kriang Lerdsuwanakij  <lerdsuwa@users.sourceforge.net>
 
@@ -730,7 +1026,7 @@ Sun Jun  8 16:46:04 CEST 2003  Jan Hubicka  <jh@suse.cz>
        * gcc.dg/cpp/cpp.exp: Remove scanning of ".cpp" files.
 
 2003-06-01  Loren James Rittle  <ljrittle@acm.org>
-       
+
        * gcc.dg/cpp/redef3.c: New file.
 
 2003-06-01  Eric Botcazou  <ebotcazou@libertysurf.fr>
@@ -760,7 +1056,7 @@ Sun Jun  8 16:46:04 CEST 2003  Jan Hubicka  <jh@suse.cz>
        PR fortran/10843
        * g77.dg/ffixed-form-1.f: New test
        * g77.dg/ffixed-form-2.f: New test
-       * g77.dg/ffree-form-2.f: New test - XFAIL pending fix 
+       * g77.dg/ffree-form-2.f: New test - XFAIL pending fix
        * g77.dg/ffree-form-3.f: New test
 
 2003-05-26  Andreas Tobler <a.tobler@schweiz.ch>
@@ -778,21 +1074,21 @@ Sun Jun  8 16:46:04 CEST 2003  Jan Hubicka  <jh@suse.cz>
        * g++.dg/template/access10.C: New test.
 
 2003-05-24  Eric Botcazou  <ebotcazou@libertysurf.fr>
-            Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
+           Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
 
        * gcc.c-torture/compile/simd-5.x: XFAIL on SPARC64.
 
 2003-05-24  Andreas Tobler <a.tobler@schweiz.ch>
 
-        * gcc.dg/torture/builtin-noret-1.c: Add dg-option -multiply_defined
-        suppress for powerpc-*-darwin*.
+       * gcc.dg/torture/builtin-noret-1.c: Add dg-option -multiply_defined
+       suppress for powerpc-*-darwin*.
        * gcc.dg/torture/builtin-noret-2.c: Likewise.
 
 2003-05-24  Andreas Tobler <a.tobler@schweiz.ch>
 
        * gcc.c-torture/execute/builtins/builtins.exp: Add -multiply_defined
        suppress option for powerpc-*-darwin*.
-       
+
 2003-05-23  Roger Sayle  <roger@eyesopen.com>
 
        * gcc.dg/builtins-1.c: Add tests for tan and atan.
@@ -919,7 +1215,7 @@ Sun Jun  8 16:46:04 CEST 2003  Jan Hubicka  <jh@suse.cz>
        * lib/g++-dg.exp: Use gcc-dg.exp to implement all functionality.
        * lib/g77-dg.exp: Likewise.
        * lib/obj-dg.exp: Likewise.
-       
+
 2003-05-16  Jakub Jelinek  <jakub@redhat.com>
 
        Merge from gcc-3_2-rhl8-branch:
@@ -1112,13 +1408,13 @@ Sun Jun  8 16:46:04 CEST 2003  Jan Hubicka  <jh@suse.cz>
 
 2003-05-07  Richard Henderson  <rth@redhat.com>
 
-        PR c++/10570
-        * g++.dg/eh/forced1.C: Expect catch-all handlers to run.
-        Verify exception_cleanup not called for rethrows.
-        * g++.dg/eh/forced2.C: Test that exception_cleanup is called
-        when exiting catch block without rethrowing.
-        * g++.dg/eh/forced3.C: New.
-        * g++.dg/eh/forced4.C: New.
+       PR c++/10570
+       * g++.dg/eh/forced1.C: Expect catch-all handlers to run.
+       Verify exception_cleanup not called for rethrows.
+       * g++.dg/eh/forced2.C: Test that exception_cleanup is called
+       when exiting catch block without rethrowing.
+       * g++.dg/eh/forced3.C: New.
+       * g++.dg/eh/forced4.C: New.
 
 2003-05-07  Aldy Hernandez  <aldyh@redhat.com>