Bryce McKinlay [Thu, 17 Jun 1999 00:21:26 +0000 (01:21 +0100)]
natPlainSocketImpl.cc (bind): Bind to any/all network interfaces if host==NULL.
* java/net/natPlainSocketImpl.cc (bind): Bind to any/all network
interfaces if host==NULL.
(accept): Throw message with InterruptedIOException.
(getOption): Cache localAddress.
* java/net/natPlainDatagramSocketImpl.cc (bind): Don't need
'address' for DatagramSocket.
(setTimeToLive): Fix compiler warnings.
(getOption): Cache localAddress.
* java/net/Socket.java (getLocalAddress): Don't need local
InetAddress object. Add FIXME comment about calling checkConnect().
* java/net/ServerSocket.java (ServerSocket(int)): Initialize
connection queue to 50 as per JDK 1.2 docs.
(ServerSocket(int,int)): Listen on all network interfaces by
default, per JDK 1.2 docs.
* java/net/PlainDatagramSocketImpl.java: Don't need 'address'.
Add localAddress caching.
Jason Merrill [Wed, 16 Jun 1999 10:38:45 +0000 (06:38 -0400)]
dwarfout.c (add_incomplete_type): New fn.
* dwarfout.c (add_incomplete_type): New fn.
(output_type): Call it.
(retry_incomplete_types): New fn.
(dwarfout_finish): Call it.
From Eric Raskin <ehr@listworks.com>:
(output_type): Output types for bases.
Mark Mitchell [Tue, 15 Jun 1999 16:42:46 +0000 (16:42 +0000)]
cp-tree.h (class_cache_firstobj): Declare.
* cp-tree.h (class_cache_firstobj): Declare.
(maybe_push_cache_obstack): Rename to push_cache_obstack.
* class.c (permanent_obstack): Remove declaration.
(class_cache_firstobj): Make it global.
(add_method): Don't use permanent_obstack directly.
(pushclass): Only free the class_cache_obstack if we know how far
back to free it.
(maybe_push_cache_obstack): Rename to push_cache_obstack.
* decl.c: Remove dead comment.
(saved_scope): Add class_cache_firstobj.
(push_to_top_level): Save it.
(pop_from_top_level): Restore it.
(push_class_level_binding): Use push_cache_obstack, not
maybe_push_cache_obstack.
* search.c (push_class_decls): Likewise.
Zack Weinberg [Mon, 14 Jun 1999 17:21:46 +0000 (17:21 +0000)]
cpp.texi: Minor update.
1999-06-14 Zack Weinberg <zack@rabi.columbia.edu>
* cpp.texi: Minor update.
* cpp.1: Regenerate from cpp.texi, using...
* contrib/texi2pod.pl: ...this (new file) plus some hand tweaks.
Mon Jun 14 13:13:39 1999 Alexandre Petit-Bianco <apbianco@cygnus.com>
* parse.y (qualify_ambiguous_name): Reorganized the post
evaluation of non WFL leading expression nodes.
Fri Jun 11 21:37:18 1999 Alexandre Petit-Bianco <apbianco@cygnus.com>
* parse.y (qualify_ambiguous_name): Handle ARRAY_REF after
CONVERT_EXPR.
Thu Jun 10 22:26:17 1999 Alexandre Petit-Bianco <apbianco@cygnus.com>
* parse.y (qualify_ambiguous_name): Handle qualified expression
beginning with a STRING_CST.
Thu Jun 10 20:27:25 1999 Alexandre Petit-Bianco <apbianco@cygnus.com>
* parse.y (register_fields): Set DECL_INITIAL on both
pre-initialized static and public fields.
(resolve_field_access): Static field access expressions to always
use pointer types.
(qualify_ambiguous_name): Work out buried CALL_EXPR for proper
qualification. CONVERT_EXPR to be resolved as an expression name.
(java_complete_lhs): Identify and access qualified final
initialized field in switch statement case expression.
(fold_constant_for_init): Pre-initialized field decl constant to
be folded.
Jim Wilson [Mon, 14 Jun 1999 15:47:30 +0000 (15:47 +0000)]
Fix switch table and reload problems for mips16.
* config/mips/mips.c (mips_secondary_reload_class): Check for
(PLUS (SP) (REG)) and return appropriate register class.
* config/mips/mips.md (reload_insi): Delete predicate for operand 1.
Handle (PLUS (SP) (REG)).
(tablejump): In mips16 code, use emit_insn instead of emit_jump_insn.
(tablejump_mips161, tablejump_mips162): Use emit_jump_insn instead
of emit_insn for tablejump.
Alexandre Oliva [Sat, 12 Jun 1999 15:19:28 +0000 (15:19 +0000)]
test_summary: Set default mail-address and version for egcs instead of relying on...
* test_summary: Set default mail-address and version for egcs
instead of relying on unpredictable pathnames.
Reported by Andreas Jaeger <aj@arthur.rhein-neckar.de>
Jeffrey A Law [Fri, 11 Jun 1999 03:12:22 +0000 (03:12 +0000)]
Makefile.in (libgcc2): Pass MAYBE_USE_COLLECT2 as an argument.
* Makefile.in (libgcc2): Pass MAYBE_USE_COLLECT2 as an argument.
* libgcc2.c (__CTOR_LIST, __DTOR_LIST); Do not provide
initializers is some circumstances.
Bryce McKinlay [Fri, 11 Jun 1999 01:38:08 +0000 (01:38 +0000)]
natInetAddress.cc (aton): Fix typos.
* java/net/natInetAddress.cc (aton): Fix typos.
(lookup): Use a bigger buffer size for gethostbyname_r on all
versions of glibc. Updated FIXME comment explaining this.
Modified while loops to not set herr = ERANGE to work around glibc
problems. Use user specified hostname in InetAddress result when
available (consistent with JDK).
Bryce McKinlay [Wed, 9 Jun 1999 17:42:26 +0000 (17:42 +0000)]
Runtime.java (exec): Convert prog name and arguments to string array.
* java/lang/Runtime.java (exec): Convert prog name and arguments
to string array.
* java/lang/natPosixProcess.cc (startProcess): Fix typo in
environment array conversion. Preserve current environment if envp
not passed. Preserve PATH unless explicitly specified.
* java/io/DataInputStream.java (readLine): Fix case where '\r' is
followed by EOF. Set a flag when a line is terminated by '\r' and
ignore following '\n' if set.
Mark Kettenis [Mon, 7 Jun 1999 21:10:33 +0000 (21:10 +0000)]
gnu.h: Include <gnu.h> right after <i386/linux.h>...
�
* config/i386/gnu.h: Include <gnu.h> right after <i386/linux.h>,
such that we can override its definitions if necessary.
(CPP_SPEC): New define. Support processor specific predefines via
%(cpp_cpu).
(CC1_SPEC): New define. Support processor specific compiler
options via %(cc1_cpu).
(STARTFILE_SPEC): New define. Use crt0.o instead of crt1.o for
-static.
Kaveh R. Ghazi [Mon, 7 Jun 1999 20:35:14 +0000 (20:35 +0000)]
inclhack.def (math_gcc_ifndefs): Insert whitespace between sed's -e flag, and the open-quote following it.
* fixinc/inclhack.def (math_gcc_ifndefs): Insert whitespace
between sed's -e flag, and the open-quote following it.
* fixinc/fixincl.x, fixinc/fixincl.sh: Rebuilt.
Robert Lipe [Mon, 7 Jun 1999 19:46:39 +0000 (19:46 +0000)]
varasm.c (assemble_start_function): Remove the function from the pending weak decls list when we define a function.
* varasm.c (assemble_start_function): Remove the function
from the pending weak decls list when we define a function.
(assemble_variable): Similarly for variables.
(weak_finish): Ignore items on the list with a NULL name.
(remove_from_ending_weak_list); New function to "remove" an item
from the pending weak declarations list.
Co-Authored-By: Jeffrey A Law <law@cygnus.com>
From-SVN: r27402
parse.y (note_possible_classname): Mark returned node with QUALIFIED_P only if the original class name contained a '/'.
Mon Jun 7 16:09:51 1999 Alexandre Petit-Bianco <apbianco@cygnus.com>
* parse.y (note_possible_classname): Mark returned node with
QUALIFIED_P only if the original class name contained a '/'.
Dave Brolley [Mon, 7 Jun 1999 11:12:38 +0000 (11:12 +0000)]
c-lex.c (GETC): Redefine to call getch.
Mon Jun 7 14:07:39 1999 Dave Brolley <brolley@cygnus.com>
* c-lex.c (GETC): Redefine to call getch.
(UNGETC): Redefine to call put_back.
(putback_buffer): New structure type.
(putback): New static structure.
(getch): New function.
(put_back): New function.
(yylex): Replace unused bytes from bad multibyte character.