Commit Graph

46228 Commits

Author SHA1 Message Date
Mark Wielaard cfc814d47e URL.java: Merge with Classpath (partly).
* java/net/URL.java: Merge with Classpath (partly).
	* java/net/URLStreamHandler: Merge with Classpath.

From-SVN: r59378
2002-11-22 16:48:52 +00:00
Kazu Hirata 41c3eb5d45 h8300.c (compute_a_shift_length): Fix the insn length computation when xor.l is output.
* config/h8300/h8300.c (compute_a_shift_length): Fix the insn
	length computation when xor.l is output.

From-SVN: r59376
2002-11-22 14:16:12 +00:00
Michael Koch c6d58c6682 2002-11-22 Michael Koch <konqueror@gmx.de>
* include/posix.h:
	(_Jv_platform_on_close): Moved out of #ifndef DISBALE_JAVA_NET.
	* include/win32.h:
	(_Jv_platform_on_close): Moved out of #ifndef DISBALE_JAVA_NET.
	(backtrace): Moved out of #ifndef DISBALE_JAVA_NET.

From-SVN: r59374
2002-11-22 10:27:53 +00:00
GCC Administrator fac3e63d64 Daily bump.
From-SVN: r59373
2002-11-22 08:17:23 +00:00
Ranjit Mathew 7fe75c0324 jartool.c (extract_jar): Use "open" with O_BINARY instead of "creat" to create extracted files.
2002-11-21  Ranjit Mathew <rmathew@hotmail.com>

	* jartool.c (extract_jar): Use "open" with O_BINARY instead of
	"creat" to create extracted files.

From-SVN: r59366
2002-11-22 03:20:24 +00:00
Jim Wilson 57de2c8fb8 rs6000.c (function_arg): Set inner mode of SPE vectors to SI.
2002-11-21  Jim Wilson  <wilson@redhat.com>

	* config/rs6000/rs6000.c (function_arg): Set inner mode of SPE
	vectors to SI.

From-SVN: r59365
2002-11-22 02:22:13 +00:00
Bob Wilson 58db834b27 xtensa-protos.h (xtensa_copy_incoming_a7): Declare.
* config/xtensa/xtensa-protos.h (xtensa_copy_incoming_a7): Declare.
        * config/xtensa/xtensa.c (struct machine_function): Add
        incoming_a7_copied flag.
        (xtensa_copy_incoming_a7): Define.
        (xtensa_emit_move_sequence): Use xtensa_copy_incoming_a7.
        * config/xtensa/xtensa.md (movdi, movsf, movdf): Ditto.

From-SVN: r59364
2002-11-22 00:23:31 +00:00
Jan Hubicka c05dbe8131 i386-protos.h (x86_64_sign_extended_value): Fix prototype.
* i386-protos.h (x86_64_sign_extended_value): Fix prototype.
	* i386.c (x86_64_general_operand, x86_64_szext_general_operand,
	x86_64_nonmemory_operand, x86_64_movabs_operand,
	x86_64_szext_nonmemory_operand, x86_64_immediate_operand,
	ix86_expand_int_movcc): Update call of x86_64_sign_extended_value.
	(local_symbolic_operand): Do not care the 64bit limits.
	(x86_64_sign_extended_value): Remove allow_rip support.
	(legitimate_pic_address_disp_p): Handle all cases allowed
	with RIP addressing.
	(legitimate_address_p): Use legitimate_pic_address_disp_p for PIC.
	(legitimize_pic_address): Reorganize.
	* i386.h (EXTRA_CONSTRAINT): Update call of x86_64_sign_extended_value.

From-SVN: r59362
2002-11-21 22:54:20 +00:00
Eric Botcazou 75c2b9730d * gcc.dg/i386-unroll-1.c: New test.
From-SVN: r59361
2002-11-21 22:08:15 +00:00
Glen Nakamura 1c83ea9fd0 re PR c++/8342 (g++.jason/pmf7.C fails on i586-pc-linux-gnu)
PR c++/8342
	* typeck.c (get_member_function_from_ptrfunc): Make sure that a
	SAVE_EXPR for instance_ptr doesn't get evaluated first inside one
	of the branches of a COND_EXPR.

