platform/upstream/gcc.git
24 years ago* java/lang/natClass.cc (isInstance): Use JV_CLASS, not getClass().
Bryce McKinlay [Tue, 21 Mar 2000 05:54:42 +0000 (05:54 +0000)]
* java/lang/natClass.cc (isInstance): Use JV_CLASS, not getClass().

From-SVN: r32665

24 years agonatClass.cc (isInstance): Use _Jv_IsAssignableFrom(), not Class.isAssignableFrom().
Bryce McKinlay [Tue, 21 Mar 2000 05:44:29 +0000 (05:44 +0000)]
natClass.cc (isInstance): Use _Jv_IsAssignableFrom(), not Class.isAssignableFrom().

        * java/lang/natClass.cc (isInstance): Use _Jv_IsAssignableFrom(),
        not Class.isAssignableFrom().

From-SVN: r32664

24 years agonatClass.cc (isInstance): Initialize `this'.
Bryce McKinlay [Tue, 21 Mar 2000 05:12:20 +0000 (05:12 +0000)]
natClass.cc (isInstance): Initialize `this'.

2000-03-21  Bryce McKinlay  <bryce@albatross.co.nz>

        * java/lang/natClass.cc (isInstance): Initialize `this'.
        (isAssignableFrom): Initialize `this' and `klass'.
        (_Jv_IsAssignableFrom): If an interface has no idt, it is not
        implemented by any loaded class, so return false.

From-SVN: r32663

24 years agoTest case for PR libgcj/179:
Bryce McKinlay [Tue, 21 Mar 2000 04:55:43 +0000 (04:55 +0000)]
Test case for PR libgcj/179:

2000-03-21  Bryce McKinlay  <bryce@albatross.co.nz>

        Test case for PR libgcj/179:
        * libjava.lang/pr179.java: New file.
        * libjava.lang/pr179.out: New file.

From-SVN: r32662

24 years agoMinor performance improvements. Minor EH/unwind bug fix.
Jim Wilson [Tue, 21 Mar 2000 04:05:49 +0000 (04:05 +0000)]
Minor performance improvements.  Minor EH/unwind bug fix.

* config/ia64/ia64.c (ia64_expand_prologue): Don't abort if leaf
function uses output registers.  Don't save RP for leaf functions.
Do save RP even if no epilogue.
* config/ia64/ia64.h (FIXED_REGISTERS): Unmark in/out registers.
(CALL_USED_REGISTERS): Unmark in registers.
(REG_ALLOC_ORDER): Move out regs up, to near the top.  Move in regs up,
to near the middle.

From-SVN: r32661

24 years ago* Makefile.in: Hand edit for java_raw_api.lo.
Tom Tromey [Tue, 21 Mar 2000 01:03:02 +0000 (01:03 +0000)]
* Makefile.in: Hand edit for java_raw_api.lo.

From-SVN: r32660

24 years agoAdd ia64 support.
Jim Wilson [Mon, 20 Mar 2000 23:50:48 +0000 (23:50 +0000)]
Add ia64 support.

* f/target.h (FFETARGET_32bit_longs): New.  Define for alpha, sparc64,
and ia64.
(ffetargetInteger1, ffetargetLogical1, ffetargetReal1, ffetargetReal2,
ffetarget_integerdefault_is_magical): Use FFETARGET_32bit_longs.

From-SVN: r32658

24 years agors6000.md (bunordered): New expander.
Geoffrey Keating [Mon, 20 Mar 2000 23:47:39 +0000 (23:47 +0000)]
rs6000.md (bunordered): New expander.

* config/rs6000/rs6000.md (bunordered): New expander.
(bordered): New expander.
(buneq): New expander.
(bunge): New expander.
(bungt): New expander.
(bunle): New expander.
(bunlt): New expander.
(bltgt): New expander.

* config/rs6000/rs6000.c (ccr_bit): Handle unordered comparisons.
(ccr_bit_negated_p): New function.
(print_operand): For %C, generate appropriate cror for UNEQ,
UNLT, UNGT, and LTGT.  For %T and %t, use ccr_bit_negated_p.

From-SVN: r32657

24 years ago* tree.h (safe_for_unsave): Prototype.
Andreas Jaeger [Mon, 20 Mar 2000 23:44:30 +0000 (00:44 +0100)]
* tree.h (safe_for_unsave): Prototype.

From-SVN: r32656

24 years agosdbout.c (sdbout_one_type): Add braces to avoid "ambigous else" warning.
Andreas Jaeger [Mon, 20 Mar 2000 23:42:47 +0000 (00:42 +0100)]
sdbout.c (sdbout_one_type): Add braces to avoid "ambigous else" warning.

        * sdbout.c (sdbout_one_type): Add braces to avoid "ambigous else"
        warning.

From-SVN: r32655

24 years agoregmove.c (stack_memref_p): Fix typo, reorg for readability.
Richard Henderson [Mon, 20 Mar 2000 22:52:04 +0000 (14:52 -0800)]
regmove.c (stack_memref_p): Fix typo, reorg for readability.

        * regmove.c (stack_memref_p): Fix typo, reorg for readability.
        (combine_stack_adjustments_for_block): Don't allow sp references
        in the side of a set we're not fixing up.
        * toplev.c (rest_of_compilation): Run combine_stack_adjustments
        after life_analysis.

From-SVN: r32654

24 years agocalls.c (expand_call): Don't bother generating tail call sequences if there are pendi...
Richard Henderson [Mon, 20 Mar 2000 22:40:50 +0000 (14:40 -0800)]
calls.c (expand_call): Don't bother generating tail call sequences if there are pending cleanups.

        * calls.c (expand_call): Don't bother generating tail call
        sequences if there are pending cleanups.  Use
        expand_start_target_temps/expand_end_target_temps to elide
        cleanups created during sibcall expansion.

From-SVN: r32653

24 years agonew
Jason Merrill [Mon, 20 Mar 2000 21:37:40 +0000 (16:37 -0500)]
new

From-SVN: r32652

24 years agoconfigure.in: Set $IFS to a value if it doesn't already have one in the --enable...
Geoff Keating [Mon, 20 Mar 2000 20:58:53 +0000 (20:58 +0000)]
configure.in: Set $IFS to a value if it doesn't already have one in the --enable-checking...

