Gabriel Dos Reis
cf3e18dd1e
c++config (__NO_MATH_INLINES): New macro.
...
* include/bits/c++config (__NO_MATH_INLINES): New macro.
* testsuite/26_numerics/fabs_inline.cc (main): New test.
From-SVN: r42533
2001-05-24 18:38:20 +00:00
Benjamin Kosnik
ec233c75fb
libstdc++-v3-dg.exp (libstdc++-v3-init): Set ld_library_path.
...
2001-05-22 Benjamin Kosnik <bkoz@redhat.com>
libstdc++/2841
* testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Set
ld_library_path.
(libstdc++-v3_set_ld_library_path): New, copied from g++.exp.
(libstdc++-v3-finish): Remove.
(libstdc++-v3_exit): Remove.
From-SVN: r42487
2001-05-23 07:05:14 +00:00
Phil Edwards
8d12b80039
documentation.html: Point to doxygen output.
...
2001-05-22 Phil Edwards <pme@sources.redhat.com>
* docs/html/documentation.html: Point to doxygen output.
From-SVN: r42477
2001-05-23 02:00:05 +00:00
Benjamin Kosnik
990101f973
mkcheck.in (static_fail): Remove S_FLAG decoration on output.
...
2001-05-21 Benjamin Kosnik <bkoz@redhat.com>
* mkcheck.in (static_fail): Remove S_FLAG decoration on output.
* include/bits/std_sstream.h (stringbuf::setbuf): Require both
arguments to be non-null.
* include/bits/fstream.tcc (filebuf::_M_allocate_buffers): Only
try allocations if allocated size is greater than zero.
(filebuf::_M_filebuf_init): Change to
(filebuf::_M_allocate_file): Which is what it does now.
(filebuf::_M_allocate_bufers): Change to
(filebuf::_M_allocate_internal_buffer): This, and create
(filebuf::_M_allocate_pback_buffer): New.
(filebuf::_M_destroy_internal_buffer): New.
(filebuf::_M_buf_allocated): New data member.
(filebuf::setbuf): Use new logic, allow use of external buffer.
* testsuite/27_io/stringbuf_virtuals.cc: New file.
* testsuite/27_io/filebuf_virtuals.cc: New file.
From-SVN: r42458
2001-05-22 18:48:19 +00:00
Benjamin Kosnik
9ea659ac82
std_cstring.h (memchr): Define "C" functions to __glibcpp_memchr.
...
2001-05-21 Stephen M. Webb <stephen@bregmasoft.com>
* include/c_std/bits/std_cstring.h (memchr): Define "C" functions to
__glibcpp_memchr.
(strchr): Same, but to __glibcpp_strchr.
(strpbrk): Same.
(strrchr): Same.
(strstr): Same.
* include/c_std/bits/std_cwchar.h (wcschr): Same.
(wcsbrk): Same.
(wcsrchr): Same.
(wcsstr): Same.
(wmemchr): Same.
From-SVN: r42421
2001-05-22 04:58:45 +00:00
Phil Edwards
572051a275
acinclude.m4: Fix --help spacing, correct comments.
...
2001-05-19 Phil Edwards <pme@sources.redhat.com>
* acinclude.m4: Fix --help spacing, correct comments.
* aclocal.m4: Regenerate.
* configure: Regenerate.
* mkcheck.in: Add usage comments.
* docs/html/documentation.html: Point to doxygen'd tarball.
From-SVN: r42316
2001-05-19 20:27:36 +00:00
Benjamin Kosnik
662d942545
README: Add notes.
...
2001-05-18 Benjamin Kosnik <bkoz@redhat.com>
* testsuite/README: Add notes.
* src/Makefile.am (libstdc++.INC): Remove.
* src/Makefile.in: Regenerate.
Phil Edwards <pedwards@disaster.jaj.com>
* mkcheck.in: Add missing '#'.
From-SVN: r42298
2001-05-19 03:42:53 +00:00
Angela Marie Thomas
28e8acb68f
libstdc++-v3-dg.exp (libstdc++-v3-init): Set flags appropriately for remote testing and testing installed files without...
...
2001-05-18 Angela Marie Thomas <angela@cygnus.com>
* testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Set flags
appropriately for remote testing and testing installed files without
a build dir.
From-SVN: r42272
2001-05-18 18:55:44 +00:00
Benjamin Kosnik
52a5725062
acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Set glibcpp_srcdir amd glibcpp_prefixdir with absolute paths.
...
2001-05-18 Benjamin Kosnik <bkoz@redhat.com>
* acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Set glibcpp_srcdir
amd glibcpp_prefixdir with absolute paths.
* include/bits/c++config (__GLIBCPP__): Bump.
* acinclude.m4 (GLIBCPP_CONFIGURE): Correct version number.
From-SVN: r42253
2001-05-18 07:24:24 +00:00
Gabriel Dos Reis
a60d96b1df
Oops, forgot the ChangeLog entry.
...
From-SVN: r42246
2001-05-18 05:49:20 +00:00
Alexandre Oliva
a75b7b0bd7
configure.target (ATOMICITYH): Actually use AIX-specific code on earlier versions of AIX 4.*.
...
* configure.target (ATOMICITYH): Actually use AIX-specific code on
earlier versions of AIX 4.*.
From-SVN: r42244
2001-05-18 05:46:30 +00:00
Angela Marie Thomas
256e7e85b0
libstdc++-v3-dg.exp (libstdc++-v3-dg-test): Set output_file based on the name of the testcase.
...
2001-05-18 Angela Marie Thomas <angela@cygnus.com>
* testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-dg-test): Set
output_file based on the name of the testcase.
2001-05-18 Angela Marie Thomas <angela@cygnus.com>
* testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Build
gluefile and use it if needs_status_wrapper is set.
From-SVN: r42240
2001-05-18 05:37:43 +00:00
Alexandre Oliva
9c233cb328
configure.target (ATOMICITYH): Use cpu/generic code on earlier versions of AIX.
...
* configure.target (ATOMICITYH): Use cpu/generic code on earlier
versions of AIX.
From-SVN: r42237
2001-05-18 04:50:27 +00:00
Alexandre Oliva
754ad41da6
configure.target (ATOMICITYH): Don't use AIX 4.3-specific code on earlier versions of AIX.
...
* configure.target (ATOMICITYH): Don't use AIX 4.3-specific code
on earlier versions of AIX.
From-SVN: r42225
2001-05-17 22:38:13 +00:00
Benjamin Kosnik
be079e1c08
001-05-15 Benjamin Kosnik <bkoz@redhat.com>
...
* testsuite_flags.in (query): Add backwards, ext directories.
From-SVN: r42127
2001-05-16 02:03:30 +00:00
Mark Mitchell
99d8dccc07
sol2.h (CPLUSPLUS_CPP_SPEC): Define.
...
* config/sparc/sol2.h (CPLUSPLUS_CPP_SPEC): Define.
* porting.texi: Correct documentation about handling
_LARRGEFILE_SOURCE and its ilk.
* config/os/solaris/solaris2.5/bits/os_defines.h: Remove
definitions of _XOPEN_SOURCE, _LARGEFILE64_SOURCE, and
__EXTENSIONS__.
* config/os/solaris/solaris2.6/bits/os_defines.h: Likewise.
* config/os/solaris/solaris2.7/bits/os_defines.h: Likewise.
From-SVN: r42125
2001-05-16 01:11:20 +00:00
Zack Weinberg
7edc73b46a
inserters_extractors.cc, [...]: Replace multi-line string constants with C89-style concatenated string constants.
...
2001-05-15 Zack Weinberg <zackw@stanford.edu>
* testsuite/21_strings/inserters_extractors.cc,
testsuite/27_io/istream_unformatted.cc,
testsuite/27_io/stringstream.cc:
Replace multi-line string constants with C89-style
concatenated string constants.
From-SVN: r42116
2001-05-15 20:46:50 +00:00
Richard Henderson
402d7dfed5
* mknumeric_limits: Build with -fno-exceptions.
...
From-SVN: r42075
2001-05-14 10:16:58 -07:00
Benjamin Kosnik
c6192d882f
Switch over to new harness.
...
2001-05-13 Benjamin Kosnik <bkoz@redhat.com>
Switch over to new harness.
* testsuite_flags.in: Tweaks via Gaby.
* testsuite/Makefile.am: Change tool to libstdc++-v3.
(EXPECT): Quote directly.
(RUNTEST): Same.
* configure.in: Output testsuite_flags.
* acinclude.m4: Substitute src, bld, and prefix dirs.
Remove glibcpp_expect, glibcpp_runtestflags.
* Makefile.am (RUNTESTFLAGS): Pass this down to subdirs.
* mkcheck.in: Port to new interface.
* aclocal.m4: Regerate.
* configure: Regnerate.
* Makefile.in: Regnerate.
* */Makefile.in: Regenerate.
* tests_flags.in: Remove.
* testsuite/lib/libstdc++.exp: Remove.
* testsuite/libstdc++.tests/tests.exp: Remove.
From-SVN: r42055
2001-05-14 01:15:36 +00:00
Alexandre Oliva
d048104204
configure.target: Remove detection of AIX pthread multilib, now obtained from `gcc -v'.
...
* configure.target: Remove detection of AIX pthread multilib, now
obtained from `gcc -v'.
From-SVN: r42049
2001-05-13 22:17:11 +00:00
John David Anglin
fca8e37bb1
mkcheck.in (setup_size_command): Use Berkeley "-B" mode with GNU size.
...
2001-05-13 John David Anglin <dave@hiauly1.hia.nrc.ca>
* mkcheck.in (setup_size_command): Use Berkeley "-B" mode with GNU
size. Add hpux case for HP size.
From-SVN: r42036
2001-05-13 11:08:57 +00:00
Benjamin Kosnik
04d930e6d4
*.cc: Remove spaces, make sure testcases return zero.
...
2001-05-11 Benjamin Kosnik <bkoz@redhat.com>
* testsuite/*/*.cc: Remove spaces, make sure testcases return zero.
* testsuite/config/default.exp: Update bugs email address.
From-SVN: r41997
2001-05-12 16:53:08 +00:00
Richard Henderson
817e741108
eh_personality.cc: Include unwind-pe.h.
...
* libsupc++/eh_personality.cc: Include unwind-pe.h. Remove
all pointer encoding logic.
(struct lsda_header_info): Add ttype_base.
(get_ttype_entry): Use it instead of a context.
(check_exception_spec): Likewise.
(PERSONALITY_FUNCTION): Initialize ttype_base. Store it in
the c++ exception header for __cxa_call_unexpected.
(__cxa_call_unexpected): Use it.
From-SVN: r41982
2001-05-11 23:16:21 -07:00
Benjamin Kosnik
8850521be3
libstdc++.exp: Use libgloss.exp.
...
2001-05-09 Benjamin Kosnik <bkoz@redhat.com>
* testsuite/lib/libstdc++.exp: Use libgloss.exp. Call
libgloss_link_flags to find crt0.o for targets that use libgloss
instead of newlib.
Change LDFLAGS to LIBS.
Consistently name procedures libstdc++-XXX.
* testsuite/libstdc++.tests/tests.exp: Use new procedure names.
From-SVN: r41938
2001-05-10 08:55:50 +00:00
Benjamin Kosnik
eea790f7b3
std_cstring.h (memchr): Correct definitions.
...
2001-05-08 Benjamin Kosnik <bkoz@fillmore.constant.com>
* include/c_std/bits/std_cstring.h (memchr): Correct definitions.
(strchr): Same.
(strpbrk): Same.
(strrchr): Same.
(strstr): Same.
* include/c_std/bits/std_cwchar.h (wcschr): Same.
(wcsbrk): Same.
(wcsrchr): Same.
(wcsstr): Same.
(wmemchr): Same.
* testsuite/21_strings/c_strings.cc: Add tests.
From-SVN: r41919
2001-05-08 23:53:55 +00:00
Benjamin Kosnik
39003c9902
std_fstream.h (basic_filebuf): Change signature.
...
2001-05-07 Benjamin Kosnik <bkoz@redhat.com>
libstdc++/2523
* include/bits/std_fstream.h (basic_filebuf): Change signature.
* include/bits/fstream.tcc (basic_filebuf): Change bool argument
to int_type, pass in buffer size info.
* include/bits/std_streambuf.h (_M_is_indeterminate): Check for
unbuffered situation.
(underflow): Remove codecvt bits for the time being.
* include/bits/istream.tcc (istream::sentry): Avoid sputbackc call.
* include/bits/locale_facets.tcc (_M_extract): Cache dereference
values from iterators, clean.
* src/locale.cc: Ditto.
* include/bits/sbuf_iter.h: Format.
* src/ios.cc: Explicitly pass in buffer sizes at creation time.
* testsuite/27_io/narrow_stream_objects.cc: Add tests.
* testsuite/27_io/filebuf.cc: Tweaks.
* testsuite/27_io/filebuf_members.cc: Tweaks.
From-SVN: r41908
2001-05-08 03:07:56 +00:00
Mark Mitchell
eefd41e318
* config/os/solaris/solaris2.7/bits/os_defines.h
...
(_LARGEFILE_SOURCE): Define it.
From-SVN: r41907
2001-05-08 03:02:05 +00:00
Alexandre Oliva
f8e4b51d36
configure.in (LIBSUPCXX_PICFLAGS): Set it to -prefer-pic or -prefer-non-pic depending on whether libtool has...
...
* configure.in (LIBSUPCXX_PICFLAGS): Set it to -prefer-pic or
-prefer-non-pic depending on whether libtool has shared libraries
enabled or disabled.
* libsupc++/Makefile.am (LIBSUPCXX_CXXFLAGS): Set to
$(LIBSUPCXX_PICFLAGS).
* configure, */Makefile.in: Rebuilt.
From-SVN: r41806
2001-05-03 20:35:18 +00:00
Benjamin Kosnik
a85afd69a3
sbuf_iter.h (istreambuf_iterator): Correct.
...
2001-05-01 Benjamin Kosnik <bkoz@redhat.com>
* include/bits/sbuf_iter.h (istreambuf_iterator): Correct.
* testsuite/24_iterators/istreambuf_iterator.cc (test02): Add test.
* include/bits/std_sstream.h (stringbuf): Leak
copied string.
* testsuite/24_iterators/ostreambuf_iterator.cc: Correct.
From-SVN: r41755
2001-05-02 05:50:20 +00:00
Tom Browder
168e83ca6d
howto.html: Fix typo.
...
2001-05-01 Tom Browder <tbrowder@home.com>
* docs/html/ext/howto.html: Fix typo.
From-SVN: r41752
2001-05-02 01:39:03 +00:00
Gabriel Dos Reis
358c9f4b42
* testsuite/libstdc++.tests/tests.exp: Add comment.
...
From-SVN: r41730
2001-05-01 17:28:02 +00:00
Gabriel Dos Reis
55a0ab4ac6
* testsuite/libstdc++.tests/tests.exp: Set ulimits.
...
From-SVN: r41727
2001-05-01 15:01:50 +00:00
Mark Mitchell
c3aac51278
fdl.texi: New file.
...
* fdl.texi: New file.
* c-tree.texi: Use the GFDL.
* gcc.texi: Likewise.
* porting.texi: Use the GFDL.
* objc-features.texi: Use the GFDL.
* gxxint.texi: Remove.
* Make-lang.in: Remove all traces of gxxint.texi.
From-SVN: r41700
2001-04-30 22:46:01 +00:00
Benjamin Kosnik
b85381b911
ostreambuf_iterator.cc: New file.
...
2001-04-30 Benjamin Kosnik <bkoz@redhat.com>
libstdc++/2627
* testsuite/24_iterators/ostreambuf_iterator.cc: New file.
* include/bits/sbuf_iter.h (ostreambuf_iterator): Remove bogus
specializations.
From-SVN: r41694
2001-04-30 20:53:31 +00:00
Benjamin Kosnik
215e98639b
stl_iterator_base_funcs.h (__advance): Fix.
...
2001-04-30 Benjamin Kosnik <bkoz@redhat.com>
libstdc++/2964
* include/bits/stl_iterator_base_funcs.h (__advance): Fix.
From-SVN: r41689
2001-04-30 17:41:29 +00:00
Phil Edwards
fb75f5eb71
run_doxygen: Minor tweaks.
...
2001-04-28 Phil Edwards <pme@sources.redhat.com>
* docs/doxygen/run_doxygen: Minor tweaks.
* docs/doxygen/style.css: New file.
* docs/doxygen/user.cfg.in: Update using "doxygen -u" to get the
latest parameters available. Use style.css.
From-SVN: r41668
2001-04-29 01:40:34 +00:00
Benjamin Kosnik
3f3942e851
mainpage.doxy: New.
...
2001-04-27 Benjamin Kosnik <bkoz@redhat.com>
* docs/doxygen/mainpage.doxy: New.
* docs/doxygen/user.cfg.in: Change default configuration. Single
frame, other tweaks.
From-SVN: r41648
2001-04-27 23:38:14 +00:00
Mark Mitchell
9cc03fabc2
BADNAMES: Remove EGCS reference.
...
* docs/html/17_intro/BADNAMES: Remove EGCS reference.
Indicate obsolete nature of thelist for G++ 3.0.
From-SVN: r41611
2001-04-26 20:13:47 +00:00
Alexandre Oliva
ede74510e5
acinclude.m4 (GLIBCPP_ENABLE_THREADS): Obtain target_thread_file with `gcc -v'.
...
* acinclude.m4 (GLIBCPP_ENABLE_THREADS): Obtain
target_thread_file with `gcc -v'.
* aclocal.m4, configure: Rebuilt.
From-SVN: r41570
2001-04-26 04:29:15 +00:00
Benjamin Kosnik
5db6f3de56
std_cmath.h (std): Explicitly inject c99 names.
...
2001-04-25 Benjamin Kosnik <bkoz@redhat.com>
* include/c_std/bits/std_cmath.h (std): Explicitly inject c99 names.
* include/c_std/bits/std_cstdlib.h (std): Same, except for llabs.
* include/c_std/bits/std_cwchar.h (std): Same.
* acconfig.h (std): Remove c99 injection into std.
* config.h.in: Regenerate.
* testsuite/README: Fix typo.
* include/bits/codecvt.h: Remove warnings.
From-SVN: r41568
2001-04-26 02:23:52 +00:00
Peter Schmid
673af03ae5
slist: Include required header files.
...
2001-04-24 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
* include/ext/slist: Include required header files.
From-SVN: r41512
2001-04-23 23:17:20 +00:00
Loren J. Rittle
910e8539cb
std_cerrno.h (errno): Define macro from identifier declared with external linkage, if needed.
...
* include/c_std/bits/std_cerrno.h (errno): Define macro from
identifier declared with external linkage, if needed.
* include/c_std/bits/std_csetjmp.h (setjmp): Likewise.
* include/c_std/bits/std_cstdarg.h (va_end): Likewise.
From-SVN: r41507
2001-04-23 19:54:34 +00:00
Benjamin Kosnik
337187ff26
acinclude.m4 (CXX): Set to CXX so that in-directory re-configures find the build compiler.
...
2001-04-23 Benjamin Kosnik <bkoz@fillmore.constant.com>
* acinclude.m4 (CXX): Set to CXX so that in-directory
re-configures find the build compiler.
(GLIBCPP_ENABLE_C99): Do all tests with 0.0, not 0. Fixes
libstdc++/2609.
* aclocal.m4: Regenerate.
* configure: Regenerate.
From-SVN: r41506
2001-04-23 19:50:00 +00:00
Benjamin Kosnik
6c3a9f72bf
acinclude.m4 (GLIBCPP_ENABLE_LONG_LONG): Make sure required C99 support is enabled correctly before long long is activated.
...
2001-04-20 Benjamin Kosnik <bkoz@redhat.com>
* acinclude.m4 (GLIBCPP_ENABLE_LONG_LONG): Make sure required C99
support is enabled correctly before long long is activated.
* aclocal.m4: Regenerate.
* configure: Regenerate.
* include/backward/backward_warning.h: Format correctly.
* testsuite/26_numerics/c99_classification_macros_c.cc: Add.
* testsuite/26_numerics/c99_classification_macros_c++.cc: Add.
* testsuite/26_numerics/c99_macros.cc: Remove.
From-SVN: r41470
2001-04-20 22:26:55 +00:00
Phil Edwards
e906926f5f
stl_bvector.h: Replace __ITERATOR_CATEGORY with __iterator_category.
...
2001-04-20 Phil Edwards <pme@sources.redhat.com>
* include/bits/stl_bvector.h: Replace __ITERATOR_CATEGORY with
__iterator_category.
From-SVN: r41468
2001-04-20 20:16:37 +00:00
Benjamin Kosnik
7cda84dc70
acconfig.h (_GLIBCPP_USE_C99): Add.
...
2001-04-19 Benjamin Kosnik <bkoz@redhat.com>
* acconfig.h (_GLIBCPP_USE_C99): Add.
* config.h.in: Regenerate.
* acinclude.m4 (GLIBCPP_ENABLE_C99): New macro. Test for ISO/IEC
9899: 1999 support.
* aclocal.m4: Regenerate.
* configure.in (GLIBCPP_ENABLE_C99): Use it, on by default.
* configure: Regenerate.
* configure.in (GLIBCPP_ENABLE_LONG_LONG): Set default to yes.
* configure: Regenerate.
* include/c_std/bits/std_cwchar.h: Put wcstold, wcstoll, wcstoull
into c99.
* include/c_std/bits/std_cmath.h: Bring C99 functions into c99
namespace.
* include/c_std/bits/std_cstdlib.h: Same.
* docs/html/configopts.html: Update.
* testsuite/26_numerics/c99_macros.cc: Edit, use cmath instead of
math.h
(test_c99_classify): Add.
* config/os/gnu-linux/bits/os_defines.h (_GNU_SOURCE): Remove.
(_ISOC99_SOURCE): Remove.
* include/bits/stl_algo.h: Use _GLIBCPP_HAVE_DRAND48.
* include/bits/c++config (__STL_ASSERTIONS): Simplify.
* acinclude.m4 (GLIBCPP_CHECK_STDLIB_SUPPORT): Add check for drand48.
* aclocal.m4: Regenerate.
* configure: Regenerate.
From-SVN: r41451
2001-04-20 08:59:25 +00:00
Phil Edwards
7145b85567
Makefile.am (doxygen): Assume script is missing execute perms.
...
2001-04-19 Phil Edwards <pme@sources.redhat.com>
* Makefile.am (doxygen): Assume script is missing execute perms.
* Makefile.in: Regenerated.
* docs/doxygen/user.cfg.in: Add class diagrams and source browsing.
From-SVN: r41432
2001-04-19 23:07:18 +00:00
Loren J. Rittle
599d54fd8e
* testsuite/27_io/istream_seeks.cc: Inform DejaGnu of required files.
...
From-SVN: r41402
2001-04-18 05:13:33 +00:00
Benjamin Kosnik
47e982b247
map_operators.cc: Add dg-excess-errors.
...
2001-04-17 Benjamin Kosnik <bkoz@redhat.com>
* testsuite/23_containers/map_operators.cc: Add dg-excess-errors.
* testsuite/23_containers/set_operators.cc: Same.
* include/bits/c++config: Add _GLIBCPP_CONCEPT_CHECKS. Disable by
default.
(__GLIBCPP__): Bump from value of last release.
* include/bits/concept_check.h: Default to off, edit comments.
* src/stl-inst.cc: Use _GLIBCPP_CONCEPT_CHECKS.
* src/Makefile.am (AM_CXXFLAGS): Remove _GLIBCPP_NO_CONCEPT_CHECKS.
* src/Makefile.in: Regenerate.
From-SVN: r41397
2001-04-18 01:06:05 +00:00
Martin Reinecke
f2d43953d7
boost_concept_check.h (_Mutable_ContainerConcept): Properly uglify member.
...
2001-04-14 Martin Reinecke <martin@MPA-Garching.MPG.DE>
* include/bits/boost_concept_check.h(_Mutable_ContainerConcept):
Properly uglify member.
From-SVN: r41354
2001-04-14 09:46:13 +00:00