Commit Graph

31129 Commits

Author SHA1 Message Date
Mark Mitchell
59c341cbd5 * gcc_build: Fix typos.
From-SVN: r37066
2000-10-26 01:18:12 +00:00
Richard Henderson
4667f70546 recog.c (constrain_operands): Initialize which_alternative before no alternatives early exit.
* recog.c (constrain_operands): Initialize which_alternative
        before no alternatives early exit.

From-SVN: r37065
2000-10-25 17:30:55 -07:00
Richard Henderson
78192b0984 cse.c (find_comparison_args): Check that we can reverse a comparison if needed before accepting the substitution.
* cse.c (find_comparison_args): Check that we can reverse a
        comparison if needed before accepting the substitution.

From-SVN: r37064
2000-10-25 17:17:53 -07:00
Tom Tromey
07b5e470a6 lex.c (java_new_lexer): Initialize new fields.
* lex.c (java_new_lexer): Initialize new fields.  Work around
	broken iconv() implementations.
	(java_read_char): Swap bytes if required.  Use fallback decoder if
	required.
	(byteswap_init, need_byteswap): New globals.
	(java_destroy_lexer): Only close iconv handle if it is in use.
	* lex.h (java_lexer): New fields read_anything, byte_swap,
	use_fallback.
	Made out_buffer unsigned.

From-SVN: r37063
2000-10-26 00:01:46 +00:00
Richard Henderson
081b49f144 * reload.c (find_reloads_address_part): Kill rtx obstack hackery.
From-SVN: r37062
2000-10-25 16:58:53 -07:00
Richard Henderson
d4f1c1faff simplify-rtx.c (simplify_relational_operation): Sign extend low words before sign extending to high words.
* simplify-rtx.c (simplify_relational_operation): Sign extend
        low words before sign extending to high words.

From-SVN: r37061
2000-10-25 16:02:14 -07:00
Bryce McKinlay
47a53f53a8 Makefile.am (GCJCOMPILE): Pass --tag=GCJ to libtool.
2000-10-25  Bryce McKinlay  <bryce@albatross.co.nz>

	* Makefile.am (GCJCOMPILE): Pass --tag=GCJ to libtool.
	(core_java_source_files): Put java.lang, java.io, and java.util here.
	(ordinary_java_source_files): Order so that core_java_source_files are
	built first.
	(java_source_files): Reorder so that special_java_source_files are
	built first.
	* configure.in: Don't pass -I flag to gcj.
	* Makefile.in: Rebuilt.
	* configure: Rebuilt.

From-SVN: r37060
2000-10-25 23:11:38 +01:00
Nick Clifton
bc27e96cef Include config.h before system.h.
Force function epilogue to always be generated to work around epilogue
suppression bug in M*Core backend.

From-SVN: r37059
2000-10-25 20:33:00 +00:00
Chris Demetriou
35241f18b2 configure.in: Invoke AC_PROG_CPP unconditionally before conditional feature tests.
2000-10-24  Chris Demetriou  <cgd@sibyte.com>

	* configure.in: Invoke AC_PROG_CPP unconditionally before
	conditional feature tests.

From-SVN: r37058
2000-10-25 18:07:29 +00:00
Tom Tromey
a697c5f753 Makefile.in: Rebuilt.
* Makefile.in: Rebuilt.
	* Makefile.am (install-exec-hook): New target.

From-SVN: r37057
2000-10-25 17:56:17 +00:00
Joseph Myers
e0c9fbb763 c-decl.c (grokdeclarator): Move warning for qualified void return types with -pedantic to when...
* c-decl.c (grokdeclarator): Move warning for qualified void
	return types with -pedantic to when the function type is
	constructed.  At -W, warn in general for qualified function return
	types, except for volatile void.
	* invoke.texi: Document this new warning at -W.

testsuite:
	* gcc.dg/qual-return-1.c, gcc.dg/qual-return-2.c: New tests.