From-SVN: r59360
2002-11-21 21:42:40 +00:00
Jason Thorpe ff3afb5623 config.gcc (arm*-*-netbsdelf*): Enable configuration.
* config.gcc (arm*-*-netbsdelf*): Enable configuration.
* config/arm/netbsd-elf.h: New file.

From-SVN: r59359
2002-11-21 21:39:17 +00:00
Jason Thorpe 57c21a4200 elf.h (SUBTARGET_EXTRA_SPECS): Add subtarget_asm_float_spec.
* config/arm/elf.h (SUBTARGET_EXTRA_SPECS): Add
subtarget_asm_float_spec.
(SUBTARGET_ASM_FLOAT_SPEC): Define, moving the
defaults from...
(ASM_SPEC): ...here.  Use subtarget_asm_float_spec.

From-SVN: r59358
2002-11-21 21:29:24 +00:00
Ulrich Weigand 5f2925a72d loader.exp (gcj_loader_test_one): Fix typo in 'type' argument to libjava_tcompile.
* libjava.loader/loader.exp (gcj_loader_test_one): Fix typo in
	'type' argument to libjava_tcompile.
	(gcj_loader_run): Use libjava_tcompile instead of running
	GCJ_UNDER_TEST directly.

From-SVN: r59351
2002-11-21 18:14:47 +00:00
Michael Koch d1bf262d83 posix.h: I put too much into the #ifndef DISABLE_JAVA_NET.
2002-11-21  Michael Koch <konqueror@gmx.de>

        * include/posix.h: I put too much into the #ifndef DISABLE_JAVA_NET.
        Only the new network functions should be in it.

From-SVN: r59350
2002-11-21 18:01:22 +00:00
Nick Clifton 3d5ee65b2e fr30.md (movsf_constant_store): Move code to detect 0.0 into fr30.c.
* config/fr30/fr30.md (movsf_constant_store): Move code to detect 0.0 into fr30.c.
* config/fr30/fr30-protos.h (fr30_const_double_is_zero): Prototype.
* config/fr30/fr30.c (fr30_const_double_is_zero): New function.  Return true if the rtx is 0.0.

From-SVN: r59349
2002-11-21 16:36:52 +00:00
Jason Thorpe 4d938a0912 elf.h (ASM_SPEC, LINK_SPEC): Pass -EL if -mlittle-endian is specified.
* config/arm/elf.h (ASM_SPEC, LINK_SPEC): Pass -EL
if -mlittle-endian is specified.

From-SVN: r59348
2002-11-21 15:48:02 +00:00
Richard Earnshaw 1dda7ee45a re PR rtl-optimization/2903 ([arm] Optimization bug with long long arithmetic)
PR optimization/2903
* arm.md (anddi_notzesidi_di): Operand 2 is inverted not operand 1.
(anddi_notsesidi_di): Likewise.

From-SVN: r59347
2002-11-21 14:51:27 +00:00
Michael Koch e59ff7e93a posic.h: Moved new functions into a #ifndef DISABLE_JAVA_NET
2002-11-21  Michael Koch <konqueror@gmx.de>

	* include/posic.h: Moved new functions into a #ifndef DISABLE_JAVA_NET
	* include/win32.h: Moved new functions into a #ifndef DISABLE_JAVA_NET

From-SVN: r59346
2002-11-21 14:34:12 +00:00
Kazu Hirata 7c143ed268 h8300.c (print_operand): Use h8300_eightbit_constant_address_p and h8300_tiny_constant_address_p.
* config/h8300/h8300.c (print_operand): Use
	h8300_eightbit_constant_address_p and
	h8300_tiny_constant_address_p.
	(h8300_adjust_insn_length): Likewise.
	* config/h8300/h8300.h (EIGHTBIT_CONSTANT_ADDRESS_P): Remove.
	(TINY_CONSTANT_ADDRESS_P): Likewise.
	(OK_FOR_U): Use eightbit_constant_address_p.

