OSDN Git Service

pf3gnuchains/gcc-fork.git
18 years ago * de.po: Update.
jsm28 [Wed, 26 Nov 2003 17:31:19 +0000 (17:31 +0000)]
* de.po: Update.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73955 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago2003-11-26 Paolo Carlini <pcarlini@suse.de>
paolo [Wed, 26 Nov 2003 15:56:40 +0000 (15:56 +0000)]
2003-11-26  Paolo Carlini  <pcarlini@suse.de>
    Petur Runolfsson  <peturr02@ru.is>

PR libstdc++/13171
* include/bits/fstream.tcc (imbue): Relax the conditions under
which the function succeeds: allow for two consecutive calls with
the same name; state dependent encodings are ok even after open
if at the beginning of the file; don't check seekoff return value
(pipes, cin, cout, etc...)
* testsuite/27_io/basic_filebuf/imbue/char/13171-1.cc: New.
* testsuite/27_io/basic_filebuf/imbue/char/13171-2.cc: New.
* testsuite/27_io/basic_filebuf/imbue/char/13171-3.cc: New.
* testsuite/27_io/basic_filebuf/imbue/char/13171-4.cc: New.
* testsuite/27_io/basic_filebuf/imbue/char/2.cc: Tweak comment.
* testsuite/27_io/basic_filebuf/imbue/char/3.cc: Likewise.
* testsuite/27_io/basic_filebuf/imbue/wchar_t/2.cc: Tweak comment.
* testsuite/27_io/basic_filebuf/imbue/wchar_t/3.cc: Likewise.

* testsuite/27_io/basic_filebuf/imbue/wchar_t/12868.cc: More
correctly use the UTF-8 locale appearing in the PR.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73954 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago2003-11-26 Guilhem Lavaux <guilhem@kaffe.org>
mkoch [Wed, 26 Nov 2003 15:48:08 +0000 (15:48 +0000)]
2003-11-26  Guilhem Lavaux  <guilhem@kaffe.org>
    Mark Wielaard  <mark@klomp.org>

* java/net/URLStreamHandler (parseUrl): Fixed URL parsing
('@' should be checked to distinguish port from userinfo).
(toExternalForm): Add @ userInfo if necessary.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73953 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago2003-11-26 Michael Koch <konqueror@gmx.de>
mkoch [Wed, 26 Nov 2003 14:50:27 +0000 (14:50 +0000)]
2003-11-26  Michael Koch  <konqueror@gmx.de>

* java/net/DatagramSocket.java
(DategramSocket, bind): Moved binding code from DatagramSocket
constructor to bind method.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73952 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago2003-11-26 Michael Koch <konqueror@gmx.de>
mkoch [Wed, 26 Nov 2003 14:33:41 +0000 (14:33 +0000)]
2003-11-26  Michael Koch  <konqueror@gmx.de>

* java/net/DatagramSocket.java
(impl): Made private.
(bound): New private member variable.
(DatagramSocket): Fixed documentation, use getImpl().
(getImpl): New package-private method.
(isClosed): Use getImpl().
(getLocalAddress): Completed documentation, use getImpl().
(getLocalPort): Use getImpl().
(getSoTimeout): Likewise.
(setSoTimeout): Likewise.
(getSendBufferSize): Likewise.
(setSendBufferSize): Likewise.
(getReceiveBufferSize): Likewise.
(setReceiveBufferSize): Likewise.
(connect): Likewise.
(disconnect): Likewise.
(receive): Likewise.
(send): Likewise.
(setReuseAddress): Likewise.
(setTrafficClass): Likewise.
(bind): Added message to exception.
(isClosed): Completed documentation.
(getChannel): Likewise.
(connect): Added missing exception, refined exception message.
(isBound): Completed documentation, just return bound.
(isConnected): Completed documentation.
(getRemoteSocketAddress): Likewise.
(getReuseAddress): Completed documentation, use getImpl().
(setSoBroadcast): Likewise.
(getSoBroadcast): Likewise.
(getTrafficClass): Likewise.
(getLocalSocketAddress): Simplified.
* java/net/MulticastSocket.java
(MulticastSocket): Removed comment not applying anymore.
(getInterface): Use getImpl().
(getTTL): Likewise.
(getTimeToLive): Likewise.
(setInterface): Likewise.
(setNetworkInterface): Likewise.
(getNetworkInterface): Likewise.
(setLoopback): Likewise.
(getLoopback): Likewise.
(setTTL): Likewise.
(setTimeToLive): Likewise.
(joinGroup): Likewise.
(leaveGroup): Likewise.
(send): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73951 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * testsuite/libffi.call/ffitest.h: Include <fcntl.h>.
ghazi [Wed, 26 Nov 2003 13:46:10 +0000 (13:46 +0000)]
* testsuite/libffi.call/ffitest.h: Include <fcntl.h>.
* testsuite/libffi.special/ffitestcxx.h: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73950 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago2003-11-26 Michael Koch <konqueror@gmx.de>
mkoch [Wed, 26 Nov 2003 12:45:21 +0000 (12:45 +0000)]
2003-11-26  Michael Koch  <konqueror@gmx.de>

* java/net/Socket.java
(implCreated): Dont set default value explicitely, added
documentation.
(inputShutdown): Likewise.
(outputShutdown): Likewise.
(bound): New private member variable.
(bind): Set bound to true.
(close): Set bound to false.
(isBound): Return bound.
* java/net/ServerSocket.java
(bound): New private member variable.
(bind): Set bound to true.
(close): Set bound to false.
(isBound): Return bound.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73949 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago2003-11-26 Paolo Carlini <pcarlini@suse.de>
paolo [Wed, 26 Nov 2003 11:47:01 +0000 (11:47 +0000)]
2003-11-26  Paolo Carlini  <pcarlini@suse.de>

* include/bits/locale_facets.h
(__numpunct_cache<>::_M_cache): Avoid zeroing _M_grouping,
_M_truename and _M_falsename: the constructor always does
it immediately before the _M_cache call.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73948 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago2003-11-26 Michael Koch <konqueror@gmx.de>
mkoch [Wed, 26 Nov 2003 11:45:31 +0000 (11:45 +0000)]
2003-11-26  Michael Koch  <konqueror@gmx.de>

* java/net/URL.java
(URL): Fixed documentation to be HTML compliant.
(getContent): Completed documentation.
(getFile): Likewise.
(getPath): Likewise.
(getAuthority): Likewise.
(getHost): Likewise.
(getDefaultPort): Likewise.
(getProtocol): Likewise.
(hashCode): Likewise.
(openConnection): Likewise.
(openStream): Likewise.
(set): Likewise.
(getURLStreamHandler): Wrapped lines to fit into our 79 chars rule.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73947 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago2003-11-26 Michael Koch <konqueror@gmx.de>
mkoch [Wed, 26 Nov 2003 10:41:02 +0000 (10:41 +0000)]
2003-11-26  Michael Koch  <konqueror@gmx.de>

* java/net/InetSocketAddress.java
(hostname): Made private, added documentation.
(addr): Likewise.
(port): Likewise.
(equals): Completed documentation.
(getAddress): Likewise.
(getHostName): Likewise.
(getPort): Likewise.
(hashCode): Likewise.
(isUnresolved): Likewise.
(toString): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73946 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago2003-11-26 Michael Koch <konqueror@gmx.de>
mkoch [Wed, 26 Nov 2003 10:17:51 +0000 (10:17 +0000)]
2003-11-26  Michael Koch  <konqueror@gmx.de>