* configure.in: Set $IFS to a value if it doesn't already have one
in the --enable-checking handling.
* configure: Regenerate.

From-SVN: r32651

24 years agomethod.c (build_overload_int): Use host_integerp.
Jed Wing [Mon, 20 Mar 2000 18:12:59 +0000 (18:12 +0000)]
method.c (build_overload_int): Use host_integerp.

        * method.c (build_overload_int): Use host_integerp.

Co-Authored-By: Jason Merrill <jason@casey.cygnus.com>
From-SVN: r32650

24 years agoinit.c (build_offset_ref): Handle the case of a templated member function.
Theodore Papadopoulo [Mon, 20 Mar 2000 17:44:24 +0000 (18:44 +0100)]
init.c (build_offset_ref): Handle the case of a templated member function.

        * init.c (build_offset_ref): Handle the case of a templated member
        function.

From-SVN: r32649

24 years agoc-parse.in (SAVE_WARN_FLAGS): Use size_int.
Martin v. Löwis [Mon, 20 Mar 2000 13:22:38 +0000 (13:22 +0000)]
c-parse.in (SAVE_WARN_FLAGS): Use size_int.

* c-parse.in (SAVE_WARN_FLAGS): Use size_int.
* c-parse.y, c-parse.c, objc/objc-parse.y, objc/objc-parse.c:
Regenerated.

From-SVN: r32648

24 years agojump.c (delete_noop_moves): Remove code attempting to combine stack adjustments.
Jan Hubicka [Mon, 20 Mar 2000 10:45:56 +0000 (11:45 +0100)]
jump.c (delete_noop_moves): Remove code attempting to combine stack adjustments.

* jump.c (delete_noop_moves): Remove code attempting to
combine stack adjustments.

From-SVN: r32647

24 years agoDaily bump.
Jeff Law [Mon, 20 Mar 2000 08:45:09 +0000 (01:45 -0700)]
Daily bump.

From-SVN: r32646

24 years agoremove extraneous code checked in with previous delta
Nick Clifton [Sun, 19 Mar 2000 21:57:35 +0000 (21:57 +0000)]
remove extraneous code checked in with previous delta

From-SVN: r32645

24 years ago* gcc.c-torture/compile/20000314-2.c: Use __SIZE_TYPE__, not size_t.
Richard Henderson [Sun, 19 Mar 2000 20:28:03 +0000 (12:28 -0800)]
* gcc.c-torture/compile/20000314-2.c: Use __SIZE_TYPE__, not size_t.

From-SVN: r32644

24 years agoemit-rtl.c (push_to_full_sequence, [...]): New functions.
Martin v. Löwis [Sun, 19 Mar 2000 18:25:27 +0000 (18:25 +0000)]
emit-rtl.c (push_to_full_sequence, [...]): New functions.

* emit-rtl.c (push_to_full_sequence, end_full_sequence): New functions.
* except.c (emit_cleanup_handler): Use them.
(expand_end_all_catch): Likewise.
* function.c (fixup_var_refs): Likewise.
(expand_function_end): Clear catch_clauses_last.
* rtl.h (push_to_full_sequence, end_full_sequence): Declare.
* except.h (struct eh_status): New field x_catch_clauses_last.
(catch_clauses_last): New define.

* cp/except.c (expand_exception_blocks): Clear catch_clauses_last.

* java/except.c (emit_handlers): Clear catch_clauses_last.

From-SVN: r32643

24 years agoMakefile.in (tree.o): Depend on HASHTAB_H.
Martin v. Löwis [Sun, 19 Mar 2000 17:53:38 +0000 (17:53 +0000)]
Makefile.in (tree.o): Depend on HASHTAB_H.

* Makefile.in (tree.o): Depend on HASHTAB_H.
* tree.c: Include hashtab.h.
(struct type_hash): Remove next field.
(TYPE_HASH_SIZE): Remove.
(TYPE_HASH_INITIAL_SIZE): New define.
(type_hash_table): Change type to htab_t.
(type_hash_eq, type_hash_hash, print_type_hash_statistics,
mark_hash_entry): New functions.
(init_obstacks): Allocate type hash.
(type_hash_lookup): Use htab functions.
(type_hash_add, mark_type_hash): Likewise.
(dump_tree_statistics): Call print_type_hash_statistics.

From-SVN: r32642

24 years agot-aix41: New file.
Kaveh R. Ghazi [Sun, 19 Mar 2000 13:45:25 +0000 (13:45 +0000)]
t-aix41: New file.

        * rs6000/t-aix41: New file.

        * configure.in ({rs6000,powerpc}-ibm-aix4.[12]*): Use it.

From-SVN: r32641

24 years agotm.texi (Driver): Fix typos and tweak entry for INCLUDE_DEFAULTS.
Hans-Peter Nilsson [Sun, 19 Mar 2000 12:32:32 +0000 (12:32 +0000)]
tm.texi (Driver): Fix typos and tweak entry for INCLUDE_DEFAULTS.

* tm.texi (Driver): Fix typos and tweak entry for
INCLUDE_DEFAULTS.
Move misplaced STRUCT_FORCE_BLK entry ...
(Storage Layout): ... to here.
(Run-time Target): Recommend having TARGET_MASK_... helper macros.

From-SVN: r32640

24 years agoColor.java: Specified java.io for Serializable.
Warren Levy [Sun, 19 Mar 2000 12:20:12 +0000 (12:20 +0000)]
Color.java: Specified java.io for Serializable.

* java/awt/Color.java: Specified java.io for Serializable.
* java/awt/Toolkit.java: Imported java.net.URL.

From-SVN: r32639

24 years ago* stor-layout.c (layout_decl): Don't abort on any zero sized decl.
Richard Henderson [Sun, 19 Mar 2000 11:56:54 +0000 (03:56 -0800)]
* stor-layout.c (layout_decl): Don't abort on any zero sized decl.

From-SVN: r32638

24 years ago* gcc.c-torture/compile/20000319-1.c: New test.
Richard Henderson [Sun, 19 Mar 2000 11:51:11 +0000 (03:51 -0800)]
* gcc.c-torture/compile/20000319-1.c: New test.

From-SVN: r32637