From-SVN: r59343
2002-11-21 14:09:31 +00:00
Ulrich Weigand b5798b2a8b libgcc-libc.ver: Add multilib support.
* config/s390/libgcc-libc.ver: Add multilib support.
	* config/s390/linux.h (MULTILIB_DEFAULT): Define.
	* config/s390/t-linux64 (MULTILIB_OPTIONS, MULTILIB_DIRNAMES,
	MULTILIB_OSDIRNAMES, LIBGCC, INSTALL_LIBGCC,
	EXTRA_MULTILIB_PARTS): Define.

From-SVN: r59342
2002-11-21 12:03:49 +00:00
Michael Koch 6315b6cbff AsynchronousCloseException.java, [...]: New files.
2002-11-21  Michael Koch <konqueror@gmx.de>

	* java/nio/channels/AsynchronousCloseException.java,
	java/nio/channels/CancelledKeyException.java,
	java/nio/channels/ClosedByInterruptException.java,
	java/nio/channels/ConnectionPendingException.java,
	java/nio/channels/FileLockInterruptionException.java,
	java/nio/channels/IllegalSelectorException.java,
	java/nio/channels/NoConnectionPendingException.java,
	java/nio/channels/NonReadableChannelException.java,
	java/nio/channels/NonWritableChannelException.java,
	java/nio/channels/NotYetBoundException.java,
	java/nio/channels/NotYetConnectedException.java,
	java/nio/channels/OverlappingFileLockException.java,
	java/nio/channels/UnresolvedAddressException.java,
	java/nio/channels/UnsupportedAddressTypeException.java:
	New files.
	* Makefile.am (ordinary_java_source_files): Added new files.
	* Makefile.in: Regenerated.

From-SVN: r59341
2002-11-21 10:45:14 +00:00
Michael Koch 4033adc630 Forgot to add to cvs command line
From-SVN: r59340
2002-11-21 10:24:18 +00:00
Richard Earnshaw c231c91e55 arm.c (arm_get_frame_size): A leaf function does not need its stack padding to an aligned boundary if...
* arm.c (arm_get_frame_size): A leaf function does not need its
stack padding to an aligned boundary if it has no frame.
(thumb_get_frame_size): Likewise.

From-SVN: r59339
2002-11-21 10:22:02 +00:00
Michael Koch c3e0633cc3 2002-11-21 Michael Koch <konqueror@gmx.de>
* include/posix.h
       (_Jv_socket): New method.
       (_Jv_connect): New method.
       (_Jv_close): New method.
       (_Jv_platform_close_on_exec): Prefixed system function with "::".
       (_Jv_bind): New method.
       (_Jv_listen): New method.
       (_Jv_write): New method.
       (_Jv_read): New method.
       * include/win32.h
       (_Jv_socket): New method.
       (_Jv_connect): New method.
       (_Jv_close): New method.
       (_Jv_bind): New method.
       (_Jv_listen): New method.
       (_Jv_write): New method.
       (_Jv_read): New method.
       * java/net/natNetworkInterface.cc:
       Include platform.h, removed inclusion of socket.h
       (getRealNetworkInterfaces): Replaced ::socket() by _Jv_socket() and
       ::close() by _Jv_close().
       * java/net/natPlainDatagramSocketImpl.cc:
       Removed include of socket.h, definition of NATIVE_CLOSE and _Jv_bind,
       added some new lines to make code more readable.
       (create): Replaced ::socket() by _Jv_socket().
       (close): Replaced NATIVE_CLOSE() by _Jv_close().
       * java/net/natPlainSocketImpl.cc:
       Removed definition of NATIVE_CLOSE, _Jv_bind, Jv_connect and _Jv_accept,
       removed include of socket.h, removed some windows defines
       (now in include/win32.h).
       (create): Replaced ::socket() by _Jv_socket().
       (close): Replaced NATIVE_CLOSE() by _Jv_close().
       (write): Replaced ::read by _Jv_write().
       (read): Replaced ::read by _Jv_read().