* gnu/java/net/protocol/file/Handler.java
(Handler): New explicit constructor.
(openConnection): Added documentation.
* gnu/java/net/protocol/jar/Handler.java
(Handler): New explicit constructor.
(openConnection): Added documentation.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73945 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago2003-11-26 Michael Koch <konqueror@gmx.de>
mkoch [Wed, 26 Nov 2003 10:11:45 +0000 (10:11 +0000)]
2003-11-26  Michael Koch  <konqueror@gmx.de>

* java/net/DatagramPacket.java
(DatagramPacket): Fixed documentation to become legal HTML.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73944 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * gcc.c-torture/compile/20031023-4.c: Don't XFAIL on SPARC64.
ebotcazou [Wed, 26 Nov 2003 09:51:24 +0000 (09:51 +0000)]
* gcc.c-torture/compile/20031023-4.c: Don't XFAIL on SPARC64.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73943 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago PR target/6466
ebotcazou [Wed, 26 Nov 2003 09:48:21 +0000 (09:48 +0000)]
PR target/6466
* config/sparc/sparc-protos.h (compute_frame_size): New prototype.
(sparc_flat_compute_frame_size): Likewise.
(sparc_flat_save_restore): Move prototype...
* config/sparc/sparc.c (sparc_flat_save_restore): ...here.
(save_regs): New prototype.
(build_big_number): Likewise.
(apparent_fsize): Change type to HOST_WIDE_INT.
(actual_fsize): Likewise.
(frame_base_offset): Likewise.
(build_big_number): Add support for HOST_BITS_PER_WIDE_INT == 64.
Change string descriptor to HOST_WIDE_INT_PRINT_DEC.
[TARGET_ARCH64]: Use the sequence of sparc_emit_set_const64_longway
to load a 64-bit constant.
(sparc_nonflat_function_prologue): Change string descriptor to
HOST_WIDE_INT_PRINT_DEC.  Change offset type to HOST_WIDE_INT.
(output_restore_regs): Change offset type to HOST_WIDE_INT.
(sparc_nonflat_function_epilogue): Change string descriptor to
HOST_WIDE_INT_PRINT_DEC.  Use build_big_number.
(output_sibcall): Change size type to HOST_WIDE_INT.  Use
build_big_number.  Change string descriptor to HOST_WIDE_INT_PRINT_DEC.
(sparc_frame_info): Change types for several components.
(sparc_flat_compute_frame_size): Update types according to previous
change.
(sparc_flat_function_prologue): Change string descriptor to
HOST_WIDE_INT_PRINT_DEC.  Change offset type to int.  Use
build_big_number.
(sparc_flat_function_epilogue): Change offset type to int.
Rename 'size1' into 'reg_offset1'.  Change string descriptor to
HOST_WIDE_INT_PRINT_DEC.  Use build_big_number.  Change big number
limit to 4096 instead of 4095.

* config/sparc/sparc.c (mems_ok_for_ldd_peep): Change offset type to
HOST_WIDE_INT.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73942 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago PR java/12548
membar [Wed, 26 Nov 2003 01:34:32 +0000 (01:34 +0000)]
  PR java/12548
  * resource.c (write_resource_constructor): Append
  "_resource" to constructor identifier name.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73940 138bc75d-0d04-0410-961f-82ee72b054a4