From-SVN: r37056
2000-10-25 18:45:44 +01:00
Diego Novillo
fb204271dd i386.c (print_operand): Handle new 'A' formatting code.
2000-10-23  Diego Novillo  <dnovillo@cygnus.com>

	* i386.c (print_operand): Handle new 'A' formatting code.
	387 opcodes need suffixes even with -mintel-syntax.
	Check for explicit size override (codes 'b', 'w' and 'k').
	(print_operand_address): Check if register prefix is needed when
	emitting `ds' segment override.
	* i386.h: Add comment about new 'A' formatting code.
	* i386.md (jump and call patterns): Emit absolute references using %A.

From-SVN: r37055
2000-10-25 13:26:27 -04:00
Neil Booth
138e79e785 cpp.texi: Update with implementation-defined behavior and internal limits.
* cpp.texi: Update with implementation-defined behavior and
        internal limits.

From-SVN: r37054
2000-10-25 17:23:23 +00:00
Phil Edwards
dfb1d76f1c configure.in: Check for gconv.h.
2000-10-25  Phil Edwards  <pme@sources.redhat.com>

        * configure.in:  Check for gconv.h.
        * libio/wfileops.c:  Wrap gconv.h in HAVE_GCONV_H.

        * config/c_io_libio_codecvt.c:  Change __mbstate_t to __c_mbstate_t.
        * libio/_G_config.h:  And here.
        * libio/iofwide.c:  And here.
        * libio/libio.h:  And here.

        * config/os/solaris/solaris2.7/bits/ctype_noninline.h:  Remove
          exception specification to match declaration.
        * include/bits/locale_facets.tcc:  Include bits/std_clocale.h.

From-SVN: r37053
2000-10-25 16:54:47 +00:00
Jakub Jelinek
dc5041ab71 stor-layout.c (layout_type): If TYPE_ALIAS_SET was already set on the incomplete type force it into alias set 0.
* stor-layout.c (layout_type): If TYPE_ALIAS_SET was already set on the
	incomplete type force it into alias set 0.

	* gcc.c-torture/execute/20001024-1.c: New test.

From-SVN: r37052
2000-10-25 17:23:35 +02:00
Mark Harig
1ac41449a6 configopts.html: Added documentation for the "--enable-version-specific-runtime-libs" and...
2000-10-24   Mark Harig <mharig@landmark.com>

        * docs/configopts.html: Added documentation for the
        "--enable-version-specific-runtime-libs" and
        "--with-gxx-include-dir" configuration switches.

From-SVN: r37051
2000-10-25 14:41:16 +00:00
Benjamin Kosnik
8b8ab21caf acconfig.h: List _GLIBCPP_USE_THREADS.
2000-10-24  Phil Edwards  <pme@sources.redhat.com>

        * acconfig.h:  List _GLIBCPP_USE_THREADS.
        * acinclude.m4:  General formatting cleanup (tabs/spaces), typo
          correction, etc.  Add comments about following *real* changes
          where they are used.
          (GLIBCPP_ENABLE_C_MBCHAR):  New test...
          (GLIBCPP_CHECK_WCHAR_T_SUPPORT):  ...results used here.
          (GLIBCPP_ENABLE_CSTDIO):  Define need_wlibio iff wide characters
          are requested.
          (GLIBCPP_ENABLE_THREADS):  If threads are used, define new
          macro _GLIBCPP_USE_THREADS in c++config.h.
          (GLIBCPP_ENABLE_SHADOW):  For C_INCLUDE_DIR, change () to {} as
          this is used in both makefiles and shell scripts (mkcheck).
        * configure.in:  Call GLIBCPP_ENABLE_C_MBCHAR.

        * libio/_G_config.h:  Wrap _IO_MTSAFE_IO in _GLIBCPP_USE_THREADS.
        * config/c_io_libio.h:  In nonthreaded case, typedef __c_lock to
          something harmless, like int.

        * config/os/aix/bits/os_defines.h:  Guard with _GLIBCPP_OS_DEFINES,
          add comment/instructions.
        * config/os/bsd/bits/os_defines.h:  Ditto.
        * config/os/generic/bits/os_defines.h:  Ditto.
        * config/os/gnu-linux/bits/os_defines.h:  Ditto.
        * config/os/irix/bits/os_defines.h:  Ditto.
        * config/os/newlib/bits/os_defines.h:  Ditto.
        * config/os/solaris/solaris2.5/bits/os_defines.h:  Ditto.
        * config/os/solaris/solaris2.6/bits/os_defines.h:  Ditto.

        * mkcheck.in:  Limit the available heap size for testsuite
          binaries, initially at 2MB.

From-SVN: r37050
2000-10-25 12:50:06 +00:00
Benjamin Kosnik
9aa1d5ac5e stl_pair.h (make_pair): Add LWG solution.
2000-10-24  Benjamin Kosnik  <bkoz@redhat.com>

        * include/bits/stl_pair.h (make_pair): Add LWG solution.

        * testsuite/21_strings/compare.cc (test01): Inject namespace std
	into the mix.

	* mkcheck.in (MAX_MEM_USAGE): Bump up to 3072. Strangely enough,
	this works.

From-SVN: r37049
2000-10-25 12:48:34 +00:00
Levente Farkas
cc66e4ac40 std_bitset.h (_M_do_find_next): Fix typo.
2000-10-24  Levente Farkas  <lfarkas@mindmaker.hu>

	* include/bits/std_bitset.h (_M_do_find_next): Fix typo.

From-SVN: r37048
2000-10-25 12:47:45 +00:00
Bryce McKinlay
ce2ab205ae ThreadGroup.java (uncaughtException): Print thread name with stack dump.
* java/lang/ThreadGroup.java (uncaughtException): Print thread name
        with stack dump.

From-SVN: r37047
2000-10-25 09:11:47 +01:00
Jeff Law
589cb9f16e Daily bump.
From-SVN: r37046
2000-10-25 01:45:08 -06:00
Alexandre Petit-Bianco
8ac1de05dd parse.y (register_incomplete_type): Include JDEP_FIELD as a case where an enclosing context can be set on the jdep.
2000-10-24  Alexandre Petit-Bianco  <apbianco@cygnus.com>

	* parse.y (register_incomplete_type): Include JDEP_FIELD as a case
	where an enclosing context can be set on the jdep.
	(do_resolve_class): Fixed identation.

(http://gcc.gnu.org/ml/gcc-patches/2000-10/msg00824.html)

From-SVN: r37045
2000-10-24 22:47:28 -07:00
John Wehle
e004f2f76e alias.c: Include basic-block.h.
* alias.c: Include basic-block.h.
	(loop_p): New function.
	(mark_constant_function): Use it.
	* Makefile.in (alias.o): Update dependencies.

From-SVN: r37044
2000-10-25 05:00:53 +00:00
Aldy Hernandez
842a07880f fix secondary_reload typo from last patch
From-SVN: r37043
2000-10-25 04:26:35 +00:00
Aldy Hernandez
15c097383f secondary_reload_class: treat pseudos like memory
From-SVN: r37042
2000-10-25 03:13:19 +00:00
Jim Wilson
a8ca775646 Fixes for C++ structure layout breakage.
* expmed.c (store_bit_field): Move integer pun code down after
	code that calls emit_move_insn for entire register move.
	* stor-layout.c (compute_record_mode): Revert Mar 25, Aug 18, and
	Oct 20 changes.  Only store mode in TYPE_MODE if RECORD_TYPE.

From-SVN: r37041
2000-10-24 18:30:25 -07:00
Richard Henderson
c0fc376bcf rtlanal.c (rtx_unstable_p, [...]): Don't consider pic register stable if PIC_OFFSET_TABLE_REG_CALL_CLOBBERED.
* rtlanal.c (rtx_unstable_p, rtx_varies_p): Don't consider pic
        register stable if PIC_OFFSET_TABLE_REG_CALL_CLOBBERED.

From-SVN: r37040
2000-10-24 16:01:11 -07:00
Aldy Hernandez
d7836e38b7 do not propagate constants into jump_insn's for machines with CC0, more than once
From-SVN: r37039
2000-10-24 22:49:39 +00:00
Richard Henderson
5e2c51baa7 treat pseudos just like memory
From-SVN: r37038
2000-10-24 22:45:46 +00:00
Alexandre Oliva
c71e120103 combine.c (distribute_notes): Discard REG_LIBCALL and REG_RETVAL when deleting libcall sequence collapsed to...
* combine.c (distribute_notes): Discard REG_LIBCALL and REG_RETVAL
when deleting libcall sequence collapsed to a single instruction.

From-SVN: r37037
2000-10-24 20:24:03 +00:00
Andrew Haley
5129d2ceee expr.c (do_store_flag): Don't crash if either side of a comparison is error_mark_node.
2000-10-24  Andrew Haley  <aph@cygnus.co.uk>

        * expr.c (do_store_flag): Don't crash if either side of a
        comparison is error_mark_node.

From-SVN: r37036
2000-10-24 20:06:13 +00:00
Benjamin Kosnik
dcc41852e1 compare.cc (test01): Add using declarations.
2000-10-23  Benjamin Kosnik  <bkoz@redhat.com>

	* testsuite/21_strings/compare.cc (test01): Add using declarations.

	* include/c_std/bits/std_cerrno.h: And here.
	* include/c_std/bits/std_cassert.h: Tweaks.

	* mkcheck.in: Simplify.

	* acinclude.m4 (GLIBCPP_ENABLE_LONG_DOUBLE): Simplify.
	(GLIBCPP_ENABLE_LONG_LONG): Same.
	* aclocal.m4: Regenerate.

	* src/Makefile.am (c_shadow_headers): Add features.h,
	bits/wrap_features.h.
	* src/Makefile.in: Regenerate.
	* include/c_std/features.h: New file.
	* include/c_std/bits/wrap_features.h (_CPP_WRAP_FEATURES_H): New
	file. Need to have c++config.h included before this file so
	_ISOC99_SOURCE around.

	* include/c_std/sys/cdefs.h: Hack.
	* include/c_std/stdlib.h: Same, use c++config.h.
	* include/c_std/bits/std_cstdlib.h: Use _GLIBCPP_HAVE_STRTOLD.

	* include/c_std/bits/std_cassert.h: Fix.
	* include/c_std/bits/std_cerrno.h: Make consistent.

	* include/c_std/bits/std_csetjmp.h (setjmp): Unscope global
	declaration from ::_C_legacy to _C_legacy.

	* include/c_std/bits/std_cstdio.h: same with printf.
	* include/c_std/stdio.h: And here.

	* include/c_std/bits/std_cstdlib.h: abort, exit comment.
	* include/c_std/stdlib.h: Same here.

From-SVN: r37035
2000-10-24 17:00:59 +00:00
Benjamin Kosnik
060974d0af compare.cc (test01): Add using declarations.
2000-10-23  Benjamin Kosnik  <bkoz@redhat.com>

	* testsuite/21_strings/compare.cc (test01): Add using declarations.

	* include/c_std/bits/std_cerrno.h: And here.
	* include/c_std/bits/std_cassert.h: Tweaks.

	* mkcheck.in: Simplify.

	* acinclude.m4 (GLIBCPP_ENABLE_LONG_DOUBLE): Simplify.
	(GLIBCPP_ENABLE_LONG_LONG): Same.
	* aclocal.m4: Regenerate.

	* src/Makefile.am (c_shadow_headers): Add features.h,
	bits/wrap_features.h.
	* src/Makefile.in: Regenerate.
	* include/c_std/features.h: New file.
	* include/c_std/bits/wrap_features.h (_CPP_WRAP_FEATURES_H): New
	file. Need to have c++config.h included before this file so
	_ISOC99_SOURCE around.

	* include/c_std/sys/cdefs.h: Hack.
	* include/c_std/stdlib.h: Same, use c++config.h.
	* include/c_std/bits/std_cstdlib.h: Use _GLIBCPP_HAVE_STRTOLD.

	* include/c_std/bits/std_cassert.h: Fix.
	* include/c_std/bits/std_cerrno.h: Make consistent.

	* include/c_std/bits/std_csetjmp.h (setjmp): Unscope global
	declaration from ::_C_legacy to _C_legacy.

	* include/c_std/bits/std_cstdio.h: same with printf.
	* include/c_std/stdio.h: And here.

	* include/c_std/bits/std_cstdlib.h: abort, exit comment.
	* include/c_std/stdlib.h: Same here.

From-SVN: r37034
2000-10-24 17:00:07 +00:00
Jakub Jelinek
f85b5d6572 sibcall.c (purge_mem_unchanging_flag): New function.
* sibcall.c (purge_mem_unchanging_flag): New function.
	(optimize_sibling_and_tail_recursive_calls): Call it.

	* g++.old-deja/g++.other/sibcall1.C: New test.

From-SVN: r37033
2000-10-24 13:25:50 +02:00
Bryce McKinlay
85d0c8b46e EventObject.java: Merged from classpath.
2000-10-24  Bryce McKinlay  <bryce@albatross.co.nz>

	* java/util/EventObject.java: Merged from classpath.

From-SVN: r37032
2000-10-24 11:53:56 +01:00
Jeff Law
264836a1ff Daily bump.
From-SVN: r37031
2000-10-24 01:45:07 -06:00
Philipp Thomas
4adee315bd Makefile.in (check-po): New target for doing checks in the po subdir if all languages configured.
2000-10-24  Philipp Thomas  <pthomas@suse.de>

	* Makefile.in (check-po): New target for doing checks in the po
	subdir if all languages configured.
	(CHECK_TARGETS): Add @CHECK_PO@, replaced with check-po via
	configure if NLS is enabled.
	* configure.in: If NLS is enabled, substitute CHECK_PO by check-po,
	otherwise leave empty.
	* configure: Regenerate.

From-SVN: r37030
2000-10-24 04:00:07 +00:00
Richard Henderson
8a959ea52e ia64.c (ia64_expand_prologue): Mark extra output registers as fixed.
* config/ia64/ia64.c (ia64_expand_prologue): Mark extra
        output registers as fixed.
        (ia64_function_epilogue): Undo output fixation.

From-SVN: r37029
2000-10-23 17:26:12 -07:00
Richard Henderson
964686defd alpha.md: Add names for all unnamed insns; use define_insn_and_split in some obvious places.
* config/alpha/alpha.md: Add names for all unnamed insns; use
        define_insn_and_split in some obvious places.
        (lda): Remove.
        (zero_extendqihi2): Use an expander w/ nonimmediate_operand for BWX.
        (zero_extendqisi2, zero_extendqidi2): Likewise.
        (zero_extendhisi2, zero_extendhidi2): Likewise.
        (abs splitters): Fix match_scratch operand number.
        (bcc_reverse): Swap pc & label instead of non-canonical compare.

From-SVN: r37028
2000-10-23 17:06:18 -07:00
Jim Wilson
18a3c539ee Fix Turbo's LPRng compilation failure due to assembler errors.
* ia64.c (ia64_print_operand, case 'r'): Correct comment.  Handle
	CONST_INT.
	* ia64.md (cmpsi_adjusted): Use %r3.
	(cmpdi_adjusted): Likewise.

From-SVN: r37025
2000-10-23 16:38:39 -07:00
Jason Merrill
6c6ed0ef92 * call.c (equal_functions): Also call decls_match for extern "C" fns.
From-SVN: r37024
2000-10-23 17:38:33 -04:00
Diego Novillo
57dd137ffb att.h (ASM_FILE_START): Define.
2000-10-23  Diego Novillo  <dnovillo@cygnus.com>

	* config/i386/att.h (ASM_FILE_START): Define.

From-SVN: r37023
2000-10-23 16:21:58 -04:00
Diego Novillo
d984704dd1 linux.h (ASM_FILE_START): Define.
2000-10-23  Diego Novillo  <dnovillo@cygnus.com>

	* config/i386/linux.h (ASM_FILE_START): Define.

From-SVN: r37022
2000-10-23 16:07:50 -04:00
Alexandre Petit-Bianco
eade41de2a AbstractSet.java (equals): Re-installed original code.
2000-10-23  Alexandre Petit-Bianco  <apbianco@cygnus.com>

	* java/util/AbstractSet.java (equals): Re-installed original code.

(http://sources.redhat.com/ml/java-patches/2000-q4/msg00054.html)

From-SVN: r37021
2000-10-23 12:52:45 -07:00
Donald Lindsay
261f21e70d m68k-coff removed libgloss to fix a multiple definition of crt0
From-SVN: r37020
2000-10-23 18:54:12 +00:00
Geoff Keating
2af88768a8 reload1.c (reload_reg_reaches_end_p): A RELOAD_OTHER can overwrite the value in a RELOAD_FOR_INPUT and other kinds of...
* reload1.c (reload_reg_reaches_end_p): A RELOAD_OTHER can
	overwrite the value in a RELOAD_FOR_INPUT and other kinds of
	reloads just like an RELOAD_FOR_OUTPUT would.

From-SVN: r37019
2000-10-23 18:45:15 +00:00
Geoff Keating
96af667a5e local-alloc.c (update_equiv_regs): Add an abort().
* local-alloc.c (update_equiv_regs): Add an abort().  When
	deleting or moving insns, update reg_equiv[regno].init_insns.

From-SVN: r37018
2000-10-23 18:42:52 +00:00
Alex Samuel
ea343d1a91 Fix incorrect date in ChangeLog entry.
From-SVN: r37017
2000-10-23 18:11:23 +00:00
Gabriel Dos Reis
c3229aa7c0 std_valarray.h (valarray::valarray): Use __valarray_copy, not __valarray_copy_construct.
2000-10-23  Gabriel Dos Reis  <gdr@codesourcery.com>

	* std/std_valarray.h (valarray::valarray): Use __valarray_copy,
	not __valarray_copy_construct.

From-SVN: r37016
2000-10-23 16:24:19 +00:00
Mark Mitchell
d252a51551 c-tree.texi: Improve documentation for IF_STMTs and related conditional statements.
* c-tree.texi: Improve documentation for IF_STMTs and related
	conditional statements.

From-SVN: r37015
2000-10-23 14:43:33 +00:00