From-SVN: r59338
2002-11-21 10:08:03 +00:00
Phil Edwards 0e4f7d33ad documentation.html: Fix broken/thinko'd URL.
2002-11-21  Phil Edwards  <pme@gcc.gnu.org>

	* docs/html/documentation.html:  Fix broken/thinko'd URL.

From-SVN: r59337
2002-11-21 08:28:34 +00:00
GCC Administrator 3c6843e78a Daily bump.
From-SVN: r59336
2002-11-21 08:17:21 +00:00
Phil Edwards 53e0a44759 run_doxygen: Tighter search expression for sed.
2002-11-21  Phil Edwards  <pme@gcc.gnu.org>

	* docs/doxygen/run_doxygen:  Tighter search expression for sed.
	* docs/doxygen/stdheader.cc:  Handle the case of good headers.

From-SVN: r59332
2002-11-21 08:16:32 +00:00
Phil Edwards e5e5d78d70 Fix ChangeLog edit goof.
From-SVN: r59329
2002-11-21 07:38:27 +00:00
Phil Edwards 974e336bb1 acinclude.m4: Uniform formatting.
2002-11-21  Phil Edwards  <pme@gcc.gnu.org>

	* acinclude.m4:  Uniform formatting.
	* configure.in:  x
	* configure.target:  x
	* aclocal.m4, configure:  Regenerate.

From-SVN: r59328
2002-11-21 07:34:30 +00:00
Phil Edwards a8a4259d5c streambuf.tcc (basic_streambuf::sputbackc): Prefix "this->" to call to pbackfail.
2002-11-21  Phil Edwards  <pme@gcc.gnu.org>

	* include/bits/streambuf.tcc (basic_streambuf::sputbackc):  Prefix
	"this->" to call to pbackfail.

From-SVN: r59327
2002-11-21 07:27:51 +00:00
Phil Edwards 664ce87016 style.css: Update.
2002-11-21  Phil Edwards  <pme@gcc.gnu.org>

	* docs/doxygen/style.css:  Update.
	* docs/doxygen/user.cfg.in:  Update.
	* docs/html/documentation.html:  Regenerate.
	* docs/html/17_intro/howto.html:  Tweak I/O sentry entry.
	* docs/html/27_io/howto.html:  New section on headers.
	* docs/html/faq/index.html:  Add i386 threading entry.
	* docs/html/faq/index.txt:  Regenerate.

	* docs/html/ext/lwg-active.html, docs/html/ext/lwg-defects.html:
	Import R23.

From-SVN: r59326
2002-11-21 07:16:01 +00:00
Phil Edwards 840ceb345b TODO: Note change in clause 27 docs.
2002-11-21  Phil Edwards  <pme@gcc.gnu.org>

	* docs/doxygen/TODO:  Note change in clause 27 docs.
	* include/bits/basic_ios.h, include/bits/fpos.h,
	include/bits/ios_base.h, include/bits/stl_deque.h,
	include/bits/stl_iterator_base_types.h, include/std/std_fstream.h,
	include/std/std_iomanip.h, include/std/std_iosfwd.h,
	include/std/std_iostream.h, include/std/std_istream.h,
	include/std/std_ostream.h, include/std/std_sstream.h,
	include/std/std_streambuf.h:  Doxygenate all I/O entities.

From-SVN: r59325
2002-11-21 07:06:41 +00:00
Toon Moene 02f0f531d4 invoke.texi: Explain the purpose of -fmove-all-movables...
2002-11-20  Toon Moene  <toon@moene.indiv.nluug.nl>

	* invoke.texi: Explain the purpose of -fmove-all-movables,
	-freduce-all-givs and -frerun-loop-opts better.

