libstdc++.exp (dg-test): Annotate result messages with $which_library as well as $tool_flags and...

* testsuite/lib/libstdc++.exp (dg-test): Annotate result
	messages with $which_library as well as $tool_flags and
	${dg-extra-tool-flags}.  Factor out annotation text into
	a single variable.

From-SVN: r41029
This commit is contained in:
Zack Weinberg 2001-04-02 23:40:01 +00:00
parent b6dabe8938
commit 9f4a318c36
2 changed files with 177 additions and 166 deletions

View File

@ -1,9 +1,16 @@
2001-04-02 Stephen M. Webb <stephen@bregmasoft.com> 2001-04-02 Zack Weinberg <zackw@stanford.edu>
* testsuite/lib/libstdc++.exp (dg-test): Annotate result
messages with $which_library as well as $tool_flags and
${dg-extra-tool-flags}. Factor out annotation text into
a single variable.
2001-04-02 Stephen M. Webb <stephen@bregmasoft.com>
* include/c_std/bits/std_cstring.h: Fix for const-correctness. * include/c_std/bits/std_cstring.h: Fix for const-correctness.
* include/c_std/bits/std_cwchar.h: Same. * include/c_std/bits/std_cwchar.h: Same.
* testsuite/21_strings/c_strings.cc: Add. * testsuite/21_strings/c_strings.cc: Add.
2001-04-01 Benjamin Kosnik <bkoz@codesourcery.com> 2001-04-01 Benjamin Kosnik <bkoz@codesourcery.com>
* docs/html/configopts.html: Add --enable-sjlj-exceptions docs. * docs/html/configopts.html: Add --enable-sjlj-exceptions docs.
@ -53,7 +60,7 @@
* src/Makefile.in: Regenerate. * src/Makefile.in: Regenerate.
* testsuite/ext/headers.cc (main): Fix. * testsuite/ext/headers.cc (main): Fix.
* mkcheck.in: Fix. * mkcheck.in: Fix.
2001-03-30 Phil Edwards <pme@sources.redhat.com> 2001-03-30 Phil Edwards <pme@sources.redhat.com>
* tests_flags.in (LIBS): Pass correct path for installed testing. * tests_flags.in (LIBS): Pass correct path for installed testing.
@ -80,7 +87,7 @@
(check): Change rule from this... (check): Change rule from this...
(check-script):...to this. (check-script):...to this.
* Makefile.in: Regenerate. * Makefile.in: Regenerate.
2001-03-28 Alexandre Oliva <aoliva@redhat.com> 2001-03-28 Alexandre Oliva <aoliva@redhat.com>
* libsupc++/Makefile.am (CXXLINK): Add --tag disable-shared after * libsupc++/Makefile.am (CXXLINK): Add --tag disable-shared after
@ -94,19 +101,19 @@
* acinclude.m4 (GLIBCPP_ENABLE_SJLJ_EXCEPTIONS): New. * acinclude.m4 (GLIBCPP_ENABLE_SJLJ_EXCEPTIONS): New.
* configure.in: Use it. * configure.in: Use it.
* Makefile.in, aclocal.m4, config.h.in, configure: Regenerate. * Makefile.in, aclocal.m4, config.h.in, configure: Regenerate.
* libsupc++/Makefile.am (sources): Update files list. * libsupc++/Makefile.am (sources): Update files list.
* libsupc++/Makefile.in: Regenerate. * libsupc++/Makefile.in: Regenerate.
* libsupc++/eh_alloc.cc, libsupc++/eh_aux_runtime.cc: New files. * libsupc++/eh_alloc.cc, libsupc++/eh_aux_runtime.cc: New files.
* libsupc++/eh_catch.cc, libsupc++/eh_exception.cc: New files. * libsupc++/eh_catch.cc, libsupc++/eh_exception.cc: New files.
* libsupc++/eh_globals.cc, libsupc++/eh_personality.cc: New files. * libsupc++/eh_globals.cc, libsupc++/eh_personality.cc: New files.
* libsupc++/eh_terminate.cc, libsupc++/eh_throw.cc: New files. * libsupc++/eh_terminate.cc, libsupc++/eh_throw.cc: New files.
* libsupc++/exception_support.cc: Remove. * libsupc++/exception_support.cc: Remove.
* libsupc++/exception_support.h: Remove. * libsupc++/exception_support.h: Remove.
* libsupc++/pure.cc: Use std::terminate. * libsupc++/pure.cc: Use std::terminate.
* libsupc++/tinfo2.cc (__throw_type_match_rtti_2): Remove. * libsupc++/tinfo2.cc (__throw_type_match_rtti_2): Remove.
(__is_pointer): Remove. (__is_pointer): Remove.
* libsupc++/unwind-cxx.h: New file. * libsupc++/unwind-cxx.h: New file.
* libsupc++/vec.cc (uncatch_exception): Update for new abi. * libsupc++/vec.cc (uncatch_exception): Update for new abi.
2001-03-27 Alexandre Oliva <aoliva@redhat.com> 2001-03-27 Alexandre Oliva <aoliva@redhat.com>
@ -121,8 +128,8 @@
2001-03-26 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de> 2001-03-26 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
* libstdc++-v3/tests_flags.in: Change the order of libstdc++ * libstdc++-v3/tests_flags.in: Change the order of libstdc++
and libc and libc
2001-03-26 Benjamin Kosnik <bkoz@redhat.com> 2001-03-26 Benjamin Kosnik <bkoz@redhat.com>
@ -142,8 +149,8 @@
* config/basic_file_stdio.h: Same. * config/basic_file_stdio.h: Same.
* src/ios.cc (ios_base::Init::Init()): Unbuffer stdout by default. * src/ios.cc (ios_base::Init::Init()): Unbuffer stdout by default.
* testsuite/27_io/filebuf_members.cc: Tweaks. * testsuite/27_io/filebuf_members.cc: Tweaks.
* testsuite/27_io/ios_base_members_static.cc: Tweaks. * testsuite/27_io/ios_base_members_static.cc: Tweaks.
2001-03-24 Phil Edwards <pme@sources.redhat.com> 2001-03-24 Phil Edwards <pme@sources.redhat.com>
* Makefile.am: New targets, doxygen and doxygen-maint. * Makefile.am: New targets, doxygen and doxygen-maint.
@ -237,7 +244,7 @@
* include/bits/locale_facets.tcc (has_facet): Simplify. * include/bits/locale_facets.tcc (has_facet): Simplify.
(use_facet): Same. (use_facet): Same.
* testsuite/27_io/filebuf.cc (test06): Add tests. * testsuite/27_io/filebuf.cc (test06): Add tests.
2001-03-13 Steve Ellcey <sje@cup.hp.com> 2001-03-13 Steve Ellcey <sje@cup.hp.com>
* libstdc++-v3/config/os/hpux/bits/ctype_base.h: Make ctype masks * libstdc++-v3/config/os/hpux/bits/ctype_base.h: Make ctype masks
@ -245,7 +252,7 @@
2001-03-13 Andris Pavenis <pavenis@latnet.lv> 2001-03-13 Andris Pavenis <pavenis@latnet.lv>
* config/djgpp/bits/ctype_noninline.h: Fix typo and remove * config/djgpp/bits/ctype_noninline.h: Fix typo and remove
duplicate definitions of __dj_ctype_* duplicate definitions of __dj_ctype_*
2001-03-13 Benjamin Kosnik <bkoz@redhat.com> 2001-03-13 Benjamin Kosnik <bkoz@redhat.com>
@ -253,7 +260,7 @@
* libsupc++/new: Remove pragma interface. * libsupc++/new: Remove pragma interface.
* libsupc++/typeinfo: Same. * libsupc++/typeinfo: Same.
* libsupc++/exception: Same. * libsupc++/exception: Same.
* libsupc++/new_handler.cc: Remove pragma implementation. * libsupc++/new_handler.cc: Remove pragma implementation.
(bad_alloc::~bad_alloc()): Add. (bad_alloc::~bad_alloc()): Add.
* libsupc++/exception_support.cc: Same. * libsupc++/exception_support.cc: Same.
(exception::~exception): Add. (exception::~exception): Add.
@ -275,11 +282,11 @@
Fixups for -fno-for-scope Fixups for -fno-for-scope
* include/bits/locale_facets.tcc (__match_parallel): Fixup. * include/bits/locale_facets.tcc (__match_parallel): Fixup.
* src/valarray-inst.cc (__gslice_to_index): Same. * src/valarray-inst.cc (__gslice_to_index): Same.
2001-03-12 Rodney Brown <RodneyBrown@mynd.com> 2001-03-12 Rodney Brown <RodneyBrown@mynd.com>
* src/gen-num-limits.cc (traps) [SPECIALIZE_TRAPPING]: Add fflush * src/gen-num-limits.cc (traps) [SPECIALIZE_TRAPPING]: Add fflush
prior to trapping signal (UnixWare 7 workaround). prior to trapping signal (UnixWare 7 workaround).
2001-03-12 Craig Rodrigues <rodrigc@mediaone.net> 2001-03-12 Craig Rodrigues <rodrigc@mediaone.net>
@ -296,8 +303,8 @@
2001-03-11 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de> 2001-03-11 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
* include/ext/stl_hashtable.h: Change type of __n to size_t * include/ext/stl_hashtable.h: Change type of __n to size_t
* include/backward/bvector.h: Include <ext/stl_bvector.h> * include/backward/bvector.h: Include <ext/stl_bvector.h>
2001-03-09 Gabriel Dos Reis <gdr@merlin.codesourcery.com> 2001-03-09 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
@ -309,12 +316,12 @@
* testsuite/27_io/streambuf.cc (test06): New test, disabled at the * testsuite/27_io/streambuf.cc (test06): New test, disabled at the
moment. moment.
2001-03-08 Andreas Schwab <schwab@suse.de> 2001-03-08 Andreas Schwab <schwab@suse.de>
* acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Fix syntax in test * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Fix syntax in test
command. command.
* aclocal.m4, configure: Regenerated. * aclocal.m4, configure: Regenerated.
2001-03-07 Benjamin Kosnik <bkoz@redhat.com> 2001-03-07 Benjamin Kosnik <bkoz@redhat.com>
@ -331,7 +338,7 @@
values to off_type. values to off_type.
(test05): Same. (test05): Same.
Changeup output files. Changeup output files.
* testsuite/27_io/istream_unformatted.cc: Change output files. * testsuite/27_io/istream_unformatted.cc: Change output files.
* testsuite/27_io/istream_seeks-1.txt: Add. * testsuite/27_io/istream_seeks-1.txt: Add.
* testsuite/27_io/istream_seeks-2.tst: Add. * testsuite/27_io/istream_seeks-2.tst: Add.
* testsuite/27_io/istream_seeks-1.tst: Add. * testsuite/27_io/istream_seeks-1.tst: Add.
@ -342,15 +349,15 @@
2001-03-07 Alexandre Oliva <aoliva@redhat.com> 2001-03-07 Alexandre Oliva <aoliva@redhat.com>
Add Irix 5.2, 6.3 support. Add Irix 5.2, 6.3 support.
* config/os/irix/bits: Renamed to... * config/os/irix/bits: Renamed to...
* config/os/irix/irix6.5/bits: this. * config/os/irix/irix6.5/bits: this.
* config/os/irix/irix5.2/bits: New, copied from irix6.5/bits. * config/os/irix/irix5.2/bits: New, copied from irix6.5/bits.
* config/os/irix/irix5.2/bits/ctype_base.h: Use _U, _L, _N, * config/os/irix/irix5.2/bits/ctype_base.h: Use _U, _L, _N,
_X, _S, _P, _C and _B instead of IRIX-6.5 _IS* macros. _X, _S, _P, _C and _B instead of IRIX-6.5 _IS* macros.
* config/os/irix/irix5.2/bits/ctype_noninline.h * config/os/irix/irix5.2/bits/ctype_noninline.h
(ctype<char>::ctype): Initialize _M_table with __ctype. (ctype<char>::ctype): Initialize _M_table with __ctype.
* configure.target: Adjust. * configure.target: Adjust.
2001-03-06 Benjamin Kosnik <bkoz@redhat.com> 2001-03-06 Benjamin Kosnik <bkoz@redhat.com>
libstdc++/2181 libstdc++/2181
@ -363,39 +370,39 @@
(*__pf)(ios_base&))): Same. (*__pf)(ios_base&))): Same.
* testsuite/27_io/istream_extractor_other.cc: Add tests. * testsuite/27_io/istream_extractor_other.cc: Add tests.
* testsuite/27_io/istream_manip.cc (test01): Fix. * testsuite/27_io/istream_manip.cc (test01): Fix.
2001-03-06 Nathan Myers <ncm@cantrip.org> 2001-03-06 Nathan Myers <ncm@cantrip.org>
Benjamin Kosnik <bkoz@redhat.com> Benjamin Kosnik <bkoz@redhat.com>
* include/c_std/bits/std_cerrno.h: Don't define errno in std::. * include/c_std/bits/std_cerrno.h: Don't define errno in std::.
* testsuite/17_intro/header_cerrno.cc (test01): New file. * testsuite/17_intro/header_cerrno.cc (test01): New file.
* testsuite/17_intro/header_cassert.cc (test01): New file. * testsuite/17_intro/header_cassert.cc (test01): New file.
* testsuite/17_intro/header_cstddef.cc (test01): New file. * testsuite/17_intro/header_cstddef.cc (test01): New file.
* testsuite/17_intro/header_csetjmp.cc (test01): New file. * testsuite/17_intro/header_csetjmp.cc (test01): New file.
* testsuite/17_intro/header_cstdarg.cc (test01): New file. * testsuite/17_intro/header_cstdarg.cc (test01): New file.
2001-03-05 scott snyder <snyder@fnal.gov> 2001-03-05 scott snyder <snyder@fnal.gov>
libstdc++/2190 libstdc++/2190
* include/c_std/bits/std_cmath.h: Move abs(long), div(long,long) * include/c_std/bits/std_cmath.h: Move abs(long), div(long,long)
from here... from here...
* include/c_std/bits/std_cstdlib.h: ... to here. * include/c_std/bits/std_cstdlib.h: ... to here.
* testsuite/17_intro/header_cstdlib.cc: Add test. * testsuite/17_intro/header_cstdlib.cc: Add test.
2001-03-05 Stephen M. Webb <stephen.webb@cybersafe.com> 2001-03-05 Stephen M. Webb <stephen.webb@cybersafe.com>
* libsupc++/vec.cc (__cxxa_vec_new2): Qualify size_t. * libsupc++/vec.cc (__cxxa_vec_new2): Qualify size_t.
2001-03-05 Laurynas Biveinis <lauras@softhome.net> 2001-03-05 Laurynas Biveinis <lauras@softhome.net>
* config/os/djgpp/ctype_base.h (ctype_base): fix __to_type * config/os/djgpp/ctype_base.h (ctype_base): fix __to_type
definition. Replace enum with static const variables. definition. Replace enum with static const variables.
* config/os/djgpp/ctype_inline.h (ctype<char>::is): remove * config/os/djgpp/ctype_inline.h (ctype<char>::is): remove
throw specification, fix typos, use <static_cast>. throw specification, fix typos, use <static_cast>.
(ctype<char>::scan_is): remove throw specification. (ctype<char>::scan_is): remove throw specification.
(ctype<char>::scan_not): likewise. (ctype<char>::scan_not): likewise.
* config/os/djgpp/ctype_noninline.h (ctype<char>::ctype): fix typo. * config/os/djgpp/ctype_noninline.h (ctype<char>::ctype): fix typo.
(ctype<char>::do_toupper(char)): use <static_cast>. (ctype<char>::do_toupper(char)): use <static_cast>.
(ctype<char>::do_toupper(char *, const char *)): likewise. (ctype<char>::do_toupper(char *, const char *)): likewise.
@ -514,7 +521,7 @@
2001-03-02 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de> 2001-03-02 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
* include/bits/istream.tcc: change type of __extracted to __size_type * include/bits/istream.tcc: change type of __extracted to __size_type
2001-03-02 Benjamin Kosnik <bkoz@redhat.com> 2001-03-02 Benjamin Kosnik <bkoz@redhat.com>
@ -528,8 +535,8 @@
2001-03-02 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de> 2001-03-02 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
* src/locale.cc: initialise __ret with zero * src/locale.cc: initialise __ret with zero
* src/strstream.cc:cast gptr to int_type * src/strstream.cc:cast gptr to int_type
2001-03-01 Phil Edwards <pme@sources.redhat.com> 2001-03-01 Phil Edwards <pme@sources.redhat.com>
@ -587,7 +594,7 @@
* aclocal.m4: Regenerate. * aclocal.m4: Regenerate.
* configure: Regenerate. * configure: Regenerate.
* testsuite/27_io/filebuf.cc (test05): Add regression. * testsuite/27_io/filebuf.cc (test05): Add regression.
2001-02-27 Benjamin Kosnik <bkoz@redhat.com> 2001-02-27 Benjamin Kosnik <bkoz@redhat.com>
Correct license. Correct license.
@ -778,26 +785,26 @@
2001-02-16 Greg Bumgardner <bumgard@roguewave.com> 2001-02-16 Greg Bumgardner <bumgard@roguewave.com>
libstdc++/1734 libstdc++/1734
* include/bits/std_ostream.h: Replaced usage of * include/bits/std_ostream.h: Replaced usage of
_Traits::_S_eos() with _CharT() as per section 17.2.2.1.3. _Traits::_S_eos() with _CharT() as per section 17.2.2.1.3.
* include/bits/char_traits.h: Removed non-standard * include/bits/char_traits.h: Removed non-standard
methods that cannot be used elsewhere. methods that cannot be used elsewhere.
libstdc++/1885 libstdc++/1885
* include/bits/basic_ios.h: Uncommented #include of * include/bits/basic_ios.h: Uncommented #include of
bits/basic_ios.tcc bits/basic_ios.tcc
libstdc++/1897 libstdc++/1897
* include/bits/codecvt.h: See next... * include/bits/codecvt.h: See next...
* include/bits/fstream.tcc: See next... * include/bits/fstream.tcc: See next...
* include/bits/ostream.tcc: Add __extension__ * include/bits/ostream.tcc: Add __extension__
to variable-length arrays. to variable-length arrays.
libstdc++/1967 libstdc++/1967
* include/bits/localefwd.h: Changed int counter type to size_t. * include/bits/localefwd.h: Changed int counter type to size_t.
libstdc++/1968 libstdc++/1968
* include/bits/std_fstream.h: Added typedef for __ctype_type. * include/bits/std_fstream.h: Added typedef for __ctype_type.
2001-02-16 Benjamin Kosnik <bkoz@redhat.com> 2001-02-16 Benjamin Kosnik <bkoz@redhat.com>
@ -809,7 +816,7 @@
2001-02-16 Gabriel Dos Reis <gdr@codesourcery.com> 2001-02-16 Gabriel Dos Reis <gdr@codesourcery.com>
* libmath/mathconf.h (FINITE_P, INFINITE_P): Remove macro * libmath/mathconf.h (FINITE_P, INFINITE_P): Remove macro
definitions. definitions.
2001-02-15 Benjamin Kosnik <bkoz@redhat.com> 2001-02-15 Benjamin Kosnik <bkoz@redhat.com>
@ -821,27 +828,27 @@
iostate throughout. Insert `typename' keyword where necessary. iostate throughout. Insert `typename' keyword where necessary.
* include/bits/ostream.tcc: Insert `typename' keyword where * include/bits/ostream.tcc: Insert `typename' keyword where
necessary. necessary.
2001-02-15 Jeffrey Oldham <oldham@codesourcery.com> 2001-02-15 Jeffrey Oldham <oldham@codesourcery.com>
* include/bits/c++config (_GLIBCPP_FULLY_COMPLIANT_HEADERS): * include/bits/c++config (_GLIBCPP_FULLY_COMPLIANT_HEADERS):
Define so library is compliant. Define so library is compliant.
2001-02-15 Anthony Green <green@redhat.com> 2001-02-15 Anthony Green <green@redhat.com>
* acinclude.m4 (glibcpp_toolexeclibdir): Fix test for cross * acinclude.m4 (glibcpp_toolexeclibdir): Fix test for cross
compilation. compilation.
* aclocal.m4: Regenerate. * aclocal.m4: Regenerate.
* configure: Regenerate. * configure: Regenerate.
2001-02-15 Rodney Brown <RodneyBrown@mynd.com> 2001-02-15 Rodney Brown <RodneyBrown@mynd.com>
* acinclude.m4 (GLIBCPP_CHECK_MATH_DECL_1): * acinclude.m4 (GLIBCPP_CHECK_MATH_DECL_1):
Include ieeefp.h for fpclass on UnixWare{2,7}. Include ieeefp.h for fpclass on UnixWare{2,7}.
* aclocal.m4: Regenerate. * aclocal.m4: Regenerate.
* configure: Regenerate. * configure: Regenerate.
* mkcheck.in (size_command): Do without GNU-grep when using * mkcheck.in (size_command): Do without GNU-grep when using
size from binutils. size from binutils.
2001-02-15 Mark Mitchell <mark@codesourcery.com> 2001-02-15 Mark Mitchell <mark@codesourcery.com>
@ -951,7 +958,7 @@
2001-02-15 Gabriel Dos Reis <gdr@codesourcery.com> 2001-02-15 Gabriel Dos Reis <gdr@codesourcery.com>
* testsuite/lib/libstdc++.exp: Lift, temporarily, out of * testsuite/lib/libstdc++.exp: Lift, temporarily, out of
dejagnu/dg.exp. Adapt to log options used to run testcases. dejagnu/dg.exp. Adapt to log options used to run testcases.
2001-02-13 Gabriel Dos Reis <gdr@merlin.codesourcery.com> 2001-02-13 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
@ -959,7 +966,7 @@
dejagnu/dg.exp. dejagnu/dg.exp.
2001-02-13 Dirk Mueller <dmuell@gmx.net> 2001-02-13 Dirk Mueller <dmuell@gmx.net>
Phil Edwards <pme@sources.redhat.com> Phil Edwards <pme@sources.redhat.com>
* include/backward/function.h: Do not use rel_ops for older * include/backward/function.h: Do not use rel_ops for older
headers either. headers either.
@ -992,7 +999,7 @@
2001-02-11 Gabriel Dos Reis <gdr@codesourcery.com> 2001-02-11 Gabriel Dos Reis <gdr@codesourcery.com>
* src/valarray-inst.cc (gslice::_Indexer::_Indexer): Don't flip * src/valarray-inst.cc (gslice::_Indexer::_Indexer): Don't flip
lengths and strides. lengths and strides.
(__gslice_to_index): Document. (__gslice_to_index): Document.
@ -1013,7 +1020,7 @@
2001-02-08 Loren J. Rittle <ljrittle@acm.org> 2001-02-08 Loren J. Rittle <ljrittle@acm.org>
* src/locale-inst.cc (fill_n): Instantiate with size_t arguments. * src/locale-inst.cc (fill_n): Instantiate with size_t arguments.
2001-02-08 David Edelsohn <edelsohn@gnu.org> 2001-02-08 David Edelsohn <edelsohn@gnu.org>
@ -1035,7 +1042,7 @@
* src/Makefile.in: Regenerate. * src/Makefile.in: Regenerate.
* include/bits/std_stdexcept.h: Rewrite. * include/bits/std_stdexcept.h: Rewrite.
* src/stdexcept.cc: Same. * src/stdexcept.cc: Same.
2001-02-06 Benjamin Kosnik <bkoz@redhat.com> 2001-02-06 Benjamin Kosnik <bkoz@redhat.com>
* acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Deal with library * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Deal with library
@ -1073,7 +1080,7 @@
__group_digits. __group_digits.
* src/locale-inst.cc: Fixup names. Add use_facet instantiations * src/locale-inst.cc: Fixup names. Add use_facet instantiations
for collate, numpunct. for collate, numpunct.
2001-02-06 Phil Edwards <pme@sources.redhat.com> 2001-02-06 Phil Edwards <pme@sources.redhat.com>
* docs/html/configopts.html: Fix HTML markup. * docs/html/configopts.html: Fix HTML markup.
@ -1093,7 +1100,7 @@
(_S_copy_streambufs): Likewise. (_S_copy_streambufs): Likewise.
2001-02-06 Hyman Rosen <Hyman.Rosen@kbcfp.com> 2001-02-06 Hyman Rosen <Hyman.Rosen@kbcfp.com>
Phil Edwards <pme@sources.redhat.com> Phil Edwards <pme@sources.redhat.com>
* include/bits/std_istream.h (op>> signed,unsigned char): Must * include/bits/std_istream.h (op>> signed,unsigned char): Must
use reinterpret_cast, not static_cast. use reinterpret_cast, not static_cast.
@ -1103,7 +1110,7 @@
* acinclude.m4 (gxx_include_dir): Quote, fix regression. * acinclude.m4 (gxx_include_dir): Quote, fix regression.
* aclocal.m4: Regenerate. * aclocal.m4: Regenerate.
* configure: Regenerate. * configure: Regenerate.
2001-02-05 Benjamin Kosnik <bkoz@redhat.com> 2001-02-05 Benjamin Kosnik <bkoz@redhat.com>
* include/bits/locale_facets.h (class moneypunct): Fix typos. * include/bits/locale_facets.h (class moneypunct): Fix typos.
@ -1120,7 +1127,7 @@
(GLIBCPP_CHECK_MATH_SUPPORT): Remove explicit checks for _* versions. (GLIBCPP_CHECK_MATH_SUPPORT): Remove explicit checks for _* versions.
* aclocal.m4: Regenerate. * aclocal.m4: Regenerate.
* configure: Regenerate. * configure: Regenerate.
2001-02-05 Mark Mitchell <mark@codesourcery.com> 2001-02-05 Mark Mitchell <mark@codesourcery.com>
* include/bits/locale_facets.tcc: Remove `static' keyword on * include/bits/locale_facets.tcc: Remove `static' keyword on
@ -1139,14 +1146,14 @@
installed. installed.
* aclocal.m4: Regenerate. * aclocal.m4: Regenerate.
* configure.in: Use it. * configure.in: Use it.
* configure: Regenerate. * configure: Regenerate.
* src/Makefile.am (targetincludep): Use simplified rules. * src/Makefile.am (targetincludep): Use simplified rules.
(targetincludep): Rename gxx_target_include_dir. (targetincludep): Rename gxx_target_include_dir.
(myincludep): Rename gxx_include_dir. (myincludep): Rename gxx_include_dir.
* src/Makefile.in: Regenerate. * src/Makefile.in: Regenerate.
* libsupc++/Makefile.am: Use simplified rules. * libsupc++/Makefile.am: Use simplified rules.
* libsupc++/Makefile.in: Regenerate. * libsupc++/Makefile.in: Regenerate.
2001-02-05 Benjamin Kosnik <bkoz@redhat.com> 2001-02-05 Benjamin Kosnik <bkoz@redhat.com>
* include/c_std/bits/std_cerrno.h: Correct date format for copyright. * include/c_std/bits/std_cerrno.h: Correct date format for copyright.
@ -1154,7 +1161,7 @@
* include/c_std/bits/std_cassert.h: Same. * include/c_std/bits/std_cassert.h: Same.
* include/c_std/bits/std_cstdarg.h: Same. * include/c_std/bits/std_cstdarg.h: Same.
* include/c_std/bits/std_cstddef.h: Same. * include/c_std/bits/std_cstddef.h: Same.
* include/c_std/bits/std_cstdio.h: Undefine all names brought into * include/c_std/bits/std_cstdio.h: Undefine all names brought into
namespace std. namespace std.
* include/c_std/bits/std_ctime.h: Same. * include/c_std/bits/std_ctime.h: Same.
@ -1165,7 +1172,7 @@
* include/c_std/bits/std_cstring.h: Same. * include/c_std/bits/std_cstring.h: Same.
* include/c_std/bits/std_cstdlib.h: Same. * include/c_std/bits/std_cstdlib.h: Same.
* include/c_std/bits/std_cwchar.h: Same. * include/c_std/bits/std_cwchar.h: Same.
2001-02-05 Phil Edwards <pme@sources.redhat.com> 2001-02-05 Phil Edwards <pme@sources.redhat.com>
* testsuite/27_io/ios_base_members_static.cc: Swap order of tests. * testsuite/27_io/ios_base_members_static.cc: Swap order of tests.
@ -1188,13 +1195,13 @@
* libsupc++/tinfo2.cc (std::typeinfo::before): Likewise. * libsupc++/tinfo2.cc (std::typeinfo::before): Likewise.
2001-02-03 Alexandre Oliva <aoliva@redhat.com> 2001-02-03 Alexandre Oliva <aoliva@redhat.com>
Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at> Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
* Makefile.am (mkinstalldirs): Set. * Makefile.am (mkinstalldirs): Set.
* src/Makefile.am (mkinstalldirs): Set. * src/Makefile.am (mkinstalldirs): Set.
* libmath/Makefile.am (mkinstalldirs): Set. * libmath/Makefile.am (mkinstalldirs): Set.
* libsup++/Makefile.am (mkinstalldirs): Set. * libsup++/Makefile.am (mkinstalldirs): Set.
* libio/Makefile.am (mkinstalldirs): Set. * libio/Makefile.am (mkinstalldirs): Set.
* */Makefile.in: Regenerate. * */Makefile.in: Regenerate.
2001-02-03 Benjamin Kosnik <bkoz@redhat.com> 2001-02-03 Benjamin Kosnik <bkoz@redhat.com>
@ -1209,7 +1216,7 @@
(_S_ios_openmode_end): Similarly. (_S_ios_openmode_end): Similarly.
(_S_ios_iostate_end): Similarly. (_S_ios_iostate_end): Similarly.
(_S_ios_Seekdir_end): Similarly. (_S_ios_Seekdir_end): Similarly.
2001-02-02 Phil Edwards <pme@sources.redhat.com> 2001-02-02 Phil Edwards <pme@sources.redhat.com>
* mkcheck.in: Also limit virtual memory size, for mmap-based mallocs. * mkcheck.in: Also limit virtual memory size, for mmap-based mallocs.
@ -1239,10 +1246,10 @@
* src/Makefile.am (sources): Add c++locale.cc. * src/Makefile.am (sources): Add c++locale.cc.
(build_headers): Add c++locale.h. (build_headers): Add c++locale.h.
* src/Makefile.in: Regenerate. * src/Makefile.in: Regenerate.
* config/c_locale_gnu.h: New file. * config/c_locale_gnu.h: New file.
* config/c_locale_gnu.cc: New file. Non-inline member functions * config/c_locale_gnu.cc: New file. Non-inline member functions
for named locales, gnu-specific. for named locales, gnu-specific.
* config/c_locale_generic.h: New file. * config/c_locale_generic.h: New file.
* config/c_locale_generic.cc: New file. Non-inline member * config/c_locale_generic.cc: New file. Non-inline member
functions for named locales, generic version. functions for named locales, generic version.
* docs/html/configopts.html: Add documentation on new options. * docs/html/configopts.html: Add documentation on new options.
@ -1250,11 +1257,11 @@
* include/bits/locale_facets.h (class _Messages): Remove. * include/bits/locale_facets.h (class _Messages): Remove.
(class _Moneypunct): Remove. (class _Moneypunct): Remove.
* src/locale-inst.cc: Remove. * src/locale-inst.cc: Remove.
* include/bits/locale_facets.h (class _Collate): Remove. * include/bits/locale_facets.h (class _Collate): Remove.
* src/locale-inst.cc (std): Remove. * src/locale-inst.cc (std): Remove.
* src/locale.cc: And here. * src/locale.cc: And here.
* include/bits/localefwd.h (locale::_M_coalesce): New * include/bits/localefwd.h (locale::_M_coalesce): New
function. Correctly put together multi-name locales. function. Correctly put together multi-name locales.
(_Impl(const _Impl&, category, size_t)): Remove. (_Impl(const _Impl&, category, size_t)): Remove.
@ -1266,16 +1273,16 @@
* src/localename.cc (locale::_Impl::_M_construct_collate): Remove. * src/localename.cc (locale::_Impl::_M_construct_collate): Remove.
(locale::_Impl::_M_construct_ctype): Remove. (locale::_Impl::_M_construct_ctype): Remove.
(locale::_Impl::_M_construct_monetary): Remove. (locale::_Impl::_M_construct_monetary): Remove.
(locale::_Impl::_M_construct_numeric): Remove. (locale::_Impl::_M_construct_numeric): Remove.
(locale::_Impl::_M_construct_time): Remove. (locale::_Impl::_M_construct_time): Remove.
(locale::_Impl::_M_construct_messages): Remove. (locale::_Impl::_M_construct_messages): Remove.
* include/bits/locale_facets.h (_Bad_use_facet): Remove. * include/bits/locale_facets.h (_Bad_use_facet): Remove.
(_Use_facet_failure_handle): Remove. (_Use_facet_failure_handle): Remove.
* src/locale.cc: Remove definitions. * src/locale.cc: Remove definitions.
* src/locale-inst.cc: And here. * src/locale-inst.cc: And here.
* testsuite/22_locale/ctor_copy_dtor.cc (test01): Fixup. Add tests. * testsuite/22_locale/ctor_copy_dtor.cc (test01): Fixup. Add tests.
* src/localename.cc (locale::facet::_S_create_c_locale): Properly * src/localename.cc (locale::facet::_S_create_c_locale): Properly
@ -1285,14 +1292,14 @@
* include/bits/localefwd.h (locale::facet): Declare. * include/bits/localefwd.h (locale::facet): Declare.
* testsuite/22_locale/members.cc: Don't test "fr_FR" locale for * testsuite/22_locale/members.cc: Don't test "fr_FR" locale for
correctness, as glibc apparently has incorrect info in it. Test correctness, as glibc apparently has incorrect info in it. Test
with it when it works again..... with it when it works again.....
* include/bits/localefwd.h (locale::_Impl::__vec_string): * include/bits/localefwd.h (locale::_Impl::__vec_string):
Remove. Number of categories is fixed at six, so just simplify and Remove. Number of categories is fixed at six, so just simplify and
make this an array of strings. make this an array of strings.
(locale::_Impl::_M_has_name): Remove. (locale::_Impl::_M_has_name): Remove.
(locale::_Impl::_M_name): Remove. (locale::_Impl::_M_name): Remove.
(locale::_Impl::_M_category_names): Turns into... (locale::_Impl::_M_category_names): Turns into...
(locale::_Impl::_M_names): ...this. (locale::_Impl::_M_names): ...this.
(locale::_Impl::_M_has_same_name()): New function. (locale::_Impl::_M_has_same_name()): New function.
* src/localename.cc (locale::_Impl::~_Impl()): Remove here. * src/localename.cc (locale::_Impl::~_Impl()): Remove here.
@ -1315,8 +1322,8 @@
* src/locale.cc: Remove numpunct_byname ctors. * src/locale.cc: Remove numpunct_byname ctors.
* testsuite/22_locale/numpunct_byname.cc: New file. * testsuite/22_locale/numpunct_byname.cc: New file.
* testsuite/22_locale/numpunct.cc: New file. * testsuite/22_locale/numpunct.cc: New file.
* include/bits/localefwd.h (class locale): Change data members to * include/bits/localefwd.h (class locale): Change data members to
protected, from private. protected, from private.
(_Impl::_M_get_c_locale): Add member function. (_Impl::_M_get_c_locale): Add member function.
@ -1326,7 +1333,7 @@
(numpunct::numpunct( __c_locale*, size_t)): Add additonal ctor for (numpunct::numpunct( __c_locale*, size_t)): Add additonal ctor for
named locales. named locales.
* testsuite/22_locale/members.cc: New file, test name and combine. * testsuite/22_locale/members.cc: New file, test name and combine.
* include/bits/locale_facets.h (class numpunct): Remove class * include/bits/locale_facets.h (class numpunct): Remove class
_Punct and _Numpunct. Rewrite class numpunct to be correct for _Punct and _Numpunct. Rewrite class numpunct to be correct for
named locales. named locales.
@ -1335,7 +1342,7 @@
(_Imp::_Impl(size_t, size_t, bool, string)) Initialize _M_c_locale. (_Imp::_Impl(size_t, size_t, bool, string)) Initialize _M_c_locale.
* src/locale-inst.cc: Remove _Numpunct, _Punct instantiations. * src/locale-inst.cc: Remove _Numpunct, _Punct instantiations.
* testsuite/22_locale/numpunct_char_members.cc: New file. * testsuite/22_locale/numpunct_char_members.cc: New file.
2001-01-28 Gabriel Dos Reis <gdr@codesourcery.com> 2001-01-28 Gabriel Dos Reis <gdr@codesourcery.com>
* testsuite/README: Add more comment. * testsuite/README: Add more comment.
@ -1347,14 +1354,14 @@
2001-01-25 Loren J. Rittle <ljrittle@acm.org> 2001-01-25 Loren J. Rittle <ljrittle@acm.org>
* testsuite/21_strings/inserters_extractors.cc: Remove * testsuite/21_strings/inserters_extractors.cc: Remove
explicit reference to 'testsuite/'. explicit reference to 'testsuite/'.
2001-01-25 Richard Henderson <rth@redhat.com> 2001-01-25 Richard Henderson <rth@redhat.com>
* config/cpu/alpha/bits/atomicity.h: Remove tricky .subsetion * config/cpu/alpha/bits/atomicity.h: Remove tricky .subsetion
bits. Fixes Tru64 build issues. bits. Fixes Tru64 build issues.
2001-01-25 Michael Sokolov <msokolov@ivan.Harhan.ORG> 2001-01-25 Michael Sokolov <msokolov@ivan.Harhan.ORG>
* acinclude.m4 (GLIBCPP_CHECK_GNU_MAKE): Bourne shell portability bug * acinclude.m4 (GLIBCPP_CHECK_GNU_MAKE): Bourne shell portability bug
@ -1394,7 +1401,7 @@
* tests_flags.in: Remove reference to $(top_srcdir). Use * tests_flags.in: Remove reference to $(top_srcdir). Use
${SRC_DIR} instead. ${SRC_DIR} instead.
* Makefile.am (check, check-install): Change mkcheck invocation * Makefile.am (check, check-install): Change mkcheck invocation
logic. logic.
* Makefile.in: Regenerate. * Makefile.in: Regenerate.
2001-01-24 Mark Mitchell <mark@codesourcery.com> 2001-01-24 Mark Mitchell <mark@codesourcery.com>
@ -1421,7 +1428,7 @@
* acinclude.m4 (GLIBCPP_CHECK_CTYPE_SUPPORT): Remove. * acinclude.m4 (GLIBCPP_CHECK_CTYPE_SUPPORT): Remove.
(GLIBCPP_ENABLE_ATOMICITY): Remove. (GLIBCPP_ENABLE_ATOMICITY): Remove.
* aclocal.m4: Regenerate. * aclocal.m4: Regenerate.
2001-01-23 Chris Demetriou <cgd@broadcom.com> 2001-01-23 Chris Demetriou <cgd@broadcom.com>
* configure.in: Place definition of MULTISUBDIR in * configure.in: Place definition of MULTISUBDIR in
@ -1443,15 +1450,15 @@
2001-01-23 Mark Mitchell <mark@codesourcery.com> 2001-01-23 Mark Mitchell <mark@codesourcery.com>
* ainclude.m4 (GLIBCPP_CHEC_MATH_DECLS_AND_LINKAGE_1): New macro. * ainclude.m4 (GLIBCPP_CHEC_MATH_DECLS_AND_LINKAGE_1): New macro.
(GLIBCPP_CHECK_MATH_SUPPORT): Use it. (GLIBCPP_CHECK_MATH_SUPPORT): Use it.
(GLIBCPP_CHECK_TYPE_SUPPORT): Don't autoconf ctype information if (GLIBCPP_CHECK_TYPE_SUPPORT): Don't autoconf ctype information if
its already provided in config.target. its already provided in config.target.
* aclocal.m4: Regenerated. * aclocal.m4: Regenerated.
* configure: Likewise. * configure: Likewise.
* configure.target: Set ctype_include_dir for lots of systems. * configure.target: Set ctype_include_dir for lots of systems.
* libsupc++/Makefile.am: Explicitly include --tag disable-shared. * libsupc++/Makefile.am: Explicitly include --tag disable-shared.
* libsupc++/Makefile.in: Regenerated. * libsupc++/Makefile.in: Regenerated.
2001-01-23 Gabriel Dos Reis <gdr@codesourcery.com> 2001-01-23 Gabriel Dos Reis <gdr@codesourcery.com>
@ -1482,7 +1489,7 @@
2001-01-19 Gabriel Dos Reis <gdr@codesourcery.com> 2001-01-19 Gabriel Dos Reis <gdr@codesourcery.com>
* testsuite/17_intro: Prepare testcases for new style DejaGnu * testsuite/17_intro: Prepare testcases for new style DejaGnu
framework. framework.
2001-01-18 Gabriel Dos Reis <gdr@codesourcery.com> 2001-01-18 Gabriel Dos Reis <gdr@codesourcery.com>
@ -1490,10 +1497,10 @@
2001-01-17 Loren J. Rittle <ljrittle@acm.org> 2001-01-17 Loren J. Rittle <ljrittle@acm.org>
* mkcheck.in: Construct file names that match $objdir structure. * mkcheck.in: Construct file names that match $objdir structure.
* testsuite/27_io/filebuf_members-1.txt: New file. * testsuite/27_io/filebuf_members-1.txt: New file.
* testsuite/27_io/ifstream_members-1.txt: New file. * testsuite/27_io/ifstream_members-1.txt: New file.
* testsuite/27_io/ostream_inserter_char-1.txt: New file. * testsuite/27_io/ostream_inserter_char-1.txt: New file.
* testsuite/27_io/ios_base_members_static.cc (test02): Add test. * testsuite/27_io/ios_base_members_static.cc (test02): Add test.
* testsuite/27_io/ios_base_members_static-1.tst: Add expected output. * testsuite/27_io/ios_base_members_static-1.tst: Add expected output.
@ -1507,16 +1514,16 @@
libstdc++/1605 libstdc++/1605
* include/bits/ios_base.h (ios_base::failure): Tighten up throw specs. * include/bits/ios_base.h (ios_base::failure): Tighten up throw specs.
* src/ios.cc (ios_base::failure): Make definitions match. * src/ios.cc (ios_base::failure): Make definitions match.
* libsupc++/typeinfo (class bad_typeid): Add throw specs. * libsupc++/typeinfo (class bad_typeid): Add throw specs.
(class bad_cast): Same. (class bad_cast): Same.
* libsupc++/exception (class exception): Add throw specs. * libsupc++/exception (class exception): Add throw specs.
* libsupc++/exception_support.cc (set_terminate): Add throw specs. * libsupc++/exception_support.cc (set_terminate): Add throw specs.
(set_unexpected): Same. (set_unexpected): Same.
(uncaught_exception): Same. (uncaught_exception): Same.
(what): Same. (what): Same.
* docs/html/17_intro/C++STYLE (classname): Fix. * docs/html/17_intro/C++STYLE (classname): Fix.
2001-01-16 Mark Mitchell <mark@codesourcery.com> 2001-01-16 Mark Mitchell <mark@codesourcery.com>
* src/gen-num-limits.cc (INSTANTIATIONS): New macro. * src/gen-num-limits.cc (INSTANTIATIONS): New macro.
@ -1546,7 +1553,7 @@
libstdc++/1019 libstdc++/1019
reported by Paolo Carlini <pcarlini@unitus.it> reported by Paolo Carlini <pcarlini@unitus.it>
* include/bits/istream.tcc (operator>>(istream&, string&)): Fix. * include/bits/istream.tcc (operator>>(istream&, string&)): Fix.
* testsuite/21_strings/inserters_extractors.cc (test08): Add test. * testsuite/21_strings/inserters_extractors.cc (test08): Add test.
libstdc++/1057 libstdc++/1057
@ -1555,7 +1562,7 @@
(xsgetn): Same. Simplify. (xsgetn): Same. Simplify.
* testsuite/27_io/streambuf.cc (test04): Add testcases. * testsuite/27_io/streambuf.cc (test04): Add testcases.
reported by Larry Evans <jcampbell3@prodigy.net> reported by Larry Evans <jcampbell3@prodigy.net>
* include/bits/streambuf.tcc (streambuf::xsputn): Just check for * include/bits/streambuf.tcc (streambuf::xsputn): Just check for
equality with eof on returned value from overflow. equality with eof on returned value from overflow.
@ -1599,10 +1606,10 @@
2001-01-10 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de> 2001-01-10 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
* include/bits/std_complex.h: Fix a typo. * include/bits/std_complex.h: Fix a typo.
2001-01-09 Benjamin Kosnik <bkoz@redhat.com> 2001-01-09 Benjamin Kosnik <bkoz@redhat.com>
<kainz@ilm.com> <kainz@ilm.com>
Fixes for libstdc++/1576 Fixes for libstdc++/1576
* src/stdstreams.cc: Initialize with NULL filebuf. Delete * src/stdstreams.cc: Initialize with NULL filebuf. Delete
@ -1620,7 +1627,7 @@
2001-01-09 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de> 2001-01-09 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
* include/bits/std_complex.h: Fix a typo. * include/bits/std_complex.h: Fix a typo.
2001-01-09 Loren J. Rittle <ljrittle@acm.org> 2001-01-09 Loren J. Rittle <ljrittle@acm.org>
@ -1671,8 +1678,8 @@
2001-01-04 Loren J. Rittle <ljrittle@acm.org> 2001-01-04 Loren J. Rittle <ljrittle@acm.org>
* config/c_io_stdio.cc (__basic_file<_CharT>::sys_open()): On * config/c_io_stdio.cc (__basic_file<_CharT>::sys_open()): On
systems that support it, call dup() before fdopen(). systems that support it, call dup() before fdopen().
2001-01-03 Benjamin Kosnik <bkoz@redhat.com> 2001-01-03 Benjamin Kosnik <bkoz@redhat.com>