24 years agofold-const.c (extract_muldiv): Apply type check for defined overflow to multiply...
Richard Henderson [Sun, 19 Mar 2000 11:37:39 +0000 (03:37 -0800)]
fold-const.c (extract_muldiv): Apply type check for defined overflow to multiply as well as divide.

        * fold-const.c (extract_muldiv): Apply type check for defined
        overflow to multiply as well as divide.

From-SVN: r32636

24 years agoflow.c (delete_block): Delete the addr_vec along with the block.
Richard Henderson [Sun, 19 Mar 2000 11:30:38 +0000 (03:30 -0800)]
flow.c (delete_block): Delete the addr_vec along with the block.

        * flow.c (delete_block): Delete the addr_vec along with the block.
        (flow_delete_insn): Decrement LABEL_NUSES when deleting insns that
        reference labels.

From-SVN: r32635

24 years ago* java/awt/Color.java: Rewrote to be more memory efficient (& compile).
Warren Levy [Sun, 19 Mar 2000 11:23:27 +0000 (11:23 +0000)]
* java/awt/Color.java: Rewrote to be more memory efficient (& compile).

From-SVN: r32634

24 years agoDaily bump.
Jeff Law [Sun, 19 Mar 2000 08:45:10 +0000 (01:45 -0700)]
Daily bump.

From-SVN: r32633

24 years agoemit-rtl.c (remove_unncessary_notes): Check that all NOTE_INSN_BLOCK_BEG and NOTE_INS...
Mark Mitchell [Sun, 19 Mar 2000 05:26:48 +0000 (05:26 +0000)]
emit-rtl.c (remove_unncessary_notes): Check that all NOTE_INSN_BLOCK_BEG and NOTE_INSN_BLOCK_END notes have an...

* emit-rtl.c (remove_unncessary_notes): Check that all
NOTE_INSN_BLOCK_BEG and NOTE_INSN_BLOCK_END notes have an
associated NOTE_BLOCK.
* function.h (identify_blocks): Update comments.
(reorder_blocks): Declare.
* function.c (identify_blocks): Don't take paramters.
(reorder_blocks): Don't take parameters.
* loop.h (find_loop_tree_blocks): Remove.
(unroll_block_trees): Likewise.
* loop.c (loop_optimize): Don't call find_loop_tree_blocks.  Use
reorder_blocks instead of unroll_block_trees.h
* sibcall.c (optimize_sibling_and_tail_recursive_calls): Likewise.
* stmt.c (find_loop_tree_blocks): Remove.
(unroll_block_trees): Likewise.
* toplev.c (rest_of_compilation): Don't call find_loop_tree_blocks
in whole-function mode.
* tree.h (reorder_blocks): Remove declaration.

From-SVN: r32632

24 years agocp-tree.h (CLEAR_DECL_C_BIT_FIELD): New macro.
Mark Mitchell [Sun, 19 Mar 2000 05:22:04 +0000 (05:22 +0000)]
cp-tree.h (CLEAR_DECL_C_BIT_FIELD): New macro.

* cp-tree.h (CLEAR_DECL_C_BIT_FIELD): New macro.
* class.c (check_bitfield_decl): Turn illegal bitfields into
non-bitfields.
(dfs_propagate_binfo_offsets): Adjust for new size_binop
semantics.
(dfs_offset_for_unshared_vbases): Likewise.
* cvt.c (cp_convert_to_pointer): Convert NULL to a
pointer-to-member correctly under the new ABI.
* expr.c (cplus_expand_constant): Don't use cp_convert when
turning an offset into a pointer-to-member.
* init.c (resolve_offset_ref): Don't adjust pointers-to-members
when dereferencing them under the new ABI.
* typeck.c (get_member_function_from_ptrfunc): Tweak calculation
of pointers-to-members under the new ABI.

From-SVN: r32631

24 years agoTweak for slightly different error-output.
Mark Mitchell [Sun, 19 Mar 2000 05:17:20 +0000 (05:17 +0000)]
Tweak for slightly different error-output.

From-SVN: r32630

24 years ago* Makefile.in (expr.o): Depend on intl.h.
Mark Mitchell [Sun, 19 Mar 2000 05:14:44 +0000 (05:14 +0000)]
* Makefile.in (expr.o): Depend on intl.h.

From-SVN: r32629

24 years ago* expr.c: Include intl.h.
Mark Mitchell [Sun, 19 Mar 2000 05:13:15 +0000 (05:13 +0000)]
* expr.c: Include intl.h.

From-SVN: r32628

24 years ago* libjava.lang/pr109.java: Added `println' at end.
Tom Tromey [Sun, 19 Mar 2000 04:35:24 +0000 (04:35 +0000)]
* libjava.lang/pr109.java: Added `println' at end.

From-SVN: r32627

24 years ago* expr.c (emit_move_insn_1): Clarify cannot_inline message.
Richard Henderson [Sun, 19 Mar 2000 01:56:42 +0000 (17:56 -0800)]
* expr.c (emit_move_insn_1): Clarify cannot_inline message.

From-SVN: r32626

24 years agoclass.c (check_bitfield_decl): Remove restriction on really long bitfields.
Mark Mitchell [Sun, 19 Mar 2000 00:59:51 +0000 (00:59 +0000)]
class.c (check_bitfield_decl): Remove restriction on really long bitfields.

* class.c (check_bitfield_decl): Remove restriction on really long
bitfields.
(layout_class_type): Implement new ABI handling of bitfields
longer than their types.

From-SVN: r32625

24 years agotree.h (tree_index): Remove enumerals for integer types.
Mark Mitchell [Sun, 19 Mar 2000 00:37:52 +0000 (00:37 +0000)]
tree.h (tree_index): Remove enumerals for integer types.

* tree.h (tree_index): Remove enumerals for integer types.
(integer_type_kind): New type.
(integer_types): New variable.
(char_type_node): Adjust.
(signed_char_type_node): Likewise.
(unsigned_char_type_node): Likewise.
(short_integer_type_node): Likewise.
(short_unsigned_type_node): Likewise.
(integer_type_node): Likewise.
(unsigned_type_node): Likewise.
(long_integer_type_node): Likewise.
(long_unsigned_type_node): Likewise.
(long_long_integer_type_node): Likewise.
(long_long_unsigned_type_node): Likewise.
* tree.c (integer_types): New variable.
(init_obstacks): Register it as a root.

From-SVN: r32624