From-SVN: r59323
2002-11-20 23:22:50 +00:00
Steve Ellcey 27e58a706f emit-rtl.c (gen_reg_rtx): Simplify mapping of Complex type to component type using GET_MODE_INNER.
* emit-rtl.c (gen_reg_rtx): Simplify mapping of Complex type
	to component type using GET_MODE_INNER.
	* expr.c (emit_move_insn_1): Ditto.
	* optabs.c (expand_binop): Ditto.
	(expand_unop): Ditto.
	(expand_complex_abs): Ditto.

From-SVN: r59317
2002-11-20 21:52:59 +00:00
Douglas B Rupp 964b104aba * hwint.h (HAVE___INT64): Fix typo (was HAVE__INT64).
From-SVN: r59316
2002-11-20 21:41:19 +00:00
Benjamin Kosnik 5e85fa9997 streambuf.tcc (__copy_streambufs): Revert previous fix for the interactive half of libstdc++/6745...
2002-11-20  Benjamin Kosnik  <bkoz@redhat.com>
	    Jonathan Lennox  <lennox@cs.columbia.edu>

	* include/bits/streambuf.tcc (__copy_streambufs):
	Revert previous fix for the interactive half of
	libstdc++/6745, use _M_buf_size_opt to set dynamically
	the correct buffer size.

Co-Authored-By: Jonathan Lennox <lennox@cs.columbia.edu>

From-SVN: r59314
2002-11-20 21:22:48 +00:00
Michael Koch c6de9c29fd Makefile.am (ordinary_java_source_files): Added java/nio/channels/FileChannel.java.
2002-11-20  Michael Koch <konqueror@gmx.de>

	* Makefile.am (ordinary_java_source_files):
	Added java/nio/channels/FileChannel.java.
	* Makefile.in: Regenerated.

From-SVN: r59313
2002-11-20 21:19:26 +00:00
DJ Delorie 3d4b192ae9 stormy16.c (s16builtins, [...]): New.
* config/stormy16/stormy16.c (s16builtins,
xstormy16_init_builtins, xstormy16_expand_builtin): New.
* config/stormy16/stormy16.md (divmodhi4, sdivlh, udivlh): New.

From-SVN: r59312
2002-11-20 16:08:33 -05:00
Hans-Peter Nilsson 9a0a7d5dfa ggc-common.c [!ENABLE_VALGRIND_CHECKING] (VALGRIND_DISCARD): Define as empty.
* ggc-common.c [!ENABLE_VALGRIND_CHECKING] (VALGRIND_DISCARD):
	Define as empty.
	(ggc_realloc): Update valgrind annotations.
	* ggc-page.c [!ENABLE_VALGRIND_CHECKING] (VALGRIND_DISCARD):
	Define as empty.
 	(alloc_anon, free_page, ggc_alloc, poison_pages): Add machinery to
	valgrind-annotate memory.

From-SVN: r59310
2002-11-20 20:06:34 +00:00
Hans-Peter Nilsson 414d23ae18 Makefile.in (RUN_GEN, [...]): New variables.
* Makefile.in (RUN_GEN, VALGRIND_DRIVER_DEFINES): New variables.
	(DRIVER_DEFINES): Add $(VALGRIND_DRIVER_DEFINES).
	(executing gencheck, genconfigs, genconditions, genflags,
	gencodes, genconstants, genemit, genrecog, genopinit, genextract,
	genpeep, genattr, genattrtab, genoutput, gengenrtl, genpreds,
	gengtype, genprotos): Prepend $(RUN_GEN).
	* configure.in: Move host compiler tests before --enable-checking
	tests.
	(--enable-checking=valgrind): New.
	* config.in, configure: Regenerate.
	* cppfiles.c [!ENABLE_VALGRIND_CHECKING] (VALGRIND_DISCARD):
	Define as empty.
	(read_include_file): When doing the mmap+1 trick,
	valgrind-annotate the byte after the mmap:ed area as readable.
	(purge_cache): Remove above annotation.
	* gcc.c (execute) [ENABLE_VALGRIND_CHECKING]: Arrange to prepend
	VALGRIND_PATH -q to each command.