View File

@ -326,6 +326,7 @@ proc dg-test { args } {
global tool global tool
global srcdir ;# eg: /calvin/dje/devo/gcc/./testsuite/ global srcdir ;# eg: /calvin/dje/devo/gcc/./testsuite/
global host_triplet target_triplet global host_triplet target_triplet
global which_library
set keep 0 set keep 0
set i 0 set i 0
@ -411,6 +412,9 @@ proc dg-test { args } {
rename unknown "" rename unknown ""
rename dg-save-unknown unknown rename dg-save-unknown unknown
# Record the final set of flags, to tag log entries with.
set label "$which_library $tool_flags ${dg-extra-tool-flags}"
# If we're not supposed to try this test on this target, we're done. # If we're not supposed to try this test on this target, we're done.
if { [lindex ${dg-do-what} 1] == "N" } { if { [lindex ${dg-do-what} 1] == "N" } {
unsupported "$name" unsupported "$name"
@ -458,28 +462,28 @@ proc dg-test { args } {
scan $line ${dg-linenum-format} line scan $line ${dg-linenum-format} line
switch [lindex $i 1] { switch [lindex $i 1] {
"ERROR" { "ERROR" {
$ok "$name $comment (test for errors, line $line), $tool_flags ${dg-extra-tool-flags}" $ok "$name $comment (test for errors, line $line), $label"
} }
"XERROR" { "XERROR" {
x$ok "$name $comment (test for errors, line $line), $tool_flags ${dg-extra-tool-flags}" x$ok "$name $comment (test for errors, line $line), $label"
} }
"WARNING" { "WARNING" {
$ok "$name $comment (test for warnings, line $line), $tool_flags ${dg-extra-tool-flags}" $ok "$name $comment (test for warnings, line $line), $label"
} }
"XWARNING" { "XWARNING" {
x$ok "$name $comment (test for warnings, line $line), $tool_flags ${dg-extra-tool-flags}" x$ok "$name $comment (test for warnings, line $line), $label"
} }
"BOGUS" { "BOGUS" {
$uhoh "$name $comment (test for bogus messages, line $line), $tool_flags ${dg-extra-tool-flags}" $uhoh "$name $comment (test for bogus messages, line $line), $label"
} }
"XBOGUS" { "XBOGUS" {
x$uhoh "$name $comment (test for bogus messages, line $line), $tool_flags ${dg-extra-tool-flags}" x$uhoh "$name $comment (test for bogus messages, line $line), $label"
} }
"BUILD" { "BUILD" {
$uhoh "$name $comment (test for build failure, line $line), $tool_flags ${dg-extra-tool-flags}" $uhoh "$name $comment (test for build failure, line $line), $label"
} }
"XBUILD" { "XBUILD" {
x$uhoh "$name $comment (test for build failure, line $line), $tool_flags ${dg-extra-tool-flags}" x$uhoh "$name $comment (test for build failure, line $line), $label"
} }
"EXEC" { } "EXEC" { }
"XEXEC" { } "XEXEC" { }
@ -526,10 +530,10 @@ proc dg-test { args } {
setup_xfail "*-*-*" setup_xfail "*-*-*"
} }
if ![string match "" $comp_output] { if ![string match "" $comp_output] {
fail "$name (test for excess errors), $tool_flags ${dg-extra-tool-flags}" fail "$name (test for excess errors), $label"
send_log "Excess errors:\n$comp_output\n" send_log "Excess errors:\n$comp_output\n"
} else { } else {
pass "$name (test for excess errors), $tool_flags ${dg-extra-tool-flags}" pass "$name (test for excess errors), $label"
} }
} }
@ -549,7 +553,7 @@ proc dg-test { args } {
setup_xfail "*-*-*" setup_xfail "*-*-*"
} }
if { "$status" == "pass" } { if { "$status" == "pass" } {
pass "$name (execution test), $tool_flags ${dg-extra-tool-flags}" pass "$name (execution test), $label"
verbose "Exec succeeded." 3 verbose "Exec succeeded." 3
if { [llength ${dg-output-text}] > 1 } { if { [llength ${dg-output-text}] > 1 } {
#send_user "${dg-output-text}\n" #send_user "${dg-output-text}\n"
@ -573,9 +577,9 @@ proc dg-test { args } {
} else { } else {
verbose "Exec failed, errorCode not defined!" 3 verbose "Exec failed, errorCode not defined!" 3
} }
fail "$name (execution test), $tool_flags ${dg-extra-tool-flags}" fail "$name (execution test), $label"
} else { } else {
$status "$name (execution test), $tool_flags ${dg-extra-tool-flags}" $status "$name (execution test), $label"
} }
} }
} }