Commit Graph

35656 Commits

Author SHA1 Message Date
Hans-Peter Nilsson
db3f033696 Makefile.in (s-mlib): Make backtick-commands always succeed.
* Makefile.in (s-mlib): Make backtick-commands always succeed.
	(DRIVER_DEFINES): Ditto.

From-SVN: r42773
2001-06-01 09:17:41 +00:00
Hans-Peter Nilsson
2ae5cea5b7 configure.in (libstdcxx_flags): Do not try to execute libstdc++-v3/testsuite_flags until it exists.
* configure.in (libstdcxx_flags): Do not try to execute
	libstdc++-v3/testsuite_flags until it exists.

From-SVN: r42772
2001-06-01 09:14:43 +00:00
GCC Administrator
ab91411282 Daily bump.
From-SVN: r42770
2001-06-01 07:16:14 +00:00
Alan Modra
c37661832c Update my email address.
From-SVN: r42769
2001-06-01 14:17:48 +09:30
Jeff Sturm
7d45b96823 configure.in: Fix AC_ARG_ENABLE usage.
* configure.in: Fix AC_ARG_ENABLE usage.
* configure: Rebuilt.

From-SVN: r42768
2001-06-01 04:09:21 +00:00
Jeff Sturm
e2f3946854 natFile.cc (get_entry): Removed functions.
* natFile.cc (get_entry): Removed functions.
(performList): Call readdir or readdir_r if HAVE_READDIR_R defined.
Allocate enough storage for d_name if using readdir_r.

From-SVN: r42767
2001-06-01 04:04:10 +00:00
Alexandre Petit-Bianco
195590126a parse.y (lookup_field_wrapper): Test `name' code.
2001-05-31  Alexandre Petit-Bianco  <apbianco@redhat.com>

	* parse.y (lookup_field_wrapper): Test `name' code.
	(resolve_qualified_expression_name): Test `qual_wfl' code.
	(qualify_ambiguous_name): Handle `CONVERT_EXPR', fixe indentation,
	handle `qual_wfl' by code.
	(maybe_build_primttype_type_ref): Test `wfl' code.