From-SVN: r59309
2002-11-20 19:49:53 +00:00
Ulrich Weigand 3ba2436a67 recog.c (constrain_operands): Prefer exact match over reloadable EXTRA_MEMORY_CONSTRAINT or...
* recog.c (constrain_operands): Prefer exact match over reloadable
	EXTRA_MEMORY_CONSTRAINT or EXTRA_ADDRESS_CONSTRAINT.

	* reload.c (find_reloads): Always reload EXTRA_ADDRESS_CONSTRAINT
	operands in Pmode.

From-SVN: r59308
2002-11-20 17:05:08 +00:00
Michael Koch 3ebb998e6f 2002-11-20 Michael Koch <konqueror@gmx.de>
* java/io/FileInputStream.java
	(getChannel): New method.
	* java/io/FileOutputStream.java
	(getChannel): New method.
	* java/net/ServerSocket.java
	(bind): Removed duplicate code and called another bind method instead.
	* java/nio/channels/SelectionKey.java
	(isValid): Removed wrong exception documentation.
	* java/nio/channels/ServerSocketChannel.java
	(accept): Added exception documentation.
	(open): Fixed typo, added exception documentation.
	* java/nio/channels/spi/AbstractSelectableChannel.java
	(implCloseChannel): Added exception documentation.
	(add): Reformated.
	(register): Added exception documentation.

From-SVN: r59307
2002-11-20 16:19:08 +00:00
Rainer Orth e6226a2f87 ltconfig (osf[345]): Append $major to soname_spec.
* ltconfig (osf[345]): Append $major to soname_spec.
	Reflect this in library_names_spec.
	* ltmain.sh (osf): Prefix $major with . for use as extension.

	boehm-gc:
	* ltconfig (osf[345]): Append $major to soname_spec.
	Reflect this in library_names_spec.
	* ltmain.sh (osf): Prefix $major with . for use as extension.

From-SVN: r59306
2002-11-20 15:59:07 +00:00
Andreas Jaeger 54d9d34a9b * configure: Regenerated with new libtool.m4.
From-SVN: r59305
2002-11-20 16:19:18 +01:00
Andreas Jaeger 3b75d2378c libtool.m4 (libtool_flags): Add patch from libtool CVS...
* libtool.m4 (libtool_flags): Add patch from libtool CVS: Support
	linking of 32-bit libraries with ld on the x86-64, ppc64, s390x
	and sparc64 GNU/Linux systems.

From-SVN: r59304
2002-11-20 16:18:53 +01:00
Eric Botcazou 6d1d1db044 20021120-1.c: New test.
* gcc.c-torture/compile/20021120-1.c: New test.
	* gcc.c-torture/compile/20021120-2.c: New test.

From-SVN: r59303
2002-11-20 10:50:29 +00:00
Eric Botcazou 02a362d982 re PR c/8518 (ICE when compiling mplayer)
PR c/8518
	* c-decl.c (duplicate_decls): Outline the second definition
	of an extern inline function in all cases.

From-SVN: r59302
2002-11-20 10:37:08 +00:00
Richard Sandiford 5354730bf6 stor-layout.c (place_field): Update rli->offset as well as rli->bitpos.
* stor-layout.c (place_field): Update rli->offset as well as
	rli->bitpos.

From-SVN: r59301
2002-11-20 10:09:01 +00:00
Richard Sandiford 5720520fc7 * sched-deps.c (sched_analyze): Check HARD_REGNO_CALL_PART_CLOBBERED.
From-SVN: r59300
2002-11-20 10:03:36 +00:00
Richard Sandiford 4392ebd361 sh.md (udivsi3): Don't put udivsi3_i4_media instructions into a libcall block.
* config/sh/sh.md (udivsi3): Don't put udivsi3_i4_media instructions
	into a libcall block.
	(divsi3): Likewise divsi3_i4_media.

From-SVN: r59299
2002-11-20 09:59:28 +00:00