Commit Graph

26946 Commits

Author SHA1 Message Date
Geoffrey Keating
1c882ea4e7 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
2000-03-20 23:47:39 +00:00
Andreas Jaeger
8c57aea6ec * tree.h (safe_for_unsave): Prototype.
From-SVN: r32656
2000-03-20 15:44:30 -08:00
Andreas Jaeger
bf5e8d0c60 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
2000-03-20 15:42:47 -08:00
Richard Henderson
9e11785b7c 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
2000-03-20 14:52:04 -08:00
Richard Henderson
e245d3af6f 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
2000-03-20 14:40:50 -08:00
Jason Merrill
e139e81e89 new
From-SVN: r32652
2000-03-20 16:37:40 -05:00
Geoff Keating
1c521d4150 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
2000-03-20 20:58:53 +00:00
Jed Wing
10bd7f8c2d 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
2000-03-20 13:12:59 -05:00
Theodore Papadopoulo
c65a922c68 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
2000-03-20 12:44:24 -05:00
Martin v. Löwis
949d707dcf 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
2000-03-20 13:22:38 +00:00
Jan Hubicka
4b6baf0ec0 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
2000-03-20 10:45:56 +00:00
Jeff Law
a24f8a86aa Daily bump.
From-SVN: r32646
2000-03-20 01:45:09 -07:00
Nick Clifton
9e291dbee4 remove extraneous code checked in with previous delta
From-SVN: r32645
2000-03-19 21:57:35 +00:00
Richard Henderson
1722dcfc0c * gcc.c-torture/compile/20000314-2.c: Use __SIZE_TYPE__, not size_t.
From-SVN: r32644
2000-03-19 12:28:03 -08:00
Martin v. Löwis
c14f7160a1 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
2000-03-19 18:25:27 +00:00
Martin v. Löwis
d88f311b63 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
2000-03-19 17:53:38 +00:00
Kaveh R. Ghazi
e680248ee3 t-aix41: New file.
* rs6000/t-aix41: New file.

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

From-SVN: r32641
2000-03-19 13:45:25 +00:00
Hans-Peter Nilsson
9f6dc50085 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
2000-03-19 12:32:32 +00:00
Warren Levy
54b43a686d 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
2000-03-19 12:20:12 +00:00
Richard Henderson
ef49f59036 * stor-layout.c (layout_decl): Don't abort on any zero sized decl.
From-SVN: r32638
2000-03-19 03:56:54 -08:00
Richard Henderson
5d6a090fbd * gcc.c-torture/compile/20000319-1.c: New test.
From-SVN: r32637
2000-03-19 03:51:11 -08:00
Richard Henderson
8e1ca0982c 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
2000-03-19 03:37:39 -08:00
Richard Henderson
1519ae2c7f 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
2000-03-19 03:30:38 -08:00
Warren Levy
b6166b4d0f * java/awt/Color.java: Rewrote to be more memory efficient (& compile).
From-SVN: r32634
2000-03-19 11:23:27 +00:00
Jeff Law
b8086379b6 Daily bump.
From-SVN: r32633
2000-03-19 01:45:10 -07:00
Mark Mitchell
116eebd674 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
2000-03-19 05:26:48 +00:00
Mark Mitchell
cd8ed62964 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
2000-03-19 05:22:04 +00:00
Mark Mitchell
3ca3ce41d7 Tweak for slightly different error-output.
From-SVN: r32630
2000-03-19 05:17:20 +00:00
Mark Mitchell
a054ab1d0c * Makefile.in (expr.o): Depend on intl.h.
From-SVN: r32629
2000-03-19 05:14:44 +00:00
Mark Mitchell
e2c49ac21c * expr.c: Include intl.h.
From-SVN: r32628
2000-03-19 05:13:15 +00:00
Tom Tromey
6264c3956f * libjava.lang/pr109.java: Added `println' at end.
From-SVN: r32627
2000-03-19 04:35:24 +00:00
Richard Henderson
942248b868 * expr.c (emit_move_insn_1): Clarify cannot_inline message.
From-SVN: r32626
2000-03-18 17:56:42 -08:00
Mark Mitchell
01955e9613 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
2000-03-19 00:59:51 +00:00
Mark Mitchell
7145ef21d8 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
2000-03-19 00:37:52 +00:00
Jason Eckhardt
863251c18d 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
2000-03-18 20:40:38 +00:00
Jason Merrill
57fb7689e7 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
2000-03-18 14:59:35 -05:00
Richard Henderson
12a41c4810 * flow.c (make_edges): Use INTVAL to access REG_EH_REGION value.
From-SVN: r32621
2000-03-18 11:08:06 -08:00
Richard Henderson
cbbf65e012 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
2000-03-18 11:01:04 -08:00
Martin v. Löwis
b6c5a81ce3 * parse.c: Regenerated.
From-SVN: r32619
2000-03-18 18:19:23 +00:00
Martin v. Löwis
432aff6669 * parse.y (extdefs): Call ggc_collect.
From-SVN: r32618
2000-03-18 18:12:54 +00:00
Nathan Sidwell
f281dd5a9d 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
2000-03-18 10:28:02 +00:00
Jeff Law
ca881de608 Daily bump.
From-SVN: r32616
2000-03-18 01:45:07 -07:00
Hans-Peter Nilsson
82ec9e7829 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
2000-03-18 03:26:47 +00:00
Richard Henderson
787ccee012 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
2000-03-17 15:24:30 -08:00
Richard Henderson
7d89dda571 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
2000-03-17 14:41:25 -08:00
Jeffrey A Law
0a1c58a25a Sibling call optimizations.
Co-Authored-By: Richard Henderson <rth@cygnus.com>

From-SVN: r32612
2000-03-17 14:40:45 -08:00
Mark Mitchell
f1fd8077fd 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
2000-03-17 21:44:43 +00:00
Jim Wilson
fa9a44e815 Fix glibc s_scalbn.c miscompilation at -O.
* config/ia64/ia64.md (mix4right_3op): Swap %1 and %2 in template.

From-SVN: r32610
2000-03-17 12:22:18 -08:00
Jim Wilson
e65271be0f 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
2000-03-17 12:06:49 -08:00
Nick Clifton
24994dd5d7 Revert unapproved changes that were inadvertanly brought in with the previous
delta.

From-SVN: r32608
2000-03-17 18:15:53 +00:00