24 years agobb-reorder.c (reorder_basic_blocks): Update PREV_INSN as well as NEXT_INSN.
Jason Eckhardt [Sat, 18 Mar 2000 20:40:38 +0000 (20:40 +0000)]
bb-reorder.c (reorder_basic_blocks): Update PREV_INSN as well as NEXT_INSN.

* bb-reorder.c (reorder_basic_blocks): Update PREV_INSN as well as
NEXT_INSN. Update last insn in chain.

From-SVN: r32623

24 years agodwarf2out.c (dwarf2out_decl): Don't emit anything for types with TYPE_DECL_SUPPRESS_D...
Jason Merrill [Sat, 18 Mar 2000 19:59:35 +0000 (14:59 -0500)]
dwarf2out.c (dwarf2out_decl): Don't emit anything for types with TYPE_DECL_SUPPRESS_DEBUG set.

        * dwarf2out.c (dwarf2out_decl): Don't emit anything for types
        with TYPE_DECL_SUPPRESS_DEBUG set.

From-SVN: r32622

24 years ago* flow.c (make_edges): Use INTVAL to access REG_EH_REGION value.
Richard Henderson [Sat, 18 Mar 2000 19:08:06 +0000 (11:08 -0800)]
* flow.c (make_edges): Use INTVAL to access REG_EH_REGION value.

From-SVN: r32621

