Commit Graph

22590 Commits

Author SHA1 Message Date
Jeffrey A Law
048f60dcb1 * gcc.c-torture/compile/990617-1.c: New test.
From-SVN: r27572
1999-06-17 06:50:51 -06:00
David O'Brien
8a8f4bc10e * i386/freebsd-elf.h (LINK_SPEC): Fix typo.
From-SVN: r27570
1999-06-17 06:32:57 -06:00
David O'Brien
f4b7680b0f freebsd-elf.h (FUNCTION_PROFILER): labels are not needed and the reference to `mcount' was not correct for the ELF...
�
        * i386/freebsd-elf.h (FUNCTION_PROFILER): labels are not needed and
        the reference to `mcount' was not correct for the ELF on FreeBSD.

From-SVN: r27567
1999-06-17 06:29:14 -06:00
Don Lindsay
7723c9581c
From-SVN: r27566
1999-06-17 11:50:15 +00:00
J"orn Rennecke
41c1b007f1 loop.c (strength_reduce): When doing biv->giv conversion, fix up reg_biv_class.
* loop.c (strength_reduce): When doing biv->giv conversion, fix up
	reg_biv_class.
	(recombine_givs): Set ix field after sorting.

From-SVN: r27565
1999-06-17 10:32:59 +01:00
Jeffrey A Law
227d6ce040 emit-rtl.c (operand_subword): Tighten checks for when it is safe to safe to extract a subword out of a REG.
* emit-rtl.c (operand_subword): Tighten checks for when it is safe
        to safe to extract a subword out of a REG.

From-SVN: r27564
1999-06-16 19:56:31 -06:00
Jeff Law
ff77e80cf8 Correctness tweak from Mark.
From-SVN: r27562
1999-06-16 18:48:26 -06:00
Jeff Law
9662ad037c Daily bump.
From-SVN: r27560
1999-06-16 18:45:02 -06:00
Bryce McKinlay
1920afb3c6 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.

From-SVN: r27559
1999-06-17 01:21:26 +01:00
Alexandre Oliva
06c8baef3a * g++.old-deja/g++.other/decl4.C: New test.
From-SVN: r27558
1999-06-16 22:38:16 +00:00
Mark Mitchell
1b5f5f763a decl2.c (import_export_decl): Use same_type_p, rather than relying on pointer-equality for types.
* decl2.c (import_export_decl): Use same_type_p, rather than
	relying on pointer-equality for types.
	* method.c (do_build_copy_constructor): Simplify.

From-SVN: r27555
1999-06-16 17:48:05 +00:00
J"orn Rennecke
78d114ef2d * sh.md (mulsi3): Don't add a no-op move at the end.
From-SVN: r27554
1999-06-16 18:46:20 +01:00
Gerald Pfeifer
96559bc552 Remove obsolete file, whose contents has moved to the web pages as
projects.html.

From-SVN: r27552
1999-06-16 13:37:39 +00:00
Joern Rennecke
afe958103c Typo fix.
From-SVN: r27551
1999-06-16 14:35:07 +01:00
J"orn Rennecke
15c68354e9 cse.c (cse_insn): Don't put hard register source into tables for last insn of a libcall.
* cse.c (cse_insn): Don't put hard register source into tables for
	last insn of a libcall.

From-SVN: r27550
1999-06-16 14:32:14 +01:00
J"orn Rennecke
1b786838b1 loop.c (strength_reduce): Insert sets of derived givs at every biv increment, even if it's the only one.
* loop.c (strength_reduce): Insert sets of derived givs at every
	biv increment, even if it's the only one.

From-SVN: r27549
1999-06-16 12:46:14 +01:00
Mark Mitchell
4e61a9695a call.c (build_method_call): Remove bogus code for two-argument delete.
* call.c (build_method_call): Remove bogus code for two-argument
	delete.
	* init.c (build_new_1): Expand on comment, and remove dead code.

From-SVN: r27547
1999-06-16 11:24:10 +00:00
Jason Merrill
75c613dbc5 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.

From-SVN: r27546
1999-06-16 06:38:45 -04:00
Mark Mitchell
f33e32a8cc init.c (expand_cleanup_for_base): New function, split out from ...
* init.c (expand_cleanup_for_base): New function, split out
	from ...
	(emit_base_init): Here.
	(expand_aggr_vbase_init): Use it.

From-SVN: r27543
1999-06-16 10:15:35 +00:00
Craig Burley
8c225122ff fix BACKSPACE
From-SVN: r27541
1999-06-16 05:00:35 -04:00
Craig Burley
afada1498f fix BACKSPACE, doc fix, update derived file
From-SVN: r27540
1999-06-16 04:59:56 -04:00
Jeff Law
f45b30fc06 Daily bump.
From-SVN: r27538
1999-06-15 18:45:35 -06:00
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