Commit Graph

22568 Commits

Author SHA1 Message Date
Bryce McKinlay
cb81310a55 FilterOutputStream.java (write(byte[])): Rewrite according to JDK 1.2 docs.
* java/io/FilterOutputStream.java (write(byte[])): Rewrite according
        to JDK 1.2 docs.
        (write(byte[],int,int)): ditto.

From-SVN: r27537
1999-06-15 21:05:57 +01:00
Mark Mitchell
3f1892e165 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.

From-SVN: r27534
1999-06-15 16:42:46 +00:00
Alexandre Oliva
c4e992aee9 mips.c (mips_output_conditional_branch): Add break' between default' label and `close braces'.
* config/mips/mips.c (mips_output_conditional_branch): Add `break'
between `default' label and `close braces'.

From-SVN: r27533
1999-06-15 09:03:35 +00:00
David O'Brien
666260c304 freebsd-elf.h (LINK_SPEC): clean up the linking library specifications and make it realistic.
�
        * i386/freebsd-elf.h (LINK_SPEC): clean up the linking library
        specifications and make it realistic.
        (LIB_SPEC): Likewise.

From-SVN: r27529
1999-06-14 18:55:52 -06:00
Jeff Law
37883afa42 Daily bump.
From-SVN: r27527
1999-06-14 18:46:37 -06:00
Zack Weinberg
6251188c9d 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.

From-SVN: r27525
1999-06-14 17:21:46 +00:00
Bryce McKinlay
00af55a292 * posix-threads.cc (_Jv_CondWait): Fix currentTimeMillis() overflow.
From-SVN: r27524
1999-06-14 18:20:35 +01:00
Alexandre Petit-Bianco
8576f0942e [multiple changes]
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.

From-SVN: r27523
1999-06-14 10:15:35 -07:00
Martin v. Löwis
6d1a9047b8 New file.
From-SVN: r27521
1999-06-14 15:57:27 +00:00
Martin v. Löwis
92da7074de pt.c (tsubst_friend_function): Push into namespace of friend function before pushdecl'ing it.
* pt.c (tsubst_friend_function): Push into namespace of friend
	function before pushdecl'ing it.

From-SVN: r27520
1999-06-14 15:56:12 +00:00
Jim Wilson
bf4f78eef9 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.

From-SVN: r27519
1999-06-14 08:47:30 -07:00
David Edelsohn
13f1623bc0 rs6000.c (output_prolog): RS6000_CALL_GLUE must be asm_fprintf format string by itself.
* rs6000.c (output_prolog): RS6000_CALL_GLUE must be
        asm_fprintf format string by itself.
        (output_function_profiler): Likewise.

From-SVN: r27518
1999-06-14 10:33:46 -04:00
David Mosberger
2e8f9abf17 Patch from David Mosberger to fix 32 host cross 64 target bug.
* combine.c (simplify_logical, case AND): Only call
        simplify_and_const_int if the mode is no wider than HOST_WIDE_INT
	or the constant is positive.

From-SVN: r27517
1999-06-14 06:10:29 -07:00
Nick Clifton
69c9f0fbbc Fix typo.
From-SVN: r27516
1999-06-14 03:45:29 +00:00
Nathan Sidwell
e4b593c532 * g++.old-deja/g++.other/bitfld3.C: New test.
From-SVN: r27514
1999-06-14 03:16:37 +00:00
Jeffrey A Law
7747ddb3f4 configure.in (rs6000-ibm-aix4.3*, [...]): Do not require a sub-version #.
* configure.in (rs6000-ibm-aix4.3*, powerpc-ibm-aix4.3*): Do not
        require a sub-version #.
        * configure: Rebuilt.