24 years agoi386.c (call_insn_operand): Always allow SYMBOL_REF, care for HALF_PIC_P.
Richard Henderson [Sat, 18 Mar 2000 19:01:04 +0000 (11:01 -0800)]
i386.c (call_insn_operand): Always allow SYMBOL_REF, care for HALF_PIC_P.

        * i386.c (call_insn_operand): Always allow SYMBOL_REF,
        care for HALF_PIC_P.
        (expander_call_insn_operand): Remove.
        (ix86_expand_epilogue): New arg `emit_return' to control return insn.
        * i386.h (PREDICATE_CODES): Update.
        * i386.md (all call expanders): Remove predicates, remove special
        handling for half-pic.
        (*call_1, *call_value_1): Handle SIBLING_CALL_P insns.
        (*call_pop_pic2, *call_pic2, *call_value_pop_2, *call_value_2): Remove.
        (sibcall_epilogue): New.

From-SVN: r32620

24 years ago* parse.c: Regenerated.
Martin v. Löwis [Sat, 18 Mar 2000 18:19:23 +0000 (18:19 +0000)]
* parse.c: Regenerated.

From-SVN: r32619

24 years ago* parse.y (extdefs): Call ggc_collect.
Martin v. Löwis [Sat, 18 Mar 2000 18:12:54 +0000 (18:12 +0000)]
* parse.y (extdefs): Call ggc_collect.

From-SVN: r32618

24 years agoclass.c (build_base_field): Use TYPE_ALIGN to examine a type.
Nathan Sidwell [Sat, 18 Mar 2000 10:28:02 +0000 (10:28 +0000)]
class.c (build_base_field): Use TYPE_ALIGN to examine a type.

* class.c (build_base_field): Use TYPE_ALIGN to examine a type.
(note_name_declared_in_class): Use OVL_CURRENT to get at a
potential overload.

From-SVN: r32617

24 years agoDaily bump.
Jeff Law [Sat, 18 Mar 2000 08:45:07 +0000 (01:45 -0700)]
Daily bump.

From-SVN: r32616

24 years agodivconst-2.c: Rewrite to check for standards-compliant result rather than specific...
Hans-Peter Nilsson [Sat, 18 Mar 2000 03:26:47 +0000 (03:26 +0000)]
divconst-2.c: Rewrite to check for standards-compliant result rather than specific constants.

* execute/divconst-2.c: Rewrite to check for standards-compliant
result rather than specific constants.  Put test-values in array.

From-SVN: r32615

24 years agortlanal.c (single_set): Reject if the parallel has anything except SET or USE or...
Richard Henderson [Fri, 17 Mar 2000 23:24:30 +0000 (15:24 -0800)]
rtlanal.c (single_set): Reject if the parallel has anything except SET or USE or CLOBBER.

        * rtlanal.c (single_set): Reject if the parallel has anything
        except SET or USE or CLOBBER.

From-SVN: r32614

24 years agoalpha.h (FUNCTION_OK_FOR_SIBCALL): New.
Richard Henderson [Fri, 17 Mar 2000 22:41:25 +0000 (14:41 -0800)]
alpha.h (FUNCTION_OK_FOR_SIBCALL): New.

        * alpha.h (FUNCTION_OK_FOR_SIBCALL): New.
        * alpha.md (sibcall, sibcall_value, sibcall_epilogue): New.
        (*sibcall_osf_1, *sibcall_value_osf_1): New.

From-SVN: r32613

24 years agoSibling call optimizations.
Jeffrey A Law [Fri, 17 Mar 2000 22:40:45 +0000 (14:40 -0800)]
Sibling call optimizations.

Co-Authored-By: Richard Henderson <rth@cygnus.com>
From-SVN: r32612

24 years agoobjc-act.c (encode_method_prototype): Pass types, not PARM_DECLs, to int_size_in_bytes.
Mark Mitchell [Fri, 17 Mar 2000 21:44:43 +0000 (21:44 +0000)]
objc-act.c (encode_method_prototype): Pass types, not PARM_DECLs, to int_size_in_bytes.

* objc/objc-act.c (encode_method_prototype): Pass types, not
PARM_DECLs, to int_size_in_bytes.

From-SVN: r32611

24 years agoFix glibc s_scalbn.c miscompilation at -O.
Jim Wilson [Fri, 17 Mar 2000 20:22:18 +0000 (20:22 +0000)]
Fix glibc s_scalbn.c miscompilation at -O.

* config/ia64/ia64.md (mix4right_3op): Swap %1 and %2 in template.

From-SVN: r32610

24 years agoPut 1999 years back.
Jim Wilson [Fri, 17 Mar 2000 20:06:49 +0000 (20:06 +0000)]
Put 1999 years back.

* config/ia64/ia64-protos.h, config/ia64/ia64.c, config/ia64/ia64.h,
config/ia64/ia64.md, config/ia64/xm-ia64.h: Fix copyrights again.

From-SVN: r32609

24 years agoRevert unapproved changes that were inadvertanly brought in with the previous
Nick Clifton [Fri, 17 Mar 2000 18:15:53 +0000 (18:15 +0000)]
Revert unapproved changes that were inadvertanly brought in with the previous
delta.

From-SVN: r32608

24 years ago* Clean up usages of TREE_INT_CST_LOW.
Richard Kenner [Fri, 17 Mar 2000 17:31:58 +0000 (17:31 +0000)]
* Clean up usages of TREE_INT_CST_LOW.

* c-parse.in (RESTORE_WARN_FLAGS): Use tree_low_cst.
* c-parse.y, c-parse.c, objc/objc-parse.y, objc/objc-parse.c:
Regenerated.
* c-tree.h (min_precision): Move declaration to here.
* c-typeck.c (build_binary_op): Use host_integerp and tree_low_cst.
(build_unary_op, add_pending_init): Use bit_position.
(pending_init_member, process_init_element): Likewise.
(really_start_incremental_init, push_init_level, pop_init_level):
Don't make copies of nodes or modify them in place, use consistent
types when tracking positions, and use tree routines computations.
(set_init_index, output_init_element): Likewise.
(output_pending_init_elements, process_init_element): Likewise.
* dbxout.c (dbxout_type_fields): Use bit_position, host_integerp,
tree_low_cst and int_bit_position; also minor cleanup.
(dbxout_type_method_1, dbxout_range_type, dbxout_type): Likewise.
(print_cst_octal): Precision is unsigned.
(dbxout_symbol): Ensure DECL_INITIAL is in-range and use tree_low_cst.
* dwarf2out.c (ceiling): Input and output are unsigned HOST_WIDE_INT.
(simple_type_align_in_bits): Result is unsigned int.
Use tree_int_low_cst and host_integerp.
(simple_type_size_in_bits): Result is unsigned HOST_WIDE_INT.
(field_byte_offset): Result is HOST_WIDE_INT.
Change types of internal variables so alignments are unsigned int,
offsets are HOST_WIDE_INT and sizes are unsigned HOST_WIDE_INT.
Use host_integerp, tree_low_cst, and int_bit_position.
(add_bit_offset_attribute): Likewise.
(add_data_member_location_attribute): Use tree_cst_low.
(add_bound_info): Use host_integerp, integer_zerop, and integer_onep.
(add_bit_size_attribute): Use tree_low_cst.
(add_pure_or_virtual_attribute, gen_enumeration_type_die): Likewise.
* dwarfout.c: Similar changes to dwarf2out.c.
* expr.c (expand_expr, case ARRAY_REF): Remove redundant code.
* genoutput.c (n_occurences): Return -1 for null string.
(strip_whitespace): Accept null string and make into function.
(scan_operands): Reflect above changes.
* sdbout.c (plain_type_1): Use host_integerp and tree_low_cst.
(sdbout_field_types, sdbout_one_type): Likewise; also use bit_position.
* ssa.c (rename_registers): Add missing cast of arg to bzero.
* tree.c (int_size_in_bytes): Check for too big to represent.
(bit_position, int_bit_position, host_integerp, tree_low_cst): New fns.
* tree.h (host_integerp, tree_low_cst, bit_position, int_bit_position):
New declarations.
(min_precision): Delete from here.
* varasm.c (decode_addr_const): Use host_integerp, bit_position,
and int_bit_position.
* objc/objc-act.c (encode_method_prototype): Sizes are HOST_WIDE_INT.
(encode_method_def): Likewise.
(build_ivar_list_initializer): Use int_bit_position.
(generate_shared_structures): Convert size.
(encode_type, encode_complete_bitfield): Use integer_zerop.
(encode_bitfield): Use tree_low_cst and int_bit_position.
* ch/typeck.c (min_precision): New function.
(build_chill_slice): Use host_integerp and tree_low_cst.
(expand_constant_to_buffer): Likewise and also int_bit_position.
LO is unsigned HOST_WIDE_INT
(build_chill_array_ref_1): Make `i' be HOST_WIDE_INT; use tree_low_cst.
(extract_constant_from_buffer): Sizes are now HOST_WIDE_INT.
Use host_integerp and tree_low_cst.
(build_chill_bin_type): Use host_integerp and tree_low_cst.
(layout_chill_range_type): Use tree_int_cst_sgn, compare_tree_int,
tree_low_cst, and min_precision.
(apply_chill_array_layout): Cleanups for types of variables
and use tree_int_cst_sgn, compare_tree_int, and tree_low_cst.
(apply_chill_field_layout): Likewise.
* cp/class.c (build_vbase_path): Use integer_zerop.
(build_vtable_entry): Use tree_low_cst.
(get_vfield_offset): Use bit_position.
(dfs_modify_vtables): New variable vindex_val; `i' is HOST_WIDE_INT.
Use tree_low_cst.
(check_bitfield_decl): Set DECL_SIZE using convert.
(build_base_field): Set DECL_SIZE and DECL_SIZE_UNIT using size_binop.
(layout_virtual_bases): DSIZE is unsigned HOST_WIDE_INT.
Use tree_low_cst.
(finish_struct_1): Use bit_position.
(dump_class_hierarchy): Use tree_low_cst.
* cp/cp-tree.h (min_precision): Add declaration.
* cp/decl.c (xref_tag, xref_basetypes): Use tree_low_cst.
* cp/error.c (dump_type_suffix): Use host_integerp and tree_low_cst.
(dump_expr): Use integer_zerop, host_integerp, and tree_low_cst.
* cp/expr.c (cplus_expand_constant): Use bit_position.
* cp/init.c (build_vec_init): Use host_integerp and tree_low_cst.
* cp/rtti.c (get_base_offset): Use bit_position.
* cp/typeck.c (build_binary_op): Use integer_zerop, compare_tree_int,
host_integerp, and tree_low_cst.
(pointer_int_sum): Use integer_zerop.
(build_component_addr): Use bit_position.
* java/class.c (make_field_value): Properly handle sizes.
(get_dispatch_vector): Use tree_low_cst and host_integerp.
(layout_class_method): Count using trees.
* java/decl.c (push_promoted_type): Set TYPE_{MIN,MAX}_VALUE with
copy_node.
* java/expr.c (java_array_data_offset): Use int_bit_position.
(build_newarray, build_anewarray): Use host_integerp and tree_low_cst.
(build_invokevirtual): Use tree_low_cst and do computations with trees.

From-SVN: r32607

24 years ago* config/c4x/c4x.h (CPP_SPEC): Fix typo.
Michael Hayes [Fri, 17 Mar 2000 10:23:16 +0000 (10:23 +0000)]
* config/c4x/c4x.h (CPP_SPEC): Fix typo.

From-SVN: r32606

24 years agotypeck.c (require_complete_type): Don't assume size_zero_node.
Nathan Sidwell [Fri, 17 Mar 2000 09:52:03 +0000 (09:52 +0000)]
typeck.c (require_complete_type): Don't assume size_zero_node.

* typeck.c (require_complete_type): Don't assume size_zero_node.
(complete_type_or_else): Likewise.

From-SVN: r32605

24 years agocall.c (special_function_p): It is only malloc if it returns Pmode.
Martin v. Löwis [Fri, 17 Mar 2000 09:11:17 +0000 (09:11 +0000)]
call.c (special_function_p): It is only malloc if it returns Pmode.

* call.c (special_function_p): It is only malloc if it returns
Pmode.

From-SVN: r32604

24 years agoDaily bump.
Jeff Law [Fri, 17 Mar 2000 08:45:07 +0000 (01:45 -0700)]
Daily bump.

From-SVN: r32603

24 years agoc4x.h (ASM_SPEC, [...]): Support C33.
Michael Hayes [Fri, 17 Mar 2000 05:23:50 +0000 (05:23 +0000)]
c4x.h (ASM_SPEC, [...]): Support C33.

* config/c4x/c4x.h (ASM_SPEC, CPP_SPEC, LINK_SPEC): Support C33.
(C33_FLAG, TARGET_C3X): Add macros.
(TARGET_SWITCHES): Add -m33 option.
* config/c4x/c4x.c (c4x_override_options): Test for TARGET_C33.

From-SVN: r32602

24 years agoc4x.h (PARALLEL_INSN_FLAG): Add.
Michael Hayes [Fri, 17 Mar 2000 04:43:19 +0000 (04:43 +0000)]
c4x.h (PARALLEL_INSN_FLAG): Add.

* config/c4x/c4x.h (PARALLEL_INSN_FLAG): Add.
(PARALLEL_PACK_FLAG): Delete.
(TARGET_SWITCHES): Update.
(TARGET_PARALLEL): Use PARALLEL_INSN_FLAG.

From-SVN: r32601

24 years agotweak comment
Jason Merrill [Fri, 17 Mar 2000 00:56:18 +0000 (19:56 -0500)]
tweak comment

From-SVN: r32600

24 years agortti.c (build_dynamic_cast_1): Improve diagnostics.
Steven Grady [Fri, 17 Mar 2000 00:56:12 +0000 (00:56 +0000)]
rtti.c (build_dynamic_cast_1): Improve diagnostics.

        * rtti.c (build_dynamic_cast_1): Improve diagnostics.

Co-Authored-By: Jason Merrill <jason@casey.cygnus.com>
From-SVN: r32599

24 years agoColor.java: New file.
Warren Levy [Fri, 17 Mar 2000 00:45:06 +0000 (00:45 +0000)]
Color.java: New file.

* java/awt/Color.java: New file.
* java/awt/Graphics.java: New file.
* java/awt/Image.java: New file.
* java/awt/Paint.java: New file.
* java/awt/PaintContext.java: New file.
* java/awt/Transparency.java: New file.
* java/util/Collection.java: New file.
* java/util/Comparator.java: New file.
* java/util/Iterator.java: New file.
* java/util/List.java: New file.
* java/util/ListIterator.java: New file.
* Makefile.am: Added above new files.
* Makefile.in: Rebuilt.

* java/awt/Font.java (PLAIN): New field.
(BOLD): New field.
(ITALIC): New field.
(ROMAN_BASELINE): New field.
(CENTER_BASELINE): New field.
(HANGING_BASELINE): New field.
(name): New field.
(style): New field.
(size): New field.
(pointSize): New field.
(Font): Implemented constructor.
(isPlain): Implemented method.
(isBold): Implemented method.
(isItalic): Implemented method.
(getName): Implemented method.
(getStyle): Implemented method.
(getSize): Implemented method.
(getSize2D): Implemented method.
(decode): Stubbed.
* java/awt/Frame.java (getFont): Stubbed.
(postEvent): Stubbed.
(remove): Stubbed.
* java/awt/Menu.java (postEvent): Stubbed.
* java/awt/MenuBar.java (getFont): Stubbed.
(postEvent): Stubbed.
* java/awt/Toolkit.java (getImage): Added abstract method.

From-SVN: r32598

24 years agofold-const.c (fold): Fix a few cases when the returned result is not of the same...
Richard Kenner [Thu, 16 Mar 2000 23:45:28 +0000 (23:45 +0000)]
fold-const.c (fold): Fix a few cases when the returned result is not of the same type as the input.

* fold-const.c (fold): Fix a few cases when the returned result
is not of the same type as the input.

From-SVN: r32597

24 years agoFix compile time warning building cp/method.o
Nick Clifton [Thu, 16 Mar 2000 22:46:40 +0000 (22:46 +0000)]
Fix compile time warning building cp/method.o

From-SVN: r32595

24 years agolibgcc2.h: Move prototypes above macros with the same name.
Kaveh R. Ghazi [Thu, 16 Mar 2000 22:14:08 +0000 (22:14 +0000)]
libgcc2.h: Move prototypes above macros with the same name.

* libgcc2.h: Move prototypes above macros with the same name.
Wrap some function prototypes in the conditional which indicates
whether they are supported, i.e. "BITS_PER_UNIT == 8".

From-SVN: r32594

24 years agolang.c (flag_hash_synchronization): New global.
Tom Tromey [Thu, 16 Mar 2000 18:32:45 +0000 (18:32 +0000)]
lang.c (flag_hash_synchronization): New global.

* lang.c (flag_hash_synchronization): New global.
(lang_f_options): Added `hash-synchronization'.
* lang-options.h: Mention -fhash-synchronization.
* java-tree.h (flag_hash_synchronization): Declare.
* expr.c (java_lang_expand_expr): Only push `sync_info' value when
hash table synchronization is disabled.
* decl.c (init_decl_processing): Only push `sync_info' value when
hash table synchronization is disabled.
* class.c (make_class_data): Only push `sync_info' field when hash
table synchronization is disabled.  Removed dead code.

From-SVN: r32593

24 years ago* calls.c: Revert last two changes.
Richard Henderson [Thu, 16 Mar 2000 17:42:06 +0000 (09:42 -0800)]
* calls.c: Revert last two changes.

From-SVN: r32592

24 years ago* lang.c (lang_decode_option): Enable -Wunused when -Wall given.
Tom Tromey [Thu, 16 Mar 2000 17:26:46 +0000 (17:26 +0000)]
* lang.c (lang_decode_option): Enable -Wunused when -Wall given.

From-SVN: r32591

24 years agoIntroduce NO_DENORMALS in fp-bit.c
Bernd Schmidt [Thu, 16 Mar 2000 17:20:57 +0000 (17:20 +0000)]
Introduce NO_DENORMALS in fp-bit.c

From-SVN: r32590

24 years agoSome cselib bug fixes
Bernd Schmidt [Thu, 16 Mar 2000 17:13:49 +0000 (17:13 +0000)]
Some cselib bug fixes

From-SVN: r32589

24 years agoi386.md (all HI and QI mode non-move patterns): Conditionize by TARGET_[HQ]IMODE_MATH.
Jan Hubicka [Thu, 16 Mar 2000 16:08:35 +0000 (17:08 +0100)]
i386.md (all HI and QI mode non-move patterns): Conditionize by TARGET_[HQ]IMODE_MATH.

* i386.md (all HI and QI mode non-move patterns):  Conditionize
by TARGET_[HQ]IMODE_MATH.
* i386.h (x86_himode_math, x86_qimode_math, x86_promote_hi_regs,
x86_promote_qi_regs): Declare.
(TARGET_HIMODE_MATH, TARGET_QIMODE_MATH, TARGET_PROMOTE_HI_REGS,
TARGET_PROMOTE_QI_REGS): New macros.
(PROMOTE_MODE): New macro.
* i386.c (x86_himode_math, x86_qimode_math, x86_promote_hi_regs,
x86_promote_qi_regs): New global variables.

From-SVN: r32588

24 years agocalls.c (emit_library_call_value_1): Break out from ...; handle VOIDmode function...
Jan Hubicka [Thu, 16 Mar 2000 15:52:13 +0000 (16:52 +0100)]
calls.c (emit_library_call_value_1): Break out from ...; handle VOIDmode function calls too.

* calls.c (emit_library_call_value_1): Break out from ...; handle
VOIDmode function calls too.
(emit_library_call_value): ... here.
(emit_library_call): Implement by calling emit_library_call_value_1.

From-SVN: r32587

24 years agocalls.c (expand_call): Do sanity checking on arg_space_so_far.
Jan Hubicka [Thu, 16 Mar 2000 15:02:42 +0000 (16:02 +0100)]
calls.c (expand_call): Do sanity checking on arg_space_so_far.

* calls.c (expand_call): Do sanity checking on arg_space_so_far.
Update arg_space_so_far on stack adjustments.
(emit_library_call, emit_library_call_value): Likewise; take into
account arg_space_so_far and pending_stack_adjust when calculcating
the boundary.

From-SVN: r32586

24 years agoflow.c: Move all basic block reordering code into its own file.
Jason Eckhardt [Thu, 16 Mar 2000 14:56:55 +0000 (14:56 +0000)]
flow.c: Move all basic block reordering code into its own file.

* flow.c: Move all basic block reordering code into its own file.
(create_basic_block): Externalize.
* bb-reorder.c: New file. Copy all basic block reordering code from
flow.c to this file.
(reorder_basic_blocks): Fix fencepost error in for-loop.
(reorder_basic_blocks): Remove braces from single statement for-loops.
* basic-block.h: Add declaration for create_basic_block.
* Makefile.in: Add rules for bb-reorder.o.

From-SVN: r32585

24 years agocppinit.c (handle_option): Implement #unassert directive as -A- command line option.
Neil Booth [Thu, 16 Mar 2000 14:15:17 +0000 (14:15 +0000)]
cppinit.c (handle_option): Implement #unassert directive as -A- command line option.

2000-03-16  Neil Booth  <NeilB@earthling.net>

* cppinit.c (handle_option):  Implement #unassert directive
        as -A- command line option.
(print_help):  Update.
* cpptexi.c:  Update.

From-SVN: r32584

24 years ago* md.texi (Standard Names): Document `jump'.
Hans-Peter Nilsson [Thu, 16 Mar 2000 12:18:18 +0000 (12:18 +0000)]
* md.texi (Standard Names): Document `jump'.

From-SVN: r32583

24 years ago* decl2.c (grokfield): Bail out if type is error_mark_node.
Nathan Sidwell [Thu, 16 Mar 2000 10:13:28 +0000 (10:13 +0000)]
* decl2.c (grokfield): Bail out if type is error_mark_node.

From-SVN: r32582

24 years agoDaily bump.
Jeff Law [Thu, 16 Mar 2000 08:45:07 +0000 (01:45 -0700)]
Daily bump.

From-SVN: r32581

24 years ago* Makefile.in (partition.o): Depend on config.h
Jeffrey A Law [Thu, 16 Mar 2000 08:37:47 +0000 (08:37 +0000)]
* Makefile.in (partition.o): Depend on config.h

From-SVN: r32580

24 years agocalls.c (emit_call_1): Nothrow functions can still have nonlocal gotos.
Jason Merrill [Thu, 16 Mar 2000 07:44:30 +0000 (07:44 +0000)]
calls.c (emit_call_1): Nothrow functions can still have nonlocal gotos.

        * calls.c (emit_call_1): Nothrow functions can still have nonlocal
        gotos.

From-SVN: r32579

24 years agoRegenerate
Zack Weinberg [Thu, 16 Mar 2000 04:25:12 +0000 (04:25 +0000)]
Regenerate

From-SVN: r32578

24 years agoAdd self as rs6000 maintainer.
Geoffrey Keating [Thu, 16 Mar 2000 03:28:44 +0000 (03:28 +0000)]
Add self as rs6000 maintainer.

From-SVN: r32577

24 years agoSee the ChangeLog on the branch for more details.
Geoff Keating [Thu, 16 Mar 2000 03:16:41 +0000 (03:16 +0000)]
See the ChangeLog on the branch for more details.

* configure.in: Merge in changes from newppc-branch.
* configure: Regenerate.
* config/rs6000/*: Merge in changes from newppc-branch.
Also correct copyright notices.

From-SVN: r32575

24 years agoacconfig.h (HAVE_GAS_WEAK): New define.
Jeffrey A Law [Thu, 16 Mar 2000 01:58:14 +0000 (01:58 +0000)]
acconfig.h (HAVE_GAS_WEAK): New define.

        * acconfig.h (HAVE_GAS_WEAK): New define.
        * configure.in (assembler weak support): Check for .weak support.
        * config.in, configure: Rebuilt.
        * pa/som.h (MAKE_DECL_ONE_ONLY, ASM_WEAKEN_LABEL): Only define if
        HAVE_GAS_WEAK is defined.

From-SVN: r32573

24 years agodecl.c (init_decl_processing): Set type of `sync_info' to be pointer to Object.
Tom Tromey [Thu, 16 Mar 2000 01:32:12 +0000 (01:32 +0000)]
decl.c (init_decl_processing): Set type of `sync_info' to be pointer to Object.

* decl.c (init_decl_processing): Set type of `sync_info' to be
pointer to Object.

