aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2000-03-20sdbout.c (sdbout_one_type): Add braces to avoid "ambigous else" warning.Andreas Jaeger2-10/+16
* sdbout.c (sdbout_one_type): Add braces to avoid "ambigous else" warning. From-SVN: r32655
2000-03-20regmove.c (stack_memref_p): Fix typo, reorg for readability.Richard Henderson3-15/+32
* 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-20calls.c (expand_call): Don't bother generating tail call sequences if there ↵Richard Henderson2-1/+23
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-20newJason Merrill1-0/+9
From-SVN: r32652
2000-03-20configure.in: Set $IFS to a value if it doesn't already have one in the ↵Geoff Keating3-3/+9
--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-20method.c (build_overload_int): Use host_integerp.Jed Wing2-5/+8
* method.c (build_overload_int): Use host_integerp. Co-Authored-By: Jason Merrill <jason@casey.cygnus.com> From-SVN: r32650
2000-03-20init.c (build_offset_ref): Handle the case of a templated member function.Theodore Papadopoulo2-3/+20
* init.c (build_offset_ref): Handle the case of a templated member function. From-SVN: r32649
2000-03-20c-parse.in (SAVE_WARN_FLAGS): Use size_int.Martin v. Löwis6-54/+50
* 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-20jump.c (delete_noop_moves): Remove code attempting to combine stack adjustments.Jan Hubicka2-98/+5
* jump.c (delete_noop_moves): Remove code attempting to combine stack adjustments. From-SVN: r32647
2000-03-20Daily bump.Jeff Law5-5/+5
From-SVN: r32646
2000-03-19remove extraneous code checked in with previous deltaNick Clifton1-28/+5
From-SVN: r32645
2000-03-19* gcc.c-torture/compile/20000314-2.c: Use __SIZE_TYPE__, not size_t.Richard Henderson2-1/+5
From-SVN: r32644
2000-03-19emit-rtl.c (push_to_full_sequence, [...]): New functions.Martin v. Löwis10-13/+59
* 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-19Makefile.in (tree.o): Depend on HASHTAB_H.Martin v. Löwis3-54/+116
* 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-19t-aix41: New file.Kaveh R. Ghazi4-3/+13
* rs6000/t-aix41: New file. * configure.in ({rs6000,powerpc}-ibm-aix4.[12]*): Use it. From-SVN: r32641
2000-03-19tm.texi (Driver): Fix typos and tweak entry for INCLUDE_DEFAULTS.Hans-Peter Nilsson2-17/+30
* 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-19Color.java: Specified java.io for Serializable.Warren Levy3-1/+7
* java/awt/Color.java: Specified java.io for Serializable. * java/awt/Toolkit.java: Imported java.net.URL. From-SVN: r32639
2000-03-19* stor-layout.c (layout_decl): Don't abort on any zero sized decl.Richard Henderson2-11/+2
From-SVN: r32638
2000-03-19* gcc.c-torture/compile/20000319-1.c: New test.Richard Henderson2-0/+10
From-SVN: r32637
2000-03-19fold-const.c (extract_muldiv): Apply type check for defined overflow to ↵Richard Henderson2-15/+23
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-19flow.c (delete_block): Delete the addr_vec along with the block.Richard Henderson2-6/+28
* 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* java/awt/Color.java: Rewrote to be more memory efficient (& compile).Warren Levy2-25/+55
From-SVN: r32634
2000-03-19Daily bump.Jeff Law5-5/+5
From-SVN: r32633
2000-03-19emit-rtl.c (remove_unncessary_notes): Check that all NOTE_INSN_BLOCK_BEG and ↵Mark Mitchell10-70/+62
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-19cp-tree.h (CLEAR_DECL_C_BIT_FIELD): New macro.Mark Mitchell9-48/+161
* 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-19Tweak for slightly different error-output.Mark Mitchell1-1/+1
From-SVN: r32630
2000-03-19* Makefile.in (expr.o): Depend on intl.h.Mark Mitchell2-2/+3
From-SVN: r32629
2000-03-19* expr.c: Include intl.h.Mark Mitchell2-0/+5
From-SVN: r32628
2000-03-19* libjava.lang/pr109.java: Added `println' at end.Tom Tromey2-0/+8
From-SVN: r32627
2000-03-18* expr.c (emit_move_insn_1): Clarify cannot_inline message.Richard Henderson2-1/+5
From-SVN: r32626
2000-03-19class.c (check_bitfield_decl): Remove restriction on really long bitfields.Mark Mitchell3-20/+81
* 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-19tree.h (tree_index): Remove enumerals for integer types.Mark Mitchell3-24/+58
* 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-18bb-reorder.c (reorder_basic_blocks): Update PREV_INSN as well as NEXT_INSN.Jason Eckhardt2-1/+16
* bb-reorder.c (reorder_basic_blocks): Update PREV_INSN as well as NEXT_INSN. Update last insn in chain. From-SVN: r32623
2000-03-18dwarf2out.c (dwarf2out_decl): Don't emit anything for types with ↵Jason Merrill2-1/+10
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* flow.c (make_edges): Use INTVAL to access REG_EH_REGION value.Richard Henderson2-1/+5
From-SVN: r32621
2000-03-18i386.c (call_insn_operand): Always allow SYMBOL_REF, care for HALF_PIC_P.Richard Henderson5-119/+91
* 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* parse.c: Regenerated.Martin v. Löwis2-7/+9
From-SVN: r32619
2000-03-18* parse.y (extdefs): Call ggc_collect.Martin v. Löwis2-2/+6
From-SVN: r32618
2000-03-18class.c (build_base_field): Use TYPE_ALIGN to examine a type.Nathan Sidwell2-2/+8
* 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-18Daily bump.Jeff Law5-5/+5
From-SVN: r32616
2000-03-18divconst-2.c: Rewrite to check for standards-compliant result rather than ↵Hans-Peter Nilsson2-2/+34
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-17rtlanal.c (single_set): Reject if the parallel has anything except SET or ↵Richard Henderson2-9/+28
USE or CLOBBER. * rtlanal.c (single_set): Reject if the parallel has anything except SET or USE or CLOBBER. From-SVN: r32614
2000-03-17alpha.h (FUNCTION_OK_FOR_SIBCALL): New.Richard Henderson3-11/+73
* 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-17Sibling call optimizations.Jeffrey A Law16-860/+2232
Co-Authored-By: Richard Henderson <rth@cygnus.com> From-SVN: r32612
2000-03-17objc-act.c (encode_method_prototype): Pass types, not PARM_DECLs, to ↵Mark Mitchell2-1/+6
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-17Fix glibc s_scalbn.c miscompilation at -O.Jim Wilson2-1/+3
* config/ia64/ia64.md (mix4right_3op): Swap %1 and %2 in template. From-SVN: r32610
2000-03-17Put 1999 years back.Jim Wilson6-7/+12
* 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-17Revert unapproved changes that were inadvertanly brought in with the previousNick Clifton1-37/+0
delta. From-SVN: r32608
2000-03-17* Clean up usages of TREE_INT_CST_LOW.Richard Kenner34-605/+756
* 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
2000-03-17* config/c4x/c4x.h (CPP_SPEC): Fix typo.Michael Hayes2-1/+5
From-SVN: r32606