- 21 Mar, 2000 12 commits
-
-
gcc * tree.h (COMPLETE_TYPE_P): New macro. (COMPLETE_OR_VOID_TYPE_P): New macro. (COMPLETE_OR_UNBOUND_ARRAY_TYPE_P): New macro. * stor-layout.c (layout_type, case VOID_TYPE): Don't set TYPE_SIZE. * c-aux-info.c (gen_type): Use them. * c-common.c (c_expand_expr_stmt): Likewise. * c-decl.c (poplevel, pushdecl, start_decl, finish_decl, grokdeclarator, grokparms, finish_struct, start_function, store_parm_decls, combine_parm_decls): Likewise. * c-parse.y (cast_expr): Likewise. * c-typeck.c (require_complete_type, c_sizeof, c_sizeof_nowarn, c_size_in_bytes, c_alignof, build_component_ref, build_indirect_ref, build_array_ref, convert_arguments, build_binary_op, pointer_diff, build_unary_op, digest_init: Likewise. * calls.c (initialize_argument_information): Likewise. * convert.c (convert_to_integer): Likewise. * dbxout.c (dbxout_typedefs, dbxout_type, dbxout_symbol): Likewise. * dwarfout.c (location_or_const_value_attribute, output_enumeration_type_die, output_structure_type_die, output_union_type_die, output_type): Likewise. * expr.c (safe_from_p, expand_expr): Likewise. * function.c (assign_parms): Likewise. * sdbout.c (sdbout_symbol, sdbout_one_type): Likewise. * tree.c (build_array_type, build_function_type, build_method_type, build_offset_type, build_complex_type): Likewise. * c-parse.c, c-parse.h: Regenerated. gcc/cp * typeck.c (require_complete_type, complete_type, complete_type_or_else, c_sizeof, c_sizeof_nowarn, build_array_ref, convert_arguments, pointer_diff, build_x_unary_op, build_unary_op, build_c_cast, build_modify_expr): Use COMPLETE_TYPE_P etc. * call.c (is_complete, convert_like_real, build_new_method_call): Likewise. * class.c (build_vbase_pointer_fields, check_bases, build_base_field, finish_struct_1, pushclass): Likewise. * cvt.c (cp_convert_to_pointer, convert_to_void): Likewise. * decl.c (maybe_process_template_type_declaration, pushtag, pushdecl, redeclaration_error_message, start_decl, start_decl_1, layout_var_decl, check_initializer, cp_finish_decl, grokdeclarator, require_complete_types_for_parms, grok_op_properties, xref_tag, xref_basetypes, check_function_type): Likewise. * decl2.c (check_classfn, reparse_absdcl_as_casts): Likewise. * friend.c (do_friend): Likewise. * init.c (build_offset_ref): Likewise. * parse.y (structsp): Likewise. * pt.c (maybe_process_partial_specialization, tsubst_friend_function, instantiate_class_template, tsubst, do_type_instantiation, instantiate_pending_templates): Likewise. * repo.c (repo_get_id): Likewise. * rtti.c (build_typeid, get_typeid, build_dynamic_cast_1, synthesize_tinfo_var, emit_support_tinfos): Likewise. * search.c (lookup_fnfields_1, lookup_conversions): Likewise. * semantics.c (begin_class_definition): Likewise. * tree.c (build_cplus_method_type): Likewise. * typeck2.c (digest_init, build_functional_cast, add_exception_specifier): Likewise. * parse.h, parse.c: Regenerated. From-SVN: r32671
Nathan Sidwell committed -
From-SVN: r32670
Kaveh R. Ghazi committed -
* inc/cxxabi.h: New header file. Define new-abi entry points. (__pointer_type_info::target): Rename member to ... (__pointer_type_info::type): ... here. (__base_class_info::type): Rename member to ... (__base_class_info::base): ... here. * Make-lang.in (CXX_EXTRA_HEADERS): Add cxxabi.h * cp-tree.h (CPTI_ABI): New global tree enumeration. (abi_node): New global tree node. * decl.c (abi_node): Document. (init_decl_processing): Initialize abi_node. * rtti.c (build_dynamic_cast_1): Use abi_node for new-abi. (get_vmi_pseudo_type_info): Likewise. (create_tinfo_types): Likewise. (emit_support_tinfos): Likewise. * tinfo.h (cxxabi.h): Include for new-abi. Move rtti class definitions to new header file. * tinfo.cc (abi): Use the namespace. (std): Move new abi rtti classes from here ... (__cxxabiv1): ... to here. * tinfo2.cc (cxxabi.h): Include for new-abi. Move rtti class definitions to new header file. (std): Move new abi rtti classes from here ... (__cxxabiv1): ... to here. * inc/typeinfo (__class_type_info): Move into __cxxabiv1 namespace. From-SVN: r32669
Nathan Sidwell committed -
From-SVN: r32668
Jeff Law committed -
From-SVN: r32667
Michael Hayes committed -
* config/avr/avr.c (encode_section_info): sets SYMBOL_REF_FLAG if decl is a FUNCTION_DECL From-SVN: r32666
Denis Chertykov committed -
From-SVN: r32665
Bryce McKinlay committed -
* java/lang/natClass.cc (isInstance): Use _Jv_IsAssignableFrom(), not Class.isAssignableFrom(). From-SVN: r32664
Bryce McKinlay committed -
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
Bryce McKinlay committed -
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
Bryce McKinlay committed -
* 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
Jim Wilson committed -
From-SVN: r32660
Tom Tromey committed
-
- 20 Mar, 2000 13 commits
-
-
* 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
Jim Wilson committed -
* 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
Geoffrey Keating committed -
From-SVN: r32656
Andreas Jaeger committed -
* sdbout.c (sdbout_one_type): Add braces to avoid "ambigous else" warning. From-SVN: r32655
Andreas Jaeger committed -
* 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
Richard Henderson committed -
* 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
Richard Henderson committed -
From-SVN: r32652
Jason Merrill committed -
* configure.in: Set $IFS to a value if it doesn't already have one in the --enable-checking handling. * configure: Regenerate. From-SVN: r32651
Geoff Keating committed -
* method.c (build_overload_int): Use host_integerp. Co-Authored-By: Jason Merrill <jason@casey.cygnus.com> From-SVN: r32650
Jed Wing committed -
* init.c (build_offset_ref): Handle the case of a templated member function. From-SVN: r32649
Theodore Papadopoulo committed -
* 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
Martin v. Löwis committed -
* jump.c (delete_noop_moves): Remove code attempting to combine stack adjustments. From-SVN: r32647
Jan Hubicka committed -
From-SVN: r32646
Jeff Law committed
-
- 19 Mar, 2000 15 commits
-
-
From-SVN: r32645
Nick Clifton committed -
From-SVN: r32644
Richard Henderson committed -
* 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
Martin v. Löwis committed -
* 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
Martin v. Löwis committed -
* rs6000/t-aix41: New file. * configure.in ({rs6000,powerpc}-ibm-aix4.[12]*): Use it. From-SVN: r32641
Kaveh R. Ghazi committed -
* 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
Hans-Peter Nilsson committed -
* java/awt/Color.java: Specified java.io for Serializable. * java/awt/Toolkit.java: Imported java.net.URL. From-SVN: r32639
Warren Levy committed -
From-SVN: r32638
Richard Henderson committed -
From-SVN: r32637
Richard Henderson committed -
* fold-const.c (extract_muldiv): Apply type check for defined overflow to multiply as well as divide. From-SVN: r32636
Richard Henderson committed -
* 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
Richard Henderson committed -
From-SVN: r32634
Warren Levy committed -
From-SVN: r32633
Jeff Law committed -
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
Mark Mitchell committed -
* 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
Mark Mitchell committed
-