18 years agoDaily bump.
gccadmin [Wed, 26 Nov 2003 00:16:06 +0000 (00:16 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73936 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago2003-11-25 Paolo Carlini <pcarlini@suse.de>
paolo [Tue, 25 Nov 2003 21:41:28 +0000 (21:41 +0000)]
2003-11-25  Paolo Carlini  <pcarlini@suse.de>

* config/locale/gnu/codecvt_members.cc (codecvt::do_length):
Rewrite, using both mbsnrtowcs and mbrtowc in a loop: the
former is very fast, but stops if encounters a NUL.
(codecvt::do_out): Tweaks.
(codecvt::do_in): Tweaks, improve the code dealing with errors.
* testsuite/performance/wchar_t_length.cc: New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73934 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * cp-demangle.c (java_demangle_v3): Pass DMGL_PARAMS to
ian [Tue, 25 Nov 2003 21:04:41 +0000 (21:04 +0000)]
* cp-demangle.c (java_demangle_v3): Pass DMGL_PARAMS to
d_demangle.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73931 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago2003-11-25 Michael Koch <konqueror@gmx.de>
mkoch [Tue, 25 Nov 2003 18:26:08 +0000 (18:26 +0000)]
2003-11-25  Michael Koch  <konqueror@gmx.de>

* gcj/javaprims.h: Added missing java.util.Currency.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73927 138bc75d-0d04-0410-961f-82ee72b054a4

18 years agoFix PR java/13183.
jsturm [Tue, 25 Nov 2003 17:32:54 +0000 (17:32 +0000)]
Fix PR java/13183.
* constants.c (cpool_for_class): New function.
(outgoing_cpool): Remove global variable.
(alloc_name_constant): Use cpool_for_class.
(build_constants_constructor): Likewise.
* decl.c (java_expand_body): Set current_class.
* java-tree.h (outgoing_cpool) Remove declaration.
(init_outgoing_cpool): Likewise.
* jcf-parse.c (init_outgoing_cpool): Remove function.
(parse_class_file): Don't call init_outgoing_cpool.
* parse.y (java_complete_expand_methods): Don't call
init_outgoing_cpool.  Don't save outgoing_cpool.
(java_expand_classes): Don't restore outgoing_cpool.
(java_finish_classes): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73926 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * Make-lang.in (treelang.tags): Create TAGS.sub files in each
jason [Tue, 25 Nov 2003 15:44:51 +0000 (15:44 +0000)]
    * Make-lang.in (treelang.tags): Create TAGS.sub files in each
        directory and TAGS files that include them for each front end.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73921 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago2003-11-25 Michael Koch <konqueror@gmx.de>
mkoch [Tue, 25 Nov 2003 10:31:27 +0000 (10:31 +0000)]
2003-11-25  Michael Koch  <konqueror@gmx.de>

* testsuite/libjava.mauve/xfails:
Removed these two tests, they mystically pass now:
-FAIL: gnu.testlet.java.net.ServerSocket.ServerSocketTest: Error :
test_params failed - 5getInetAddress did not return proper values
(number 1)
-FAIL: gnu.testlet.java.net.Socket.SocketTest: Error :
test_BasicServer failed - 11 exception was thrown :Illegal seek
(number 1)

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73919 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago2003-11-25 Michael Koch <konqueror@gmx.de>
mkoch [Tue, 25 Nov 2003 10:09:48 +0000 (10:09 +0000)]
2003-11-25  Michael Koch  <konqueror@gmx.de>

* java/net/DatagramSocket.java
(factory): Made private.
(closed): Removed.
(DatagramSocket): Check impl argument, use constructor with
SocketAddress argument.
(close): Set impl to null, use isClosed().
(isClosed): Check for impl == null.
(getLocalAddress): Use isClosed().
(getLocalPort): Check if socket is closed.
(getSoTimeout): Likewise.
(setSoTimeout): Likewise.
(getSendBufferSize): Likewise.
(setSendBufferSize): Likewise.
(getReceiveBufferSize): Likewise.
(setReceiveBufferSize): Likewise.
(receive): Likewise.
(send): Likewise.
(bind): Likewise.
(connect): Likewise.
(setReuseAddress): Likewise.
(getReuseAddress): Likewise.
(setBroadcast): Likewise.
(getBroadcast): Likewise.
(setTrafficClass): Likewise.
(getTrafficClass): Likewise.
* java/net/MulticastSocket.java
(getInterface): Check if socket is closed.
(getTTL): Likewise.
(getTimeToLive): Likewise.
(setInterface): Likewise.
(setNetworkInterface): Likewise.
(getNetworkInterface): Likewise.
(setLoopbackMode): Likewise.
(setTTL): Likewise.
(setTimeToLive): Likewise.
(joinGroup): Likewise.
(leaveGroup): Likewise.
(send): Likewise.
* java/net/ServerSocket.java
(closed): Removed.
(close): Check if socket is closed, set impl to null.
(isClosed): Check impl == null;
(ServerSocket): Check impl argument.
(getInetAddress): Check if socket is bound.
(getLocalPort): Likewise.
(getLocalSocketAddress): Likewise.
(bind): Check if socket is closed.
(implAccept): Likewise.
(setSoTimeout): Likewise.
(getSoTimeout): Likewise.
(setReuseAddress): Likewise.
(getReuseAddress): Likewise.
(setReceiveBufferSize): Likewise.
(getReceiveBufferSize): Likewise.
(toString): Make output compliant to JDK 1.4.2.
* java/net/Socket.java
(closed): Removed.
(Socket): Fixed documentation.
(connect): Check if socket is closed, changed exception text,
fixed documentation.
(getInputStream): Check of socket is closed  and connected.
(getOutputStream): Likewise.
(bind): Check if socket is closed.
(setTcpNoDelay): Likewise.
(getTcpNoDelay): Likewise.
(setSoLinger): Likewise.
(getSoLinger): Likewise.
(sendUrgentData): Likewise.
(setOOBInline): Likewise.
(getOOBInline): Likewise.
(setSoTimeout): Likewise.
(getSoTimeout): Likewise.
(setSendBufferSize): Likewise.
(getSendBufferSize): Likewise.
(setReceiveBufferSize): Likewise.
(getReceiveBufferSize): Likewise.
(setKeepAlive): Likewise.
(getKeepAlive): Likewise.
(close): Likewise.
(shutdownInput): Likewise.
(shutdownOutput): Likewise.
(getReuseAddress): Likewise.
(getTrafficClass): Likewise.
(setTrafficClass): Likewise.
(isClosed): Check impl == null.
(toString): Added missing ']'.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73918 138bc75d-0d04-0410-961f-82ee72b054a4

18 years agoFix date in my latest commit.
aj [Tue, 25 Nov 2003 05:54:14 +0000 (05:54 +0000)]
Fix date in my latest commit.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73915 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * Makefile.in: Rebuilt.
tromey [Tue, 25 Nov 2003 01:57:29 +0000 (01:57 +0000)]
* Makefile.in: Rebuilt.
* Makefile.am (propdir): New macro.
(install-data-local): Install logging.properties.
(core_java_source_files): Added java.util.logging.*.
* java/util/logging/logging.properties: New file.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73907 138bc75d-0d04-0410-961f-82ee72b054a4

18 years agoDaily bump.
gccadmin [Tue, 25 Nov 2003 00:16:07 +0000 (00:16 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73905 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago2003-11-25 Michael Koch <konqueror@gmx.de>
mkoch [Mon, 24 Nov 2003 23:00:07 +0000 (23:00 +0000)]
2003-11-25  Michael Koch  <konqueror@gmx.de>

* java/net/DatagramSocket.java
(DatagramSocket): Move binding code to bind(), simplify constructors.
* java/net/MulticastSocket.java
(MulticastSocket): Call parent constructor with null argument,
bind socket after setReuseAddress is called, simplify constructors.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73902 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago2003-11-24 Toon Moene <toon@moene.indiv.nluug.nl>
toon [Mon, 24 Nov 2003 21:48:08 +0000 (21:48 +0000)]
2003-11-24  Toon Moene  <toon@moene.indiv.nluug.nl>

PR fortran/12633
* expr.c (ffeexpr_reduced_ugly2log_): Revert
change allowing logical .and. logical to be
integer in expressions when -fugly-logint.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73898 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago PR ada/13142
charlet [Mon, 24 Nov 2003 21:40:58 +0000 (21:40 +0000)]
PR ada/13142
* utils.c (init_gigi_decls): Change name of built-in setjmp to
__builtin_setjmp, since this is apparently needed by recent
non Ada changes.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73896 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago2003-11-23 Waldek Hebisch <hebisch@math.uni.wroc.pl>
aj [Mon, 24 Nov 2003 21:19:33 +0000 (21:19 +0000)]
2003-11-23  Waldek Hebisch <hebisch@math.uni.wroc.pl>

* function.c: Make outer_function-chain external.
* function.h: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73894 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago2003-11-24 Paolo Carlini <pcarlini@suse.de>
paolo [Mon, 24 Nov 2003 21:13:38 +0000 (21:13 +0000)]
2003-11-24  Paolo Carlini  <pcarlini@suse.de>

* config/locale/gnu/codecvt_members.cc (codecvt::do_in):
Rewrite, using both mbsnrtowcs and mbrtowc in a loop: the
former is very fast, but stops if encounters a NUL.
(codecvt::do_out): Tweak.
* testsuite/performance/wchar_t_in.cc: New.

2003-11-24  Paolo Carlini  <pcarlini@suse.de>

* include/bits/locale_facets.h
(__numpunct_cache<>::_M_cache): Set _M_allocated at the beginning
in order to avoid memory leaks; simplify a bit.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73893 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago2003-11-24 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Mon, 24 Nov 2003 21:02:39 +0000 (21:02 +0000)]
2003-11-24  Benjamin Kosnik  <bkoz@redhat.com>

* include/bits/streambuf_iterator.h (ostreambuf_iterator): Remove
non-standard throw specs.
* testsuite/24_iterators/istreambuf_iterator.cc: Split into...
* testsuite/24_iterators/istreambuf_iterator/1.cc
* testsuite/24_iterators/istreambuf_iterator/2.cc
* testsuite/24_iterators/istreambuf_iterator/2627.cc
* testsuite/24_iterators/ostreambuf_iterator.cc: Split into...
* testsuite/24_iterators/ostreambuf_iterator/1.cc
* testsuite/24_iterators/ostreambuf_iterator/2.cc

* testsuite/24_iterators/reverse_iterator/1.cc: Just compile,
don't link.

* include/bits/allocator.h: Formatting tweak.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73892 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * config.gcc (mips-sgi-irix6*): Add t-iris6gld to tmake_file when
rsandifo [Mon, 24 Nov 2003 21:02:12 +0000 (21:02 +0000)]
* config.gcc (mips-sgi-irix6*): Add t-iris6gld to tmake_file when
using GNU ld.
* config/mips/iris6.h (IRIX6_STARTFILE_SPEC): New, taking the
whole of the previous STARTFILE_SPEC except crtbegin.o%s.
(IRIX6_ENDFILE_SPEC): Likewise ENDFILE_SPEC and crtend.o%s.
(STARTFILE_SPEC, ENDFILE_SPEC): Define in terms of the above.
(SUBTARGET_EXTRA_SPECS): Define.
* config/mips/iris6gld.h (LINK_SPEC): Change -init function
to __gcc_init and -fini function to __gcc_fini.
(STARTFILE_SPEC): Redefine, including irix6-crti.o before crtbegin.o.
(ENDFILE_SPEC): Likewise, including irix6-crtn.o after crtend.o.
(INIT_SECTION_ASM_OP, FINI_SECTION_ASM_OP): Define.
* config/mips/t-iris6gld,
* config/mips/irix6-crti.asm,
* config/mips/irix6-crtn.asm: New files.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73891 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago2003-11-24 Eric Christopher <echristo@redhat.com>
echristo [Mon, 24 Nov 2003 20:12:06 +0000 (20:12 +0000)]
2003-11-24  Eric Christopher  <echristo@redhat.com>

PR C/13014
* c-decl.c (c_in_iteration_stmt, c_in_case_stmt): New.
(start_function): Use.
(c_push_function_context): Ditto.
(c-pop_function_context): Ditto.
        (language_function): Move...
* c-tree.h: ... here. Add x_in_iteration_stmt, and
x_in_case_stmt.
* c-parse.in (do_stmt_start, select_or_iter_stmt, stmt): Use
c_in_iteration_stmt, c_in_case_stmt for parser state. Move
check for valid break or continue statment here...
* c-semantics.c (genrtl_break_stmt, genrtl_continue_stmt): From
here. Change original errors to abort.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73887 138bc75d-0d04-0410-961f-82ee72b054a4

18 years agoApply lost changelog entry.
hubicka [Mon, 24 Nov 2003 19:04:54 +0000 (19:04 +0000)]
Apply lost changelog entry.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73886 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * cp-demangle.c (d_encoding): Add top_level parameter. Change all
ian [Mon, 24 Nov 2003 18:42:39 +0000 (18:42 +0000)]
* cp-demangle.c (d_encoding): Add top_level parameter.  Change all
callers.
(print_usage): Display new -p option.
(long_options): Add --no-params.
(main): Accept and handle -p.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73884 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * config/h8300/h8300.md (tablejump_h8300): Change to
kazu [Mon, 24 Nov 2003 17:34:16 +0000 (17:34 +0000)]
* config/h8300/h8300.md (tablejump_h8300): Change to
*tablejump_h8300.
(tablejump_h8300h): Change to *tablejump_h8300hs_advanced.
(tablejump_normal_mode): Change to *tablejump_h8300hs_normal.
(indirect_jump_h8300): Change to *indirect_jump_h8300.
(indirect_jump_h8300h): Change to
*indirect_jump_h8300hs_advanced.
(indirect_jump_normal_mode): Change to
*indirect_jump_h8300hs_normal.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73883 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago2003-11-24 Paolo Carlini <pcarlini@suse.de>
paolo [Mon, 24 Nov 2003 17:24:40 +0000 (17:24 +0000)]
2003-11-24  Paolo Carlini  <pcarlini@suse.de>

* src/locale_init.cc: Cosmetic reformatting.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73882 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago PR ada/13142
charlet [Mon, 24 Nov 2003 17:18:19 +0000 (17:18 +0000)]
PR ada/13142
* utils.c (init_gigi_decls): Change name of built-in setjmp to
__builtin_setjmp, since this is apparently needed by recent
non Ada changes.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73881 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * config/h8300/h8300.md: Remove constraints from expanders.
kazu [Mon, 24 Nov 2003 17:11:44 +0000 (17:11 +0000)]
* config/h8300/h8300.md: Remove constraints from expanders.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73880 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * config/h8300/h8300.md: (stm_h8300s_2): Change the name to
kazu [Mon, 24 Nov 2003 16:58:30 +0000 (16:58 +0000)]
* config/h8300/h8300.md: (stm_h8300s_2): Change the name to
stm_h8300s_2_advanced.
(stm_h8300s_2_normal): New.
(stm_h8300s_2): Likewise.
(stm_h8300s_3): Change the name to stm_h8300s_3_advanced.
(stm_h8300s_3_normal): New.
(stm_h8300s_3): Likewise.
(stm_h8300s_4): Change the name to stm_h8300s_4_advanced.
(stm_h8300s_4_normal): New.
(stm_h8300s_4): Likewise.
(ldm_h8300s_2): Change the name to ldm_h8300s_2_advanced.
(ldm_h8300s_2_normal): New.
(ldm_h8300s_2): Likewise.
(ldm_h8300s_3): Change the name to ldm_h8300s_3_advanced.
(ldm_h8300s_3_normal): New.
(ldm_h8300s_3): Likewise.
(ldm_h8300s_4): Change the name to ldm_h8300s_4_advanced.
(ldm_h8300s_4_normal): New.
(ldm_h8300s_4): Likewise.
(two peephole2's): Enable only with !TARGET_NORMAL_MODE.
(two peephole2's): New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73879 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago2003-11-24 Michael Koch <konqueror@gmx.de>
mkoch [Mon, 24 Nov 2003 16:55:43 +0000 (16:55 +0000)]
2003-11-24  Michael Koch  <konqueror@gmx.de>

* javax/swing/BoxLayout.java
(serialVersionUIR): New member variable.
(X_AXIS, Y_AXIS): Documentation added.
(LINE_AXIS, PAGE_AXIS): New constants.
(grid): Renamed from gridbag.
(BoxLayout): Use new constants, throw exception if invalid value for
way, added documentation.
(BoxLayout): Removed.
(addLayoutComponent): Use new constants, added documentation.
(removeLayoutComponent): Likewise.
(addLayoutContainer): Added documentation.
(preferredLayoutSize): Added documentation, check given argument.
(minimumLayoutSize): Likewise.
(layoutContainer): Likewise.
(getLayoutAlignmentX): Likewise.
(getLayoutAlignmentY): Likewise.
(invalidateLayout): Likewise.
(maximumLayoutSize): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73878 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * adadecode.c: Only include ctype.h if IN_GCC.
ro [Mon, 24 Nov 2003 16:38:39 +0000 (16:38 +0000)]
* adadecode.c: Only include ctype.h if IN_GCC.
(__gnat_decode): Use ISDIGIT from safe-ctype.h.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73876 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * Make-lang.in: (java.install-common) Add
membar [Mon, 24 Nov 2003 15:14:23 +0000 (15:14 +0000)]
* Make-lang.in: (java.install-common) Add
symlink for $(target_noncanonical)-gcjh for
native builds.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73875 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago2003-11-24 Jose Ruiz <ruiz@act-europe.fr>
charlet [Mon, 24 Nov 2003 14:27:57 +0000 (14:27 +0000)]
2003-11-24  Jose Ruiz  <ruiz@act-europe.fr>

* Makefile.in:
Use 5zintman.ads for VxWorks targets. This file avoid confusion between
signals and interrupts.

* 5zintman.ads: New File.

* 5zintman.adb: Replace Exception_Interrupts by Exception_Signals, and
add exception signals to the set of unmasked signals.

* 5ztaprop.adb:
Use Abort_Task_Signal instead of Abort_Task_Interrupt to avoid confusion
between signals and interrupts.
Add to Unblocked_Signal_Mask the set of signals that are in
Keep_Unmasked.

* 7sinmaop.adb:
Adding a check to see whether the Interrupt_ID we want to unmask is in
the range of Keep_Unmasked (in procedure Interrupt_Self_Process). The
reason is that the index type of the Keep_Unmasked array is not always
Interrupt_ID; it may be a subtype of Interrupt_ID.

2003-11-24  Gary Dismukes  <dismukes@gnat.com>

* exp_util.adb:
(Remove_Side_Effects): Condition constantness of object created for a
 an unchecked type conversion on the constantness of the expression
 to ensure the correct value for 'Constrained when passing components
 of view-converted class-wide objects.

2003-11-24  Robert Dewar  <dewar@gnat.com>

* par-load.adb (Load): Improve handling of misspelled and missing units
Removes several cases of compilation abandoned messages

* lib.adb: (Remove_Unit): New procedure

* lib.ads: (Remove_Unit): New procedure

* lib-load.adb: Minor reformatting

2003-11-24  Vincent Celier  <celier@gnat.com>

* make.adb:
(Gnatmake, Initialize): Call Usage instead of Makeusg directly
(Marking_Label): Label to mark processed source files. Incremented for
each executable.
(Gnatmake): Increase Marking_Labet for each executable
(Is_Marked): Compare against marking label
(Mark): Mark with marking label

2003-11-24  Jerome Guitton  <guitton@act-europe.fr>

* s-thread.ads:
Move the declaration of the TSD for System.Threads to System.Soft_Links.
Add some comments.

* Makefile.in: Added target pair for s-thread.adb for cert runtime.
(rts-cert): build a single relocatable object for the run-time lib.
Fix perms.

2003-11-24  Vasiliy Fofanov  <fofanov@act-europe.fr>

* Make-lang.in:
Use gnatls rather than gcc to obtain the location of GNAT RTL for
crosstools build.

2003-11-24  Sergey Rybin  <rybin@act-europe.fr>

* opt.adb (Tree_Write): Gnat_Version_String is now a function, so we
can not use it as before (that is, as a variable) when dumping it into
the tree file. Add a local variable to store the result of this
function and to be used as the string to be written into the tree.

* scn.adb (Initialize_Scanner): Add comments explaining the recent
changes.

* sinput.adb (Source_First, Source_Last): In case of
Internal_Source_File, replace returning attributes of
Internal_Source_Ptr (which is wrong) with returning attributes of
Internal_Source.

2003-11-24  Ed Schonberg  <schonberg@gnat.com>

* sem_ch3.adb:
(New_Concatenation_Op): Proper name for New_Binary_Operator, only
used for implicit concatenation operators.
Code cleanup.

* sem_elab.adb:
(Check_Elab_Call): Set No_Elaboration_Check appropriately on calls in
task bodies that are in the scope of a Suppress pragma.
(Check_A Call): Use the flag to prevent spurious elaboration checks.

* sinfo.ads, sinfo.adb:
New flag No_Elaboration_Check on function/procedure calls, to properly
suppress checks on calls in task bodies that are within a local suppress
pragma.

* exp_ch4.adb:
(Expand_Concatenate_Other): Use the proper integer type for the
expression for the upper bound, to avoid universal_integer computations
when possible.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73874 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * genattrtab.c (simplify_cond): Update indices correctly.
rakdver [Mon, 24 Nov 2003 14:14:11 +0000 (14:14 +0000)]
* genattrtab.c (simplify_cond): Update indices correctly.
(attr_alt_subset_p, attr_alt_subset_of_compl_p, attr_alt_intersection,
attr_alt_union, attr_alt_complement, attr_alt_bit_p, mk_attr_alt): New.
(check_attr_test, encode_units_mask, compute_alternative_mask,
make_alternative_compare, simplify_and_tree,
attr_rtx_cost, simplify_test_exp, gen_attr,
write_test_expr, walk_attr_value): Handle EQ_ATTR_ALT.
* rtl.def (EQ_ATTR_ALT): New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73873 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * fold-const.c (fold): Do not return early when optimizing COMPONENT_REF
hubicka [Mon, 24 Nov 2003 00:50:31 +0000 (00:50 +0000)]
* fold-const.c (fold):  Do not return early when optimizing COMPONENT_REF
and constant.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73870 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * genattrtab.c (strcmp_check, DEF_ATTR_STRING): New macros.
rakdver [Mon, 24 Nov 2003 00:30:16 +0000 (00:30 +0000)]
* genattrtab.c (strcmp_check, DEF_ATTR_STRING): New macros.
(length_str, delay_type_str, delay_1_0_str, num_delay_slots_str):
New variables.
(main): Initialize them.
(find_attr): Canonicalize the attribute name string.
(attr_rtx_1, copy_boolean, expand_delays, gen_unit): Always canonicalize
string arguments.
(attr_printf, attr_eq): Use DEF_ATTR_STRING.
(check_attr_test, check_attr_value, make_length_attrs,
write_length_unit_log, simplify_by_exploding, gen_attr,
write_test_expr, write_attr_value, write_eligible_delay,
write_complex_function, make_internal_attr,
write_const_num_delay_slots): Changed due to change of type of
find_attr.
(fill_attr, evaluate_eq_attr, simplify_and_tree,
attr_rtx_cost, simplify_by_exploding, walk_attr_value): Use
strcmp_check.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73869 138bc75d-0d04-0410-961f-82ee72b054a4

18 years agoDaily bump.
gccadmin [Mon, 24 Nov 2003 00:16:07 +0000 (00:16 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73866 138bc75d-0d04-0410-961f-82ee72b054a4

18 years agoI forgot to mention the PR number.
kazu [Sun, 23 Nov 2003 22:30:06 +0000 (22:30 +0000)]
I forgot to mention the PR number.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73863 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * config/h8300/h8300.c (push): Call push_h8300hs_normal in
kazu [Sun, 23 Nov 2003 22:27:34 +0000 (22:27 +0000)]
* config/h8300/h8300.c (push): Call push_h8300hs_normal in
normal mode.
(pop): Call pop_h8300hs_normal in normal mode.
* config/h8300/h8300.md: Likewise.
(pushqi1_h8300hs_normal): New.
(pushqi1): Call pushqi1_h8300hs_normal in normal mode.
(pushhi1_h8300hs_normal): New.
(pushhi1): Call pushhi1_h8300hs_normal in normal mode.
(push_h8300hs_normal): New.
(pop_h8300hs_normal): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73862 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * genattrtab.c (count_sub_rtxs): Removed.
rakdver [Sun, 23 Nov 2003 21:06:43 +0000 (21:06 +0000)]
* genattrtab.c (count_sub_rtxs): Removed.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73860 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago* recog.c (preprocess_constraints): Only zero those elements of
rearnsha [Sun, 23 Nov 2003 16:10:52 +0000 (16:10 +0000)]
* recog.c (preprocess_constraints): Only zero those elements of
recog_op_alt that are needed for this insn.
* arm.c (note_invalid_constants): A function can't contain invalid
constants if it has no constraints.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73855 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago2003-11-23 Paolo Carlini <pcarlini@suse.de>
paolo [Sun, 23 Nov 2003 14:49:54 +0000 (14:49 +0000)]
2003-11-23  Paolo Carlini  <pcarlini@suse.de>

* include/bits/locale_facets.tcc (__add_grouping):
Cosmetic reformatting.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73854 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago2003-11-23 Paolo Carlini <pcarlini@suse.de>
paolo [Sun, 23 Nov 2003 13:03:59 +0000 (13:03 +0000)]
2003-11-23  Paolo Carlini  <pcarlini@suse.de>

* include/bits/locale_facets.tcc (_M_extract_float,
_M_extract_int): Remove a wrong comment and simplify
the corresponding code using char_traits::find().

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73853 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago PR c++/12924
lerdsuwa [Sun, 23 Nov 2003 11:32:14 +0000 (11:32 +0000)]
PR c++/12924
* typeck.c (finish_class_member_access_expr): Handle TEMPLATE_ID_EXPR
with OVERLOAD and DECL nodes as the first operand.

* g++.dg/template/template-id-2.C: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73851 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * gnu/java/net/natPlainDatagramSocketImplWin32.cc
membar [Sun, 23 Nov 2003 01:38:31 +0000 (01:38 +0000)]
* gnu/java/net/natPlainDatagramSocketImplWin32.cc
(peekData): Use offset and maximal free space in datagram packet.
(receive): Likewise.
(send): Use offset in datagram packet.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73848 138bc75d-0d04-0410-961f-82ee72b054a4

18 years agoDaily bump.
gccadmin [Sun, 23 Nov 2003 00:16:07 +0000 (00:16 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73846 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago2003-11-22 Paolo Carlini <pcarlini@suse.de>
paolo [Sat, 22 Nov 2003 18:47:13 +0000 (18:47 +0000)]
2003-11-22  Paolo Carlini  <pcarlini@suse.de>

* config/locale/gnu/monetary_members.cc
(money_base::_S_construct_pattern): Factor out two assignments.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73844 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago2003-11-22 Michael Koch <konqueror@gmx.de>
mkoch [Sat, 22 Nov 2003 16:49:47 +0000 (16:49 +0000)]
2003-11-22  Michael Koch  <konqueror@gmx.de>

* gnu/java/net/natPlainDatagramSocketImplPosix.cc
(peekData): Use offset and maximal free space in datagram packet.
(receive): Likewise.
(send): Use offset in datagram packet.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73843 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * i386.c (classify_argument): Pass __float128 in memory.
hubicka [Sat, 22 Nov 2003 16:11:27 +0000 (16:11 +0000)]
* i386.c (classify_argument): Pass __float128 in memory.
(ix86_return_in_memory): Likewise.
(ix86_libcall_value): Likewsie.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73842 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * config/h8300/h8300.c (dosize): Convert to ISO-C.
kazu [Sat, 22 Nov 2003 15:51:48 +0000 (15:51 +0000)]
* config/h8300/h8300.c (dosize): Convert to ISO-C.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73841 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago2003-11-22 Michael Koch <konqueror@gmx.de>
mkoch [Sat, 22 Nov 2003 15:13:01 +0000 (15:13 +0000)]
2003-11-22  Michael Koch  <konqueror@gmx.de>

* gnu/java/nio/DatagramChannelImpl.java
(getNativeFD): Use getPlainDatagramSocketImpl().
* gnu/java/nio/NIODatagramSocket.java
(getPlainDatagramSocketImpl): Renamed from getImpl().
* gnu/java/nio/NIOSocket.java
(getPlainSocketImpl): Renamed from getImpl().
(setChannel): Use getPlainSocketImpl().
* gnu/java/nio/SocketChannelImpl.java
(SocketChannelImpl): Use getPlainSocketImpl().
(getPlainSocketImpl): Renamed from getImpl().
(getNativeFD): Use getPlainSocketImpl().

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73840 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * flow.c (update_life_info): Amend comment about when a register
amylaar [Sat, 22 Nov 2003 14:18:48 +0000 (14:18 +0000)]
* flow.c (update_life_info): Amend comment about when a register
can become dead.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73838 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago2003-11-22 Andreas Tobler <a.tobler@schweiz.ch>
andreast [Sat, 22 Nov 2003 13:41:33 +0000 (13:41 +0000)]
2003-11-22  Andreas Tobler  <a.tobler@schweiz.ch>

* Makefile.in: Rebuilt.
* configure: Likewise.
* testsuite/libffi.special/unwindtest.cc: Convert the mmap to
the right type.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73837 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago2003-11-22 Paolo Carlini <pcarlini@suse.de>
paolo [Sat, 22 Nov 2003 11:41:41 +0000 (11:41 +0000)]
2003-11-22  Paolo Carlini  <pcarlini@suse.de>

* include/bits/istream.tcc (getline(basic_string<>&)):
        Fix error in comment of the previous commit.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73836 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago2003-11-22 Paolo Carlini <pcarlini@suse.de>
paolo [Sat, 22 Nov 2003 09:54:25 +0000 (09:54 +0000)]
2003-11-22  Paolo Carlini  <pcarlini@suse.de>

PR libstdc++/12593
* include/bits/istream.tcc (operator>>(basic_string<>&),
getline(basic_string<>&)): Implement resolution of DR 91 [WP];
fix some minor issues with the exit conditions.
* docs/html/ext/howto.html: Add an entry for DR 91.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73835 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * pt.c (tsubst) <ARRAY_REF>: Remove erroneous argument to build_nt.
lerdsuwa [Sat, 22 Nov 2003 09:11:01 +0000 (09:11 +0000)]
* pt.c (tsubst) <ARRAY_REF>: Remove erroneous argument to build_nt.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73834 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago PR c++/5369
lerdsuwa [Sat, 22 Nov 2003 06:49:21 +0000 (06:49 +0000)]
PR c++/5369
* friend.c (is_friend): Handle member function of a class
template as template friend.
(do_friend): Likewise.
* decl2.c (check_classfn): Add template_header_p parameter.
* decl.c (start_decl): Adjust check_classfn call.
(grokfndecl): Likewise.
* pt.c (is_specialization_of_friend): New function.
(uses_template_parms_level): Likewise.
(push_template_decl_real): Use uses_template_parms_level.
(tsubst_friend_function): Adjust check_classfn call.
* cp-tree.h (check_classfn): Adjust declaration.
(uses_template_parms_level): Add declaration.
(is_specialization_of_friend): Likewise.

* g++.dg/template/memfriend1.C: New test.
* g++.dg/template/memfriend2.C: Likewise.
* g++.dg/template/memfriend3.C: Likewise.
* g++.dg/template/memfriend4.C: Likewise.
* g++.dg/template/memfriend5.C: Likewise.
* g++.dg/template/memfriend6.C: Likewise.
* g++.dg/template/memfriend7.C: Likewise.
* g++.dg/template/memfriend8.C: Likewise.
* g++.old-deja/g++.pt/friend44.C: Remove a bogus error.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73833 138bc75d-0d04-0410-961f-82ee72b054a4

18 years agoDaily bump.
gccadmin [Sat, 22 Nov 2003 00:16:06 +0000 (00:16 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73827 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago2003-11-18 Graydon Hoare <graydon@redhat.com>
graydon [Sat, 22 Nov 2003 00:03:35 +0000 (00:03 +0000)]
2003-11-18  Graydon Hoare  <graydon@redhat.com>

* javax/swing/JLayeredPane.java: Implement.
* javax/swing/JFrame.java (getContentPane): Make public
* javax/swing/javax/swing/JRootPane.java (setContentPane):
Use JLayeredPane.FRAME_CONTENT_LAYER.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73825 138bc75d-0d04-0410-961f-82ee72b054a4

18 years agoRemove some .cvsignore files due to doc files now being built in build directory
kcook [Fri, 21 Nov 2003 23:28:31 +0000 (23:28 +0000)]
Remove some .cvsignore files due to doc files now being built in build directory

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73824 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago PR c++/12515
mmitchel [Fri, 21 Nov 2003 22:16:02 +0000 (22:16 +0000)]
PR c++/12515
* pt.c (build_non_dependent_expr): Handle GNU extension to ?:
operator.

PR c++/12515
* g++.dg/ext/cond1.C: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73820 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * cp-demangle.c (has_return_type): Skip qualifiers when checking
ian [Fri, 21 Nov 2003 21:34:55 +0000 (21:34 +0000)]
* cp-demangle.c (has_return_type): Skip qualifiers when checking
whether we have a template.
* testsuite/demangle-expected: Add four new tests.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73819 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago2003-11-21 Daniel Berlin <dberlin@dberlin.org>
dje [Fri, 21 Nov 2003 21:18:45 +0000 (21:18 +0000)]
2003-11-21  Daniel Berlin  <dberlin@dberlin.org>
            David Edelsohn  <edelsohn@gnu.org>

        * dwarf2out.c (add_location_or_const_value_attribute): Add support
        for PARALLEL.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73817 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago2003-11-21 Paolo Carlini <pcarlini@suse.de>
paolo [Fri, 21 Nov 2003 20:55:49 +0000 (20:55 +0000)]
2003-11-21  Paolo Carlini  <pcarlini@suse.de>

* config/locale/gnu/monetary_members.cc
(money_base::_S_construct_pattern): Factor out an assignment.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73816 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago2003-11-21 Paolo Carlini <pcarlini@suse.de>
paolo [Fri, 21 Nov 2003 20:30:12 +0000 (20:30 +0000)]
2003-11-21  Paolo Carlini  <pcarlini@suse.de>

PR libstdc++/12882 (partial)
* acinclude.m4 (GLIBCXX_CHECK_LFS): Check fseeko64
and ftello64 too.
* include/ext/stdio_sync_filebuf.h (seekoff): Use fseeko64
and ftello64 if available.
* aclocal.m4: Regenerate.
* configure: Ditto.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73815 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * testsuite/demangle-expected: Minor changes to match output of
ian [Fri, 21 Nov 2003 20:12:22 +0000 (20:12 +0000)]
* testsuite/demangle-expected: Minor changes to match output of
new demangler: adjust whitespace in four tests, and change order
of qualifiers in one test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73813 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * config/mips/t-iris6 (CRTSTUFF_T_CFLAGS): Add -Wno-error.
ro [Fri, 21 Nov 2003 19:48:24 +0000 (19:48 +0000)]
* config/mips/t-iris6 (CRTSTUFF_T_CFLAGS): Add -Wno-error.
(TARGET_LIBGCC2_CFLAGS): Define.

* crtstuff.c [HAS_INIT_SECTION] (__do_global_dtors): Declare.
(__do_global_ctors): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73811 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * 55system.ads: Set ZCX_By_Default and GCC_ZCX_Support to True.
schwab [Fri, 21 Nov 2003 15:25:00 +0000 (15:25 +0000)]
* 55system.ads: Set ZCX_By_Default and GCC_ZCX_Support to True.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73809 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * java/lang/Float.java (static): Removed.
mark [Fri, 21 Nov 2003 13:24:28 +0000 (13:24 +0000)]
   * java/lang/Float.java (static): Removed.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73805 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * doc/invoke.texi (-O2): Doesn't enable -fweb.
mark [Fri, 21 Nov 2003 11:42:58 +0000 (11:42 +0000)]
   * doc/invoke.texi (-O2): Doesn't enable -fweb.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73803 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * parser.c (cp_parser_postfix_expression): Initialize 's' to
hubicka [Fri, 21 Nov 2003 11:36:58 +0000 (11:36 +0000)]
* parser.c (cp_parser_postfix_expression): Initialize 's' to
NULL_TREE.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73802 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * parser.c (cp_parser_postfix_expression): Initialize 's' to
hubicka [Fri, 21 Nov 2003 11:36:52 +0000 (11:36 +0000)]
* parser.c (cp_parser_postfix_expression): Initialize 's' to
NULL_TREE.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73801 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago2003-11-21 Andreas Jaeger <aj@suse.de>
andreast [Fri, 21 Nov 2003 11:24:10 +0000 (11:24 +0000)]
2003-11-21  Andreas Jaeger  <aj@suse.de>
    Andreas Tobler  <a.tobler@schweiz.ch>

* acinclude.m4: Add AC_FUNC_MMAP_BLACKLIST.
* configure.in: Call AC_FUNC_MMAP_BLACKLIST.
* Makefile.in: Rebuilt.
* aclocal.m4: Likewise.
* configure: Likewise.
* fficonfig.h.in: Likewise.
* testsuite/lib/libffi-dg.exp: Add include dir.
* testsuite/libffi.call/ffitest.h: Add MMAP definitions.
* testsuite/libffi.special/ffitestcxx.h: Likewise.
* testsuite/libffi.call/closure_fn0.c: Use MMAP functionality
for ffi_closure if available.
* testsuite/libffi.call/closure_fn1.c: Likewise.
* testsuite/libffi.call/closure_fn2.c: Likewise.
* testsuite/libffi.call/closure_fn3.c: Likewise.
* testsuite/libffi.call/closure_fn4.c: Likewise.
* testsuite/libffi.call/closure_fn5.c: Likewise.
* testsuite/libffi.call/cls_12byte.c: Likewise.
* testsuite/libffi.call/cls_16byte.c: Likewise.
* testsuite/libffi.call/cls_18byte.c: Likewise.
* testsuite/libffi.call/cls_19byte.c: Likewise.
* testsuite/libffi.call/cls_1_1byte.c: Likewise.
* testsuite/libffi.call/cls_20byte.c: Likewise.
* testsuite/libffi.call/cls_20byte1.c: Likewise.
* testsuite/libffi.call/cls_24byte.c: Likewise.
* testsuite/libffi.call/cls_2byte.c: Likewise.
* testsuite/libffi.call/cls_3_1byte.c: Likewise.
* testsuite/libffi.call/cls_3byte1.c: Likewise.
* testsuite/libffi.call/cls_3byte2.c: Likewise.
* testsuite/libffi.call/cls_4_1byte.c: Likewise.
* testsuite/libffi.call/cls_4byte.c: Likewise.
* testsuite/libffi.call/cls_5byte.c: Likewise.
* testsuite/libffi.call/cls_64byte.c: Likewise.
* testsuite/libffi.call/cls_6byte.c: Likewise.
* testsuite/libffi.call/cls_7byte.c: Likewise.
* testsuite/libffi.call/cls_8byte.c: Likewise.
* testsuite/libffi.call/cls_9byte1.c: Likewise.
* testsuite/libffi.call/cls_9byte2.c: Likewise.
* testsuite/libffi.call/cls_double.c: Likewise.
* testsuite/libffi.call/cls_float.c: Likewise.
* testsuite/libffi.call/cls_schar.c: Likewise.
* testsuite/libffi.call/cls_sint.c: Likewise.
* testsuite/libffi.call/cls_sshort.c: Likewise.
* testsuite/libffi.call/cls_uchar.c: Likewise.
* testsuite/libffi.call/cls_uint.c: Likewise.
* testsuite/libffi.call/cls_ulonglong.c: Likewise.
* testsuite/libffi.call/cls_ushort.c: Likewise.
* testsuite/libffi.call/nested_struct.c: Likewise.
* testsuite/libffi.call/nested_struct1.c: Likewise.
* testsuite/libffi.call/nested_struct2.c: Likewise.
* testsuite/libffi.call/nested_struct3.c: Likewise.
* testsuite/libffi.call/problem1.c: Likewise.
* testsuite/libffi.special/unwindtest.cc: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73800 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * 5wsystem.ads: Enable zero cost exception.
charlet [Fri, 21 Nov 2003 10:49:46 +0000 (10:49 +0000)]
* 5wsystem.ads: Enable zero cost exception.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73799 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago2003-11-20 Jerome Guitton <guitton@act-europe.fr>
charlet [Fri, 21 Nov 2003 10:46:37 +0000 (10:46 +0000)]
2003-11-20  Jerome Guitton  <guitton@act-europe.fr>

* 5ztiitho.adb: Remove an unreferenced variable.

2003-11-20  Thomas Quinot  <quinot@act-europe.fr>

* adaint.c: For FreeBSD, use mkstemp.

2003-11-20  Arnaud Charlet  <charlet@act-europe.fr>

* gnatlbr.adb: Now reference Gnat_Static_Version_String.

2003-11-20  Robert Dewar  <dewar@gnat.com>

* bld.adb: Remove useless USE of gnatvsn

* gnatchop.adb: Minor reformatting
Clean up version handling to be more consistent

* gnatxref.adb: Minor reformatting

* gprcmd.adb: Minor reformatting
Fix output of copyright to be more consistent with other tools

2003-11-20  Vincent Celier  <celier@gnat.com>

* make.adb (Scan_Make_Args): Do not transmit --RTS= to gnatlink

2003-11-20  Sergey Rybin  <rybin@act-europe.fr>

* atree.adb (Initialize): Add initializations for global variables
used in New_Copy_Tree.

* cstand.adb (Create_Standard): Add call to Initialize_Scanner (with
Internal_Source_File as the actual).
Put the set of statements creating Any_Character before the set of
statements creating Any_Array to have Any_Character fully initialized
when it is used in creating Any_Array.

* scn.adb (Initialize_Scanner): Do not set Comes_From_Source ON and do
not call Scan in case if the actual is Internal_Source_File
Add 2003 to copyright note.

* sinput.adb (Source_First, Source_Last, Source_Text): Add code for
processing Internal_Source_File.

* types.ads: Add the constant Internal_Source_File representing the
source buffer for artificial source-code-like strings created within
the compiler (the definition of Source_File_Index is changed).

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73798 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * ChangeLog.7: Fix comment typos.
kazu [Fri, 21 Nov 2003 06:52:23 +0000 (06:52 +0000)]
* ChangeLog.7: Fix comment typos.
* c-common.c: Likewise.
* c-pretty-print.c: Likewise.
* cgraphunit.c: Likewise.
* et-forest.h: Likewise.
* expr.c: Likewise.
* gcse.c: Likewise.
* genautomata.c: Likewise.
* genrecog.c: Likewise.
* gensupport.c: Likewise.
* ggc-zone.c: Likewise.
* haifa-sched.c: Likewise.
* ifcvt.c: Likewise.
* loop.c: Likewise.
* optabs.c: Likewise.
* pretty-print.h: Likewise.
* regrename.c: Likewise.
* rtl.h: Likewise.
* sched-rgn.c: Likewise.
* target.h: Likewise.
* value-prof.c: Likewise.
* web.c: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73795 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * doc/invoke.texi: Mention dV and dZ.
kazu [Fri, 21 Nov 2003 06:03:27 +0000 (06:03 +0000)]
* doc/invoke.texi: Mention dV and dZ.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73794 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * doc/invoke.texi: Update dump file names.
kazu [Fri, 21 Nov 2003 05:54:01 +0000 (05:54 +0000)]
* doc/invoke.texi: Update dump file names.
Remove de, dW, and dX.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73793 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago2003-11-20 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Fri, 21 Nov 2003 05:49:21 +0000 (05:49 +0000)]
2003-11-20  Benjamin Kosnik  <bkoz@redhat.com>

* include/debug/formatter.h: Use _Tp as template argument.
* src/debug.cc: Same, instantiate std::size_t.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73792 138bc75d-0d04-0410-961f-82ee72b054a4

18 years agoPR c/13133
wilson [Fri, 21 Nov 2003 05:49:05 +0000 (05:49 +0000)]
PR c/13133
* reload1.c (reload): Delete special handling for setjmp.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73791 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago2003-11-21 Andreas Tobler <a.tobler@schweiz.ch>
andreast [Fri, 21 Nov 2003 04:53:12 +0000 (04:53 +0000)]
2003-11-21  Andreas Tobler  <a.tobler@schweiz.ch>

* mklibgcc.in: Evaluate shlib_slibdir_qual during link
step too.
* config/t-slibgcc-darwin: Adjust install path.
* config/rs6000/t-darwin: Revert multilib matches since
it is not used on darwin.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73790 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * ssa.c, ssa-dce.c, ssa-ccp.c: Remove files.
rth [Fri, 21 Nov 2003 04:05:08 +0000 (04:05 +0000)]
    * ssa.c, ssa-dce.c, ssa-ccp.c: Remove files.
        * Makefile.in (OBJS-common, GTFILES): Don't reference them.
        (gtype-desc.o, toplev.o, flow.o): Remove ssa.h.
        (ssa.o, ssa-dce.o, ssa-ccp.o): Remove.
        * flow.c: Don't include ssa.h.
        (set_phi_alternative_reg): Remove.
        (calculate_global_regs_live): Don't call it.
        (mark_used_regs): Don't handle PHI.
        * gengtype.c (open_base_files): Don't reference ssa.h.
        * rtl.def (PHI): Remove.
        * timevar.def (TV_TO_SSA, TV_SSA_CCP, TV_SSA_DCE, TV_FROM_SSA): Kill.
        * common.opt: Remove -fssa, -fssa-ccp, -fssa-dce.
        * opts.c (common_handle_option): Likewise.
        * toplev.c (f_options): Likewise.
        (DFI_ssa, DFI_ssa_ccp, DFI_ssa_dce, DFI_ussa): Remove.
        (dump_file): Update to match.
        (flag_ssa, flag_ssa_ccp, flag_ssa_dce): Remove.
        (rest_of_handle_ssa): Remove.
        (rest_of_compilation): Don't call it.
        * toplev.h (flag_ssa, flag_ssa_dce, flag_ssa_ccp): Remove.
        * doc/invoke.texi: Remove -fssa, -fssa-ccp, -fssa-dce.
        * doc/passes.texi (SSA optimizations): Remove.

        * gcc.dg/20020201-2.c: Remove.
        * gcc.dg/20020201-4.c: Remove.
        * gcc.dg/20020304-1.c: Remove.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73789 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * cp-demangle.c: Complete rewrite.
ian [Fri, 21 Nov 2003 03:27:58 +0000 (03:27 +0000)]
* cp-demangle.c: Complete rewrite.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73788 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * MAINTAINERS: Add myself as a vax port maintainer.
matt [Fri, 21 Nov 2003 01:34:50 +0000 (01:34 +0000)]
* MAINTAINERS: Add myself as a vax port maintainer.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73787 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * configure.in: Add xtensa-*-* targets to test for dwarf2 debug_line.
bwilson [Fri, 21 Nov 2003 01:32:12 +0000 (01:32 +0000)]
* configure.in: Add xtensa-*-* targets to test for dwarf2 debug_line.
* configure: Regenerate.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73786 138bc75d-0d04-0410-961f-82ee72b054a4

18 years agotoplevel:
kcook [Fri, 21 Nov 2003 00:39:18 +0000 (00:39 +0000)]
toplevel:
2003-11-20  Kelley Cook  <kcook@gcc.gnu.org>

* Makefile.tpl (BASE_FLAGS_TO_PASS): Pass along CONFIG_SHELL.
(configure-build-[+module+], configure-[+module+]): Likewise.
(configure-target-[+module+], configure-gcc, config.status): Likewise.
* Makefile.in: Regenerate.

gcc:
2003-11-20  Kelley Cook  <kcook@gcc.gnu.org>

* Makefile.in (Makefile): Pass along CONFIG_SHELL.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73784 138bc75d-0d04-0410-961f-82ee72b054a4

18 years agoDaily bump.
gccadmin [Fri, 21 Nov 2003 00:16:09 +0000 (00:16 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73782 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago2003-11-18 Graydon Hoare <graydon@redhat.com>
graydon [Fri, 21 Nov 2003 00:10:28 +0000 (00:10 +0000)]
2003-11-18  Graydon Hoare  <graydon@redhat.com>

* java/awt/font/TextLayout.java: Implement simple layouts
using attributed strings and glyph vectors.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73780 138bc75d-0d04-0410-961f-82ee72b054a4