(http://gcc.gnu.org/ml/gcc-patches/2001-05/msg02180.html )

From-SVN: r42764
2001-05-31 16:40:54 -07:00
Richard Henderson
bc440d0468 * gcc.c-torture/execute/memcheck/blkarg.x: Disable the test.
From-SVN: r42762
2001-05-31 15:06:30 -07:00
Richard Henderson
0c02eebfaa * g++.dg/mangle1.C: Tweek expected mangling for 64-bit hosts.
From-SVN: r42759
2001-05-31 14:41:34 -07:00
Richard Henderson
ed4190cfad gcc.c (init_gcc_specs): When linking against libgcc_s.so, also link against libgcc.a.
* gcc.c (init_gcc_specs): When linking against libgcc_s.so,
        also link against libgcc.a.

From-SVN: r42757
2001-05-31 13:53:50 -07:00
Scott Snyder
59bd14d84a istream.tcc: Include std_ostream.h.
2001-05-27  scott snyder  <snyder@fnal.gov>

	libstdc++/2976
	* include/bits/istream.tcc: Include std_ostream.h.

From-SVN: r42754
2001-05-31 20:33:06 +00:00
Geoff Keating
b3276c7a5d mips.h (ASM_OUTPUT_ASCII): Convert to function.
* config/mips/mips.h (ASM_OUTPUT_ASCII): Convert to function.
	* config/mips/mips.c (mips_output_ascii): New function.
	* config/mips/mips-protos.h (mips_output_ascii): Prototype.

	* config/mips/mips.h (DWARF_CIE_DATA_ALIGNMENT): Force to 4.

From-SVN: r42753
2001-05-31 19:39:30 +00:00
Benjamin Kosnik
d29087b431 bitset.cc: Qualify size_t with std::.
2001-05-31  Benjamin Kosnik  <bkoz@redhat.com>

	libstdc++/2997
	* src/bitset.cc: Qualify size_t with std::.

From-SVN: r42751
2001-05-31 19:10:23 +00:00
Graham Stott
9b33783322 * MAINTAINERS (Write After Approval): Add myself.
From-SVN: r42750
2001-05-31 18:52:04 +00:00
Tom Tromey
66c8aed252 natFileDescriptorPosix.cc (open): Allocate buffer to correct size.
* java/io/natFileDescriptorPosix.cc (open): Allocate buffer to
	correct size.
	(write): Loop until write completes.  From Corey Minyard.

From-SVN: r42749
2001-05-31 17:33:05 +00:00
Jan Hubicka
c9682caf90 flow.c (set_block_for_new_insns): Remove bogus shortcut.
* flow.c (set_block_for_new_insns): Remove bogus shortcut.
	* i386.c (ix86_expand_int_movcc): Force one of operands to be register.

From-SVN: r42747
2001-05-31 17:11:44 +00:00
Laurent Guerby
916f3579cc Rectangle2D.java: fix doc typo.
2001-05-29  Laurent Guerby  <guerby@acm.org>

	* java/awt/geom/Rectangle2D.java: fix doc typo.

From-SVN: r42746
2001-05-31 16:48:15 +00:00
Tom Tromey
5980a00aeb DriverManager.java (getDrivers): Handle case where driver's class loader is null.
* java/sql/DriverManager.java (getDrivers): Handle case where
	driver's class loader is null.  From Corey Minyard.

From-SVN: r42745
2001-05-31 16:18:55 +00:00
Benjamin Kosnik
bfa1e6b11b acconfig.h (_GLIBCPP_BUGGY_FLOAT_COMPLEX): Remove.
2001-05-30  Benjamin Kosnik  <bkoz@redat.com>

	* acconfig.h (_GLIBCPP_BUGGY_FLOAT_COMPLEX): Remove.
	(_GLIBCPP_BUGGY_COMPLEX): Remove.
	* config.h.in: Regenerate.
	* acinclude.m4 (GLIBCPP_CHECK_COMPLEX_MATH_COMPILER_SUPPORT): Remove.
	* aclocal.m4: Regenerate.
	* configure.in: Don't call it.
	* configure: Regenerate.

	libstdc++/2970
	* src/complex_io.cc (operator<<(ostream&, const complex&): Fix.
	* testsuite/26_numerics/complex_inserters_extractors.cc (test01):
	New test.

	libstdc++/2985
	* include/bits/std_complex.h: Include sstream. Put definitions for
	complex inserters and extractors here, and remove them from...
	* src/complex_io.cc: ...here.
	* include/bits/basic_ios.h (basic_ios::__numput_type): Add _Traits
	parameter.
	(basic_ios::__numget_type): Same.
	* include/bits/std_istream.h: Same.
	* include/bits/std_ostream.h: Same.
	* include/bits/sbuf_iter.h (ostreambuf_iterator): Fix typo in base
	class iterator template arguments.
	* src/locale-inst.cc: Add explicit has_facet instantiations.
	* include/bits/basic_ios.h (basic_ios::_M_get_fctype_ios): Remove.
	(_M_get_fnumput): Remove.
	(_M_get_fnumget): Remove.
	(basic_ios::_M_check_facet): New function.
	(basic_ios::_M_cache_facets): New function.
	* include/bits/basic_ios.tcc: Definition for _M_cache_facets.
	(basic_ios::imbue): Call _M_cache_facets.
	(basic_ios::init): Same.
	* include/bits/istream.tcc: Format, use _M_check_facet.
	* include/bits/ostream.tcc: Same.
	* include/bits/locale_facets.tcc (__output_float): Change
	signature, add _Traits.
	* testsuite/26_numerics/complex_inserters_extractors.cc (test02):
	New test.

From-SVN: r42743
2001-05-31 12:14:56 +00:00
Rodney Brown
20293b4c1b install.texi (Configuration): Add html links for --with-gnu-as & --with-gnu-ld and refer to them from hppa &...
* install.texi (Configuration): Add html links for --with-gnu-as &
	--with-gnu-ld and refer to them from hppa & SCO triplets.
	(Specific): Link back to with-gnu-ld for all ELF platfoms.
	(Specific): Reword AVR binutils recommendation.

From-SVN: r42742
2001-05-31 08:15:15 +00:00
GCC Administrator
ea774418ee Daily bump.
From-SVN: r42740
2001-05-31 07:16:40 +00:00
Bryce McKinlay
86d9e8d864 parse.y (do_resolve_class): Check for cyclic inheritance during inner class resolution.
2001-04-27  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>

	* parse.y (do_resolve_class): Check for cyclic inheritance during
	inner class resolution.

(http://gcc.gnu.org/ml/gcc-patches/2001-04/msg01330.html)

From-SVN: r42737
2001-05-30 23:05:29 -07:00
Zack Weinberg
9fd51e6700 ggc-page.c (size_lookup): Increase minimum allocation size to eight bytes.
* ggc-page.c (size_lookup): Increase minimum allocation size
	to eight bytes.
	(ggc_print_statistics): Report size of each bin in bytes, not
	as its order; there is no longer a direct relationship.

From-SVN: r42736
2001-05-31 05:05:19 +00:00
Jan van Male
310668e86d extend.texi: Fix formating of examples, eliminate some 'overfull hboxes'.
* extend.texi: Fix formating of examples, eliminate some
	'overfull hboxes'.
	* gcc.texi: Eliminate some 'overfull hboxes'.
	* invoke.texi: Use two spaces between command options, eliminate
	some 'overfull hboxes'.

From-SVN: r42735
2001-05-31 04:27:52 +00:00
Loren J. Rittle
85836c0b63 c++config (__USE_MALLOC): Do not define it.
* include/bits/c++config (__USE_MALLOC): Do not define it.
	Document why not and give pointers to more information.

	* docs/html/23_containers/howto.html: Update documentation
	to reflect recent understanding of problem.
	* docs/html/17_intro/howto.html: Likewise.

From-SVN: r42732
2001-05-31 02:45:04 +00:00
Richard Henderson
fe7cd37f13 * dwarf2out.c (dwarf2out_finish): Don't emit DW_AT_stmt_list at -g1.
From-SVN: r42731
2001-05-30 18:13:43 -07:00
Tom Tromey
2297fdf160 gcc.c (do_spec_1): In `%O' case, if we computed saved_suffix, use it in the new association.
* gcc.c (do_spec_1): In `%O' case, if we computed saved_suffix,
	use it in the new association.

From-SVN: r42728
2001-05-30 23:56:48 +00:00
Loren J. Rittle
f5fa23843e gthr-posix.h (__gthread_active_ptr): Cast function pointer to target type to allow ISO C++ compiler to accept it.
* gthr-posix.h (__gthread_active_ptr): Cast function pointer
	to target type to allow ISO C++ compiler to accept it.
	* gthr-dce.h (__gthread_active_ptr): Likewise.
	* gthr-solaris.h (__gthread_active_ptr): Likewise.

Co-Authored-By: John David Anglin <dave@hiauly1.hia.nrc.ca>

From-SVN: r42725
2001-05-30 22:38:43 +00:00
Phil Edwards
462b73969e user.cfg.in: Minor addition.
2001-05-30  Phil Edwards  <pme@sources.redhat.com>

	* docs/doxygen/user.cfg.in:  Minor addition.
	* docs/html/documentation.html:  Reorganize.  Put most-looked-at
	stuff first.
	* docs/html/install.html:  Update for 3.0.  HTML fixups.
	* docs/html/17_intro/howto.html:  Likewise.
	* docs/html/18_support/howto.html:  Likewise.
	* docs/html/19_diagnostics/howto.html:  Likewise.
	* docs/html/20_util/howto.html:  Likewise.
	* docs/html/23_containers/howto.html:  Likewise.
	* docs/html/24_iterators/howto.html:  Likewise.  More notes.
	* docs/html/25_algorithms/howto.html:  Likewise.
	* docs/html/26_numerics/howto.html:  Likewise.  More notes.
	* docs/html/27_io/howto.html:  Likewise.
	* docs/html/ext/howto.html:  Likewise.
	* docs/html/faq/index.html:  Likewise.
	* docs/html/faq/index.txt:  Regenerate.
	* docs/html/27_io/iostreams_hierarchy.pdf:  Remove in favor of
	Doxygen-created documentation.

From-SVN: r42723
2001-05-30 21:55:05 +00:00
Neil Booth
932c1783cb cpplex.c (_cpp_lex_token): Revert patch of 16 May 2001 so that we do accept comments in preprocessed input.
* cpplex.c (_cpp_lex_token): Revert patch of 16 May 2001
	so that we do accept comments in preprocessed input.

From-SVN: r42721
2001-05-30 21:22:00 +00:00
Neil Booth
f278806b97 * cpphash.c (alloc_node): Cast pointer.
From-SVN: r42720
2001-05-30 21:09:15 +00:00
David Billinghurst
42a9e4e471 linkage.exp: Pass appropriate flags to native compiler for irix6.2
* gcc.misc-tests/linkage.exp: Pass appropriate flags to native
        compiler for irix6.2

From-SVN: r42719
2001-05-30 13:32:33 -07:00
Rainer Orth
e944097aae libstdc++-v3-dg.exp (libstdc++-v3-init): Use get_multilibs to find gcc.
2001-05-30  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>

        * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Use
        get_multilibs to find gcc.

From-SVN: r42714
2001-05-30 20:25:51 +00:00
Phil Edwards
54eb01bee0 acinclude.m4 (GLIBCPP_ENABLE_C99): Reorder output messages.
2001-05-30  Phil Edwards  <pme@sources.redhat.com>

	* acinclude.m4 (GLIBCPP_ENABLE_C99):  Reorder output messages.
	* aclocal.m4:  Regenerate.
	* configure:  Regenerate.

From-SVN: r42712
2001-05-30 17:05:02 +00:00
Tom Tromey
1de16a5cb1 invokethrow.out: New file.
* libjava.lang/invokethrow.out: New file.
	* libjava.lang/invokethrow.java: New file.

From-SVN: r42711
2001-05-30 15:23:23 +00:00
Gordon Sadler
bdd42dd9a5 * invoke.texi (Option Summary): Remove -isystem-c++ from options.
From-SVN: r42709
2001-05-30 11:58:45 +00:00
Gabriel Dos Reis
3702c6346a [multiple changes]
2001-05-29  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>

      * include/c_std/bits/std_cstdlib.h:: Move C99 thingies to __gnu_cxx::.
      * include/c_std/bits/std_cwchar.h (__gnu_cxx): Likewise.

2001-05-27  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>

      * include/c_std/bits/std_cmath.h: Move C99 functions in __gnu_cxx::.
      * include/c_std/bits/std_cstdlib.h: Same.
      * include/c_std/bits/std_cwchar.h: Same.

From-SVN: r42707
2001-05-30 11:34:26 +00:00
Nathan Sidwell
e97c948889 re PR c++/2936 (gcc gives me an internal error when compiling mozilla with --enable-optimization="-O3")
cp:
	PR g++/2936
	* decl.c (finish_anon_union): Copy context.
	* optimize.c (remap_decl): Remap anonymous aggregate members too.
testsuite:
	* g++.old-deja/g++.other/optimize3.C: New file.

From-SVN: r42705
2001-05-30 08:44:56 +00:00
Loren J. Rittle
b86ee4a56d howto.html: Update link.
* docs/html/17_intro/howto.html: Update link.
	* docs/html/23_containers/howto.html: Likewise.  Add new link.

From-SVN: r42703
2001-05-30 08:30:04 +00:00
GCC Administrator
8df506da01 Daily bump.
From-SVN: r42701
2001-05-30 07:16:19 +00:00
Stan Shebs
08a8c4f938 * gcc.texi: Add links for information about Objective-C.
From-SVN: r42696
2001-05-30 00:50:42 +00:00
Tom Tromey
70cb702a96 * include/jvm.h (_Jv_ThrowNoMemory): Mark as noreturn.
From-SVN: r42694
2001-05-29 22:18:41 +00:00
Tom Tromey
eb019738e2 configure: Rebuilt.
* configure: Rebuilt.
	* configure.in: Only add multilib support code if we just rebuilt
	top-level Makefile.

From-SVN: r42693
2001-05-29 21:31:23 +00:00
Jeffrey Oldham
7dd0ff2b34 20010518-2.x: New file to compile, not assemble.
2001-05-29  Jeffrey Oldham  <oldham@codesourcery.com>

        * gcc.c-torture/compile/20010518-2.x: New file to compile, not
        assemble.

From-SVN: r42692
2001-05-29 18:59:47 +00:00
Andrew Haley
c9bffcd53e i386-signal.h (MAKE_THROW_FRAME): Don't fix up frame pointer...
2001-05-29  Andrew Haley  <aph@redhat.com>

        * include/i386-signal.h (MAKE_THROW_FRAME): Don't fix up frame
        pointer: the dwarf unwinder in libgcc will do everything that's
        needed.
        (HANDLE_DIVIDE_OVERFLOW): Tidy.  Don't mess with stack frames any
        more than we absolutely need to.
        * configure.host (EXCEPTIONSPEC): Remove libgcj_sjlj on Alpha.
        * configure.in (SIGNAL_HANDLER): Use include/dwarf2-signal.h on
        Alpha.
        (SIGNAL_HANDLER): Test "$enable_sjlj_exceptions", not
        "$libgcj_sjlj".
        * configure: Rebuilt.
        * include/dwarf2-signal.h (MAKE_THROW_FRAME): Adjust PC
        for Alpha.
        (SIGNAL_HANDLER): Use siginfo style handler.
        (INIT_SEGV): Likewise.
        (INIT_FPE): Likewise.
        * include/ppc-signal.h: Delete whole file.

From-SVN: r42691
2001-05-29 17:50:50 +00:00
Nathan Sidwell
022dae817d configure.in (gcc_version): Remove unrequired \ on ".
* configure.in (gcc_version): Remove unrequired \ on ". (Solaris
	/bin/sed fails on [^\"]).
	(configargs.h): Likewise.

From-SVN: r42689
2001-05-29 15:16:24 +00:00
Hartmut Schirmer
371ac11766 * config/sh/sh.h (IDENT_ASM_OP): End with TAB, not LF.
From-SVN: r42688
2001-05-29 10:44:01 +00:00
GCC Administrator
9c279e50f9 Daily bump.
From-SVN: r42685
2001-05-29 07:17:13 +00:00
Stan Shebs
9b46c344b1 * objc/objc.gperf: Remove, no longer used.
From-SVN: r42683
2001-05-28 23:56:18 +00:00
Simon Patarin
55fce0ebc7 ltcf-cxx.sh (osf3/osf4/osf5): Support creation of C++ shared libraries when using g++ with native linker.
* ltcf-cxx.sh (osf3/osf4/osf5): Support creation of C++  shared
libraries when using g++ with native linker.

From-SVN: r42680
2001-05-28 21:03:21 +00:00