Commit Graph

35443 Commits

Author SHA1 Message Date
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
Joseph Myers ebb48a4de6 c-tree.texi, [...]: Remove trailing whitespace.
* c-tree.texi, contrib.texi, cpp.texi, extend.texi, gcc.texi,
	gcov.texi, install.texi, md.texi, objc.texi, rtl.texi, tm.texi:
	Remove trailing whitespace.

From-SVN: r42678
2001-05-28 21:57:50 +01:00
Alexandre Oliva 5f7de4b812 * ltconfig, ltmain.sh: Upgrade to libtool 1.4a 1.641.2.256.
From-SVN: r42677
2001-05-28 20:49:42 +00:00
H.J. Lu 20b142ccbc Fix the comment, it is propagate_one_insn, not propagate_on_insn.
From-SVN: r42675
2001-05-28 09:27:03 -07:00
Rainer Orth 26d8af0619 * contrib/test_summary (files): Sort before evaluating.
From-SVN: r42673
2001-05-28 15:50:29 +00:00
Gerald Pfeifer 3aa8219e0c install.texi (Specific): http://reality.sgi.com/ariel/freeware/ became http://freeware.sgi.com/.
* doc/install.texi (Specific): http://reality.sgi.com/ariel/freeware/
	became http://freeware.sgi.com/.

From-SVN: r42671
2001-05-28 07:55:13 +00:00
GCC Administrator b85a97033c Daily bump.
From-SVN: r42669
2001-05-28 07:17:51 +00:00
Geoffrey Keating 49a1867065 local-alloc.c (update_equiv_regs): Don't eliminate constant expressions at -O0.
* local-alloc.c (update_equiv_regs): Don't eliminate constant
	expressions at -O0.

From-SVN: r42667
2001-05-28 02:21:28 +00:00
Stan Shebs 81d87bcc58 objc-act.c: Add/fix various comments.
* objc/objc-act.c: Add/fix various comments.
	(init_selector): Remove, no longer used.
	(build_msg_pool_reference): Ditto.
	(objc_debug): Ditto.

From-SVN: r42666
2001-05-28 01:01:10 +00:00
Neil Booth 84b7783609 c-decl.c (init_decl_processing): Don't call start_identifier_warnings.
* c-decl.c (init_decl_processing):
	 Don't call start_identifier_warnings.
	* flags.h (warn_id_clash, id_clash_len): Remove.
	* stringpool.c: Don't include flags.h.
	(scan_for_clashes, do_identifier_warnings,
	start_identifier_warnings): Remove.
	* toplev.c (warn_id_clash, id_clash_len): Remove.
	(display_help): Don't document -Wid-clash.
	(decode_W_option): Print warning on -Wid-clash.
	* tree.h (start_identifier_warnings): Remove.
	* invoke.texi: Remove documentation of -Wid-clash.

From-SVN: r42665
2001-05-27 21:04:28 +00:00
Bruce Korb 7b78a14a37 reorganize inclhacks and apply fix to fixtests.c
From-SVN: r42663
2001-05-27 18:21:04 +00:00
Neil Booth f71aebba8e * cpplib.c (run_directive): Set pfile->directive.
From-SVN: r42661
2001-05-27 18:06:00 +00:00
Theodore Papadopoulo df9149ee94 c-tree.texi: Reformat the manual as a single chapter now included by gcc.texi.
* c-tree.texi: Reformat the manual as a single chapter now
included by gcc.texi.
* gcc.texi: Include c-tree.texi. Merge all indexes.
* Makefile.in (dvi): Add generation for the cppinternals
documentation. Added dependencies on fdl.texi and c-tree.texi
where appropriate.  Use TEXI2DVI instead of custom tex calls.
(info): Added dependencies on fdl.texi and c-tree.texi where
appropriate.  Remove the target c-tree.info.

From-SVN: r42660
2001-05-27 13:09:47 -04:00
Theodore Papadopoulo e250dd710f Make-lang.in ($(srcdir)/f/g77.info): Added dependencies on fdl.texi.
* Make-lang.in ($(srcdir)/f/g77.info): Added dependencies on
fdl.texi.
(f/g77.dvi): Use TEXI2DVI instead of custom tex calls.  Create the
dvi file in the f directory.

From-SVN: r42659
2001-05-27 13:08:11 -04:00