From-SVN: r27513
1999-06-13 20:59:43 -06:00
Nathan Sidwell
8be0a93054 * call.c (build_new_op): Remove REF_BIND from all operands.
From-SVN: r27510
1999-06-14 02:44:17 +00:00
Robert Lipe
ecad242567 * svr4.h (DWARF2_DEBUGGING_INFO): Check for redefinition.
From-SVN: r27509
1999-06-13 20:42:40 -06:00
Nathan Sidwell
d739a3bc88 c-typeck.c (process_init_element): Detect excess elements in char array initializer.
* c-typeck.c (process_init_element): Detect excess elements in
	char array initializer.

From-SVN: r27507
1999-06-14 02:40:16 +00:00
Andreas Jaeger
8dae700b78 * gcc.texi: Mention gcc 2.96 instead of egcs 1.00.
From-SVN: r27505
1999-06-13 20:35:26 -06:00
Jeff Law
8cbbe89689 Daily bump.
From-SVN: r27503
1999-06-13 18:45:34 -06:00
Alexandre Oliva
5355deec1f init.c (build_new_1): Look up operator delete even if there was no explicit new placement.
* init.c (build_new_1): Look up operator delete even if there was
no explicit new placement.

From-SVN: r27502
1999-06-13 01:17:12 +00:00
Jerry Quinn
3a6bf92153 * invoke.texi (Option Summary): Add -fpermissive flag.
From-SVN: r27500
1999-06-13 01:03:28 +00:00
Jeff Law
c4f69959db Daily bump.
From-SVN: r27499
1999-06-12 18:46:03 -06:00
Alexandre Oliva
6f482ae3ff 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>