* boehm.c (get_boehm_type_descriptor): Correctly compute `bits'.
Correctly compute bit number for current slot.  Zero `high' and
`low' in DS_LENGTH case.  Don't skip inherited fields.  Use
mark_reference_fields.
(mark_reference_fields): New function.

From-SVN: r32572

24 years agoFix gcc tescase compile/990527-1.c by not passing %c to asm_fprintf
Nick Clifton [Wed, 15 Mar 2000 22:06:16 +0000 (22:06 +0000)]
Fix gcc tescase compile/990527-1.c by not passing %c to asm_fprintf

From-SVN: r32569

24 years agocppfiles.c (open_include_file): New function.
Zack Weinberg [Wed, 15 Mar 2000 22:03:37 +0000 (22:03 +0000)]
cppfiles.c (open_include_file): New function.

* cppfiles.c (open_include_file): New function.
(find_include_file, cpp_read_file): Use it.

From-SVN: r32568

24 years ago[multiple changes]
Tom Tromey [Wed, 15 Mar 2000 22:03:19 +0000 (22:03 +0000)]
[multiple changes]

2000-03-15  Tom Tromey  <tromey@cygnus.com>

* java/io/natFileDescriptorWin32.cc (winerr): Now static.

* prims.cc (win32_exception_handler): Reformatted.

* include/win32-threads.h (_Jv_HaveCondDestroy): New define.
(_Jv_HaveMutexDestroy): Likewise.

2000-03-15 Jon Beniston <jb7216@bristol.ac.uk>

* java/io/natFileDescriptorWin32.cc: New file.
* java/io/natFileWin32.cc: New file.
* java/net/natInetAddress.cc: Added conditional inclusion of
Windows / Winsock headers.
* java/net/natPlainDatagramSocketImpl.cc: Added conditional
inclusion of Windows / Winsock headers.
* java/net/natPlainSocketImpl.cc: Added conditional inclusion of
Windows / Winsock headers.
* include/win32-signal.h: New file.
* include/win32-threads.h: New file.
* win32-threads.cc: New file.
* exception.cc (win32_get_restart_frame): New function.
* prims.cc (win32_exception_handler): New function.
(main_init) Performs Winsock initialisation.
(main_init) Installs exeception handler.

From-SVN: r32567

24 years ago* cpphash.c (dump_hash_helper): Take the slot, not the element.
Jason Merrill [Wed, 15 Mar 2000 21:54:47 +0000 (21:54 +0000)]
* cpphash.c (dump_hash_helper): Take the slot, not the element.

From-SVN: r32566

24 years ago* flow.c (verify_flow_info): Check for unconditional return.
Jason Eckhardt [Wed, 15 Mar 2000 20:24:35 +0000 (20:24 +0000)]
* flow.c (verify_flow_info): Check for unconditional return.

From-SVN: r32565

24 years agoPatches to make libobjc build.
Jim Wilson [Wed, 15 Mar 2000 19:35:26 +0000 (19:35 +0000)]
Patches to make libobjc build.

* config/ia64/ia64.md (restore_stack_nonlocal): New.
* config/ia64/lib1funcs.asm (__ia64_nonlocal_goto): Delete padding nop.
(__ia64_restore_stack_nonlocal): New.
* config/ia64/t-ia64 (LIB1ASMFUNCS): Add __restore_stack_nonlocal.

From-SVN: r32564

24 years agocpphash.c (collect_formal_parameters): Do not complain about parameter names that...
Alexandre Oliva [Wed, 15 Mar 2000 18:46:09 +0000 (18:46 +0000)]
cpphash.c (collect_formal_parameters): Do not complain about parameter names that just start with `__VA_ARGS__'.