From-SVN: r27496
1999-06-12 15:19:28 +00:00
Jeff Law
1256ed0280 sparc.h (LEGITIMIZE_RELOAD_ADDRESS): Do nothing with operands that require PIC code sequences.
`
        * sparc.h (LEGITIMIZE_RELOAD_ADDRESS): Do nothing with operands
        that require PIC code sequences.

From-SVN: r27495
1999-06-11 20:44:18 -06:00
Jeff Law
691f4e73d4 sparc.h (LEGITIMIZE_RELOAD_ADDRESS): Do nothing with operands that require PIC code sequences.
�
        * sparc.h (LEGITIMIZE_RELOAD_ADDRESS): Do nothing with operands
        that require PIC code sequences.

From-SVN: r27494
1999-06-11 20:44:12 -06:00
Jeff Law
0d72961bd4 Daily bump.
From-SVN: r27492
1999-06-11 18:45:33 -06:00
Nick Clifton
c83fe03621 Add support for thumb-elf target.
From-SVN: r27490
1999-06-11 06:24:55 +00:00
Jeffrey A Law
657be7aff1 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.

From-SVN: r27489
1999-06-10 21:12:22 -06:00
Warren Levy
2fdf4c3e97 * mauve-libgcj: Activated java.net Mauve tests.
From-SVN: r27487
1999-06-11 02:34:31 +00:00
Jeffrey A Law
5cda1ab62a inclhack.def (endif_label): Add additional selector for more bogus stuff after #endif statements.
* fixinc/inclhack.def (endif_label): Add additional selector for
        more bogus stuff after #endif statements.
        * fixinc/inclhack.sh, fixinc/fixincl.x: Rebuilt.

From-SVN: r27486
1999-06-10 20:20:58 -06:00
Bryce McKinlay
53dfe2970a 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).

From-SVN: r27484
1999-06-11 02:38:08 +01:00
Jeff Law
b312276f5b Daily bump.
From-SVN: r27482
1999-06-10 18:45:03 -06:00
Warren Levy
daf469e2ba DecimalFormat.java: Throw IllegalArgumentException throughout rather than ParseException.
* java/text/DecimalFormat.java: Throw IllegalArgumentException
	throughout rather than ParseException.

From-SVN: r27481
1999-06-10 23:53:37 +00:00
Mumit Khan
8c84eeeda1 Mumit Khan <khan@xraylith.wisc.edu>
Mumit Khan  <khan@xraylith.wisc.edu>
        * i386/cygwin.h (SET_ASM_OP): Define.

From-SVN: r27478
1999-06-10 13:45:01 -07:00
Mike Stump
739194481c Mike Stump <mrs@wrs.com>
Mike Stump  <mrs@wrs.com>
        * Makefile.in (setenv.o): Add config.h dep for setenv.o to fix
        parallel builds.

From-SVN: r27477
1999-06-10 13:43:56 -07:00
Mumit Khan
d3b6b80cde Mumit Khan <khan@xraylith.wisc.edu>
Mumit Khan  <khan@xraylith.wisc.edu>
        * reg-stack.c (stack_reg_life_analysis): Find all the RETURN insns.

From-SVN: r27475
1999-06-10 13:40:39 -07:00
Warren Levy
a21f23fc67 FileDescriptor.java (FileDescriptor(String, int)): Throw FileNotFoundException instead of IOException.
1999-06-10  Warren Levy  <warrenl@cygnus.com>
	* java/io/FileDescriptor.java (FileDescriptor(String, int)):
	Throw FileNotFoundException instead of IOException.
	(open): ditto.
	* java/io/FileInputStream.java (FileInputStream): Doesn't throw
	IOException.
	* java/text/Collator.java (CANONICAL_DECOMPOSITION): Fixed typo
	in static field name.

From-SVN: r27473
1999-06-10 18:52:00 +00:00
Bruce Korb
9a726fc16f Corrected quote formation
From-SVN: r27471
1999-06-10 14:43:44 +00:00
Bruce Korb
b45293b521 Correct quoting rules
From-SVN: r27470
1999-06-10 14:36:02 +00:00
J"orn Rennecke
0aa54da2ef sh.h (TARGET_HARWARD, [...]): Changed the former to the latter.
* sh.h (TARGET_HARWARD, TARGET_HARVARD): Changed the former to the
	latter.
	* sh.md (ic_invalidate_line_i): Remove second alternative.

From-SVN: r27469
1999-06-10 12:25:47 +01:00
Bruce Korb
b4e01caa36 fix a selection expression, skip a bypass
From-SVN: r27468
1999-06-10 07:36:01 +00:00
Bruce Korb
3175776eca fix a selection expression, skip a bypass
From-SVN: r27467
1999-06-10 07:25:33 +00:00
Nick Clifton
6cf32035ac Add ARM920 and ARM920t.
From-SVN: r27466
1999-06-10 07:09:19 +00:00
Jeff Law
9b863e0375 Daily bump.
From-SVN: r27465
1999-06-09 18:45:35 -06:00
Jeffrey A Law
88b94e29f0 inclhack.def (no_double_slash): Fix quoting for test.
* fixinc/inclhack.def (no_double_slash): Fix quoting for test.
        * fixinc/inclhack.sh, fixinc/fixincl.x, fixinc/fixincl.sh; Rebuilt.

From-SVN: r27460
1999-06-09 16:17:49 -06:00
Bryce McKinlay
1e45a14105 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.

From-SVN: r27458
1999-06-09 18:42:26 +01:00
Franz Sirl
8d30c4ee01 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
        * rs6000.md (movsi_got_internal_mem): Delete.
        * rs6000.h (CONDITIONAL_REGISTER_USAGE): Mark PIC_OFFSET_TABLE_REGNUM.
        (GOT_TOC_REGNUM): Delete.
        (PIC_OFFSET_TABLE_REGNUM): Define.
        (FINALIZE_PIC): Disable.
        * rs6000.c (rs6000_got_register): New code for fixed pic register.
        (rs6000_replace_regno): Delete.
        (rs6000_finalize_pic): Likewise.
        (output_prolog): Handle PIC_OFFSET_TABLE_REGNUM.

From-SVN: r27457
1999-06-09 09:01:51 -07:00
Bruce Korb
6deb8ad892 Added a purpose comment for ioctl_fix_ctrl
From-SVN: r27455
1999-06-09 14:20:47 +00:00