* cpphash.c (collect_formal_parameters): Do not complain about
parameter names that just start with `__VA_ARGS__'.

From-SVN: r32563

24 years agotinfo2.cc (__ptr_to_member_data): Rename to ...
Nathan Sidwell [Wed, 15 Mar 2000 17:17:45 +0000 (17:17 +0000)]
tinfo2.cc (__ptr_to_member_data): Rename to ...

* tinfo2.cc (__ptr_to_member_data): Rename to ...
(__pointer_to_member_data): ... here. Adjust.
* rtti.c (create_tinfo_types): Adjust.

From-SVN: r32562

24 years ago* libjava.compile/pr176.java: New file, for PR gcj/176.
Tom Tromey [Wed, 15 Mar 2000 16:36:44 +0000 (16:36 +0000)]
* libjava.compile/pr176.java: New file, for PR gcj/176.

From-SVN: r32561

24 years agoi386.md (movhi_1): Promote movw imm...
Jan Hubicka [Wed, 15 Mar 2000 12:34:40 +0000 (13:34 +0100)]
i386.md (movhi_1): Promote movw imm...

* i386.md (movhi_1): Promote movw imm, reg to movl imm, reg and
movw reg, reg to movzwl reg, reg on PARTIAL_REGISTER_STALL machines.
* i386.c (pentiumpro_cost): Set mul cost to 4.
(x86_use_movx): Set for PPro.

From-SVN: r32560