]> gcc.gnu.org Git - gcc.git/log
gcc.git
24 years agoDaily bump.
Jeff Law [Fri, 31 Mar 2000 08:45:07 +0000 (01:45 -0700)]
Daily bump.

From-SVN: r32843

24 years agohashtab.h (hashval_t): New type.
Mark Mitchell [Fri, 31 Mar 2000 07:04:37 +0000 (07:04 +0000)]
hashtab.h (hashval_t): New type.

* hashtab.h (hashval_t): New type.
(htab_find_with_hash): Use it as an argument.
(htab_find_slot_with_hash): Likewise.

* hashtab.c (find_empty_slot_for_expand): Use hashval_t for hash
codes.
(htab_find_with_hash): Likewise.
(htab_find_slot_with_hash): Likewise.

From-SVN: r32842

24 years ago* alpha.h (FUNCTION_BOUNDARY): Reduce to 128 bits.
Richard Henderson [Fri, 31 Mar 2000 04:48:39 +0000 (20:48 -0800)]
* alpha.h (FUNCTION_BOUNDARY): Reduce to 128 bits.

From-SVN: r32841

24 years agoc-parse.in (cast_expr): Move change from March 21 into c-parse.in since it is used...
Jeffrey A Law [Fri, 31 Mar 2000 01:05:27 +0000 (01:05 +0000)]
c-parse.in (cast_expr): Move change from March 21 into c-parse.in since it is used to generate c-parse.y.

        * c-parse.in (cast_expr): Move change from March 21 into c-parse.in
        since it is used to generate c-parse.y.
        * objc-parse.c, objc-parse.y: Regenerated.

From-SVN: r32840

24 years agoexpr.c (java_lang_expand_expr): Added Anthony's Thu Jan 6 2000 patch missing hunk.
Alexandre Petit-Bianco [Thu, 30 Mar 2000 23:41:57 +0000 (15:41 -0800)]
expr.c (java_lang_expand_expr): Added Anthony's Thu Jan 6 2000 patch missing hunk.

Thu Mar 30 15:26:56 2000  Alexandre Petit-Bianco  <apbianco@dcygnus.com>

* expr.c (java_lang_expand_expr): Added Anthony's Thu Jan 6 2000
patch missing hunk. Fixed indentation.

From-SVN: r32839

24 years agoconfigure.in: Comment out --enable-c-cpplib stanza.
Zack Weinberg [Thu, 30 Mar 2000 22:31:37 +0000 (22:31 +0000)]
configure.in: Comment out --enable-c-cpplib stanza.

* configure.in: Comment out --enable-c-cpplib stanza.
* configure: Regenerate.

From-SVN: r32838

24 years agoexpr.c (store_constructor): Properly compute displacement and alignment when offset...
Richard Kenner [Thu, 30 Mar 2000 22:17:51 +0000 (22:17 +0000)]
expr.c (store_constructor): Properly compute displacement and alignment when offset is variable.

* expr.c (store_constructor): Properly compute displacement and
alignment when offset is variable.

From-SVN: r32837

24 years agoexpmed.c (store_bit_field, [...]): Fix more cases of alignment in bytes.
Richard Kenner [Thu, 30 Mar 2000 21:46:37 +0000 (21:46 +0000)]
expmed.c (store_bit_field, [...]): Fix more cases of alignment in bytes.

* expmed.c (store_bit_field, store_fixed_bit_field): Fix more
cases of alignment in bytes.

From-SVN: r32836

24 years agofunction.c (expand_function_end): Pass alignment argument to emit_block_move in bits...
Jeffrey A Law [Thu, 30 Mar 2000 20:32:31 +0000 (20:32 +0000)]
function.c (expand_function_end): Pass alignment argument to emit_block_move in bits, not bytes.

        * function.c (expand_function_end): Pass alignment argument to
        emit_block_move in bits, not bytes.

From-SVN: r32835

24 years agoadded entry for patch that removed ASM_SPEC from config/arm/arm.h.
Nick Clifton [Thu, 30 Mar 2000 19:49:14 +0000 (19:49 +0000)]
added entry for patch that removed ASM_SPEC from config/arm/arm.h.

From-SVN: r32833

24 years agogjavah.c (D_NAN_MASK): Only define as word-reversed when HOST_FLOAT_WORDS_BIG_ENDIAN...
Tom Tromey [Thu, 30 Mar 2000 19:10:17 +0000 (19:10 +0000)]
gjavah.c (D_NAN_MASK): Only define as word-reversed when HOST_FLOAT_WORDS_BIG_ENDIAN and...

* gjavah.c (D_NAN_MASK): Only define as word-reversed when
HOST_FLOAT_WORDS_BIG_ENDIAN and HOST_WORDS_BIG_ENDIAN disagree.

From-SVN: r32832

24 years agoexpr.c (move_by_pieces_ninsns): Fix one more missing align correction.
Richard Kenner [Thu, 30 Mar 2000 18:17:19 +0000 (18:17 +0000)]
expr.c (move_by_pieces_ninsns): Fix one more missing align correction.

* expr.c (move_by_pieces_ninsns): Fix one more missing align
correction.

From-SVN: r32831

24 years ago* expmed.c (store_fixed_bit_field): STRUCT_ALIGN is in bits.
Richard Kenner [Thu, 30 Mar 2000 14:12:28 +0000 (14:12 +0000)]
* expmed.c (store_fixed_bit_field): STRUCT_ALIGN is in bits.

From-SVN: r32830

24 years agocalls.c (expand_call): Pass bit alignment to mark_reg_pointer.
Richard Kenner [Thu, 30 Mar 2000 13:46:05 +0000 (13:46 +0000)]
calls.c (expand_call): Pass bit alignment to mark_reg_pointer.

* calls.c (expand_call): Pass bit alignment to mark_reg_pointer.
* explow.c (memory_address, allocate_dynamic_stack_space): Likewise.
* function.c (assign_parms): Likewise.
* integrate.c (expand_inline_function): Likewise.
* stmt.c (expand_decl): Likewise.
(copy_rtx_and_substitute): Likewise.
* expr.c (expand_expr, expand_expr_unaligned): Likewise.
  (clear_by_pieces): Fix error in last change.
* emit-rtl.c (init_emit): Set known registers alignment in bits.
* function.h (regno_pointer_align): Now unsigned.
* config/arm/arm.c (alignable_memory_operand): REGNO_POINTER_ALIGN
is in bits.
* config/i386/i386.c (aligned_operand): Likewise.
* config/sparc/sparc.c (mem_min_alignment): Likewise.
* config/alpha/alpha.c (aligned_memory_operand): Likewise.
(unaligned_memory_operand): Likewise.
(alpha_expand_block_move, alpha_expand_block_clear): Likewise.
Also make alignments and sizes unsigned and some whitespace cleanup.
(alpha_va_start): Do nothing if VALIST's type is error_mark_node.

From-SVN: r32829

24 years agortti.c (class_hint_flags): Rename flags.
Nathan Sidwell [Thu, 30 Mar 2000 12:08:26 +0000 (12:08 +0000)]
rtti.c (class_hint_flags): Rename flags.

* rtti.c (class_hint_flags): Rename flags.
(class_initializer): Remove flags.
(synthesize_tinfo_var): Combine offset and flags. Add flags
for __vmi_class_type_info.
(create_tinfo_types): Remove flags from __class_type_info and
__si_class_type_info. Merge flags and offset from
base_class_type_info.
* inc/cxxabi.h (__base_class_info): Merge offset and vmi_flags.
(__base_class_info::is_virtual_p): Adjust.
(__base_class_info::is_public_p): Adjust.
(__base_class_info::offset): New accessor.
(__class_type_info::details): Remove member.
(__class_type_info::__class_type_info): Lose details.
(__class_type_info::detail_masks): Remove.
(__si_class_type_info::__si_class_type_info): Lose details.
(__vmi_class_type_info::details): New member.
(__vmi_class_type_info::__vmi_class_type_info): Adjust.
(__vmi_class_type_info::detail_masks): New member.
* tinfo.cc (__class_type_info::do_upcast): Initialize result
with unknown_details_mask.
(__vmi_class_type_info::do_find_public_src): Adjust
(__vmi_class_type_info::do_dyncast): Adjust.
(__vmi_class_type_info::do_upcast): Set result details, if
needed. Adjust.
(__dynamic_cast): Temporarily #if out optimization.

From-SVN: r32828

24 years agobuiltins.c (get_pointer_alignment): Use host_integerp & tree_low_cst.
Richard Kenner [Thu, 30 Mar 2000 11:47:08 +0000 (11:47 +0000)]
builtins.c (get_pointer_alignment): Use host_integerp & tree_low_cst.

* builtins.c (get_pointer_alignment): Use host_integerp & tree_low_cst.
(expand_builtin_apply): Pass alignment to emit_block_move in bits.
(expand_builtin_memcpy, expand_builtin_va_copy): Likewise.
(expand_builtin_memset): Likewise, but to clear_storage.
* calls.c (save_fixed_argument_area): Likewise, to move_by_pieces.
(restore_fixed_argument_area): Likewise.
(store_unaligned_arguments_into_pseudos): Likewise, to store_bit_field.
(load_register_parameters): Likewise, to emit_group_load.
(expand_call): Likewise, to emit_group_store and emit_block_move.
(emit_library_call_value_1): Likewise, to emit_block_move.
(store_one_arg): Likewise, and to emit_push_insn.
* expmed.c (extract_bit_field): Alignment is in bits, not bytes.
(extract_fixed_bit_field, extract_split_bit_field): Likewise.
* expr.c (move_by_pieces, move_by_pieces_ninsns): Likewise.
(emit_block_move, emit_group_load, emit_group_store): Likewise.
(clear_by_pieces, clear_storage, emit_push_insn): Likewise.
(expand_assigment, store_expr, store_constructor_field): Likewise.
(expand_expr_unaligned, do_jump, do_compare_and_jump): Likewise.
(store_constructor, store_field, get_inner_reference): Likewise.
Use host_integerp and tree_low_cst; sizes and positions HOST_WIDE_INT.
(expand_expr, case COMPONENT_REF): Likewise.
(copy_blkmode_from_regs): Use UNSIGNED_HOST_WIDE_INT for sizes
and positions; reindent code.
* expr.h (emit_cmp_insn, emit_cmp_and_jump_insns): Alignment unsigned.
* function.c (purge_addressof_1): Pass bit align to store_bit_field.
(assign_parms): Likewise to emit_group_store.
* optbas.c (prepare_cmp_insn): Alignment is in bits.
(emit_cmp_and_jump_insns, emit_cmp_insn): Likewise, and also unsigned.
* stmt.c (expand_value_return): Pass align in bits to emit_group_load.
(expand_return): Likewise to {extract,store}_bit_field.
* stor-layout.c (get_mode_alignment): Minor cleanup.
* config/rs6000/rs6000.h (SLOW_UNALIGNED_ACCESS): Align is in bits.
* config/sh/sh.h (MOVE_BY_PIECES_P): Likewise.
* ch/expr.c (chill_expand_expr): Pass bit alignment to emit_block_move.

From-SVN: r32827

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

From-SVN: r32826

24 years agocppinit.c (cpp_start_read): Call initialize_dependency_output only after reading...
Zack Weinberg [Thu, 30 Mar 2000 07:42:55 +0000 (07:42 +0000)]
cppinit.c (cpp_start_read): Call initialize_dependency_output only after reading in the primary source file.

* cppinit.c (cpp_start_read): Call initialize_dependency_output
only after reading in the primary source file.

From-SVN: r32825

24 years ago* i386/djgpp.h: Remove extraneous "+".
Jeffrey A Law [Thu, 30 Mar 2000 02:19:19 +0000 (02:19 +0000)]
* i386/djgpp.h: Remove extraneous "+".

From-SVN: r32824

24 years ago* configure.in: -linux-gnu*, not -linux-gnu.
Jason Merrill [Thu, 30 Mar 2000 02:11:39 +0000 (02:11 +0000)]
* configure.in: -linux-gnu*, not -linux-gnu.

From-SVN: r32823

24 years ago* POTFILES.in: Remove config/rs6000/cygwin.h
Philipp Thomas [Thu, 30 Mar 2000 00:33:45 +0000 (00:33 +0000)]
* POTFILES.in: Remove config/rs6000/cygwin.h

From-SVN: r32822

24 years agoc-common.c (c_common_nodes_and_builtins): The first parameter to __builtin_va_start...
Geoff Keating [Thu, 30 Mar 2000 00:03:14 +0000 (00:03 +0000)]
c-common.c (c_common_nodes_and_builtins): The first parameter to __builtin_va_start and __builtin_va_copy is now either a...

* c-common.c (c_common_nodes_and_builtins): The first parameter to
__builtin_va_start and __builtin_va_copy is now either a 'va_list'
or a reference to a va_list.
* builtins.c (stabilize_va_list): Simplify now we don't have to
work around C array address decay.
* c-typeck.c (convert_for_assignment): Handle assignment to
a reference parameter by taking the address of the RHS.
* ginclude/stdarg.h (va_start): Don't take address of first parameter.
(va_copy): Likewise.
(__va_copy): Likewise.
* ginclude/varargs.h (va_start): Likewise.
(__va_copy): Likewise.

From-SVN: r32821

24 years ago* stmt.c (stmt_loop_nest_empty): Fix thinko in last change.
Jeffrey A Law [Wed, 29 Mar 2000 22:48:25 +0000 (22:48 +0000)]
* stmt.c (stmt_loop_nest_empty): Fix thinko in last change.

From-SVN: r32820

24 years ago* calls.c (expand_call): Fix typo.
Jeffrey A Law [Wed, 29 Mar 2000 22:46:03 +0000 (22:46 +0000)]
* calls.c (expand_call): Fix typo.

From-SVN: r32819

24 years agoup
Jason Merrill [Wed, 29 Mar 2000 20:56:57 +0000 (15:56 -0500)]
up

From-SVN: r32818

24 years agoadd ATTRIBUTE_UNUSED
Jason Merrill [Wed, 29 Mar 2000 20:56:14 +0000 (15:56 -0500)]
add ATTRIBUTE_UNUSED

From-SVN: r32817

24 years agoUndo effects of previous delta.
Nick Clifton [Wed, 29 Mar 2000 20:49:42 +0000 (20:49 +0000)]
Undo effects of previous delta.

Undo effects of previous delta.  Do not define ASM_SPEC and SUBTARGET_EXTRA_ASM_SPEC
oin arm.h as it conflicts with builds for non GAS using targets

From-SVN: r32816

24 years ago* gcc.c-torture/compile/20000329-1.c: New test.
Jeffrey A Law [Wed, 29 Mar 2000 20:48:06 +0000 (20:48 +0000)]
* gcc.c-torture/compile/20000329-1.c: New test.

From-SVN: r32815

24 years agotree.c (unsave_expr_1): Don't mess with a TARGET_EXPR that hasn't been expanded.
Jason Merrill [Wed, 29 Mar 2000 20:40:37 +0000 (20:40 +0000)]
tree.c (unsave_expr_1): Don't mess with a TARGET_EXPR that hasn't been expanded.

        * tree.c (unsave_expr_1): Don't mess with a TARGET_EXPR that hasn't
        been expanded.

From-SVN: r32814

24 years agostor-layout.c (bit_from_pos, [...]): New functions.
Richard Kenner [Wed, 29 Mar 2000 20:34:34 +0000 (20:34 +0000)]
stor-layout.c (bit_from_pos, [...]): New functions.

* stor-layout.c (bit_from_pos, byte_from_pos): New functions.
(pos_from_byte, pos_from_bit, normalize_offset): Likewise.
(normalize_rli, rli_size_so_far, rli_size_unit_so_far): Use them.
* tree.c (bit_position, byte_position): Likewise.
* tree.h: Declare new functions.

From-SVN: r32813

24 years agoProtocol.h, [...]: Change #endif labels to comments.
Zack Weinberg [Wed, 29 Mar 2000 20:19:06 +0000 (20:19 +0000)]
Protocol.h, [...]: Change #endif labels to comments.

* objc/Protocol.h, objc/objc-list.h: Change #endif labels to
comments.

From-SVN: r32812

24 years agoMinor formatting changes.
Nick Clifton [Wed, 29 Mar 2000 19:15:36 +0000 (19:15 +0000)]
Minor formatting changes.

Add definitions of ASM_SPEC and SUBTARGET_EXTRA_ASM_SPEC to arm.h if not
already defined.

From-SVN: r32810

24 years agohashtab.c (htab_find_with_hash): Avoid calculating hash2 unless it will be used.
Zack Weinberg [Wed, 29 Mar 2000 19:04:54 +0000 (19:04 +0000)]
hashtab.c (htab_find_with_hash): Avoid calculating hash2 unless it will be used.

* hashtab.c (htab_find_with_hash): Avoid calculating hash2
unless it will be used.  Rearrange loop for better
optimization.
(higher_prime_number): Add static prototype.

From-SVN: r32809

24 years agocppfiles.c (cpp_read_file): Don't pass zero-length string to _cpp_calc_hash.
Zack Weinberg [Wed, 29 Mar 2000 19:02:40 +0000 (19:02 +0000)]
cppfiles.c (cpp_read_file): Don't pass zero-length string to _cpp_calc_hash.

* cppfiles.c (cpp_read_file): Don't pass zero-length string to
_cpp_calc_hash.

From-SVN: r32808

24 years agodwarf2out.c (gen_enumeration_type_die): If enum has a negative value, don't output...
Jakub Jelinek [Wed, 29 Mar 2000 18:32:04 +0000 (20:32 +0200)]
dwarf2out.c (gen_enumeration_type_die): If enum has a negative value, don't output it as unsigned.

* dwarf2out.c (gen_enumeration_type_die): If enum has a negative
value, don't output it as unsigned.

From-SVN: r32807

24 years ago* stmt.c (stmt_loop_nest_empty): Allow cfun->stmt to be NULL.
Jeffrey A Law [Wed, 29 Mar 2000 17:54:37 +0000 (17:54 +0000)]
* stmt.c (stmt_loop_nest_empty): Allow cfun->stmt to be NULL.

From-SVN: r32806

24 years agoc-common.c (c_common_nodes_and_builtins): Don't special case cplus_mode when declarin...
Kaveh R. Ghazi [Wed, 29 Mar 2000 16:24:07 +0000 (16:24 +0000)]
c-common.c (c_common_nodes_and_builtins): Don't special case cplus_mode when declaring builtin bzero/bcmp...

* c-common.c (c_common_nodes_and_builtins): Don't special case
cplus_mode when declaring builtin bzero/bcmp, always avoid
prototype arguments.

From-SVN: r32805

24 years agoInitially set the variable "fixincludes" to a non-file
Bruce Korb [Wed, 29 Mar 2000 14:19:58 +0000 (14:19 +0000)]
Initially set the variable "fixincludes" to a non-file

From-SVN: r32804

24 years agoConvert ACCUMULATE_OUTGOING_ARGS to an expression.
Jan Hubicka [Wed, 29 Mar 2000 13:10:44 +0000 (13:10 +0000)]
Convert ACCUMULATE_OUTGOING_ARGS to an expression.

* calls.c (PUSH_ARGS_REVERSED) Change to expression.
(ACCUMULATE_OUTGOING_ARGS, PUSH_ARGS): Provide default value.
(struct arg_data): Remove #ifdef ACCUMULATE_OUTGOING_ARGS.
(save_fixed_argument_area, restore_fixed_argument_area):
conditionize by #ifdef REG_PARM_STACK_SPACE only.
(emit_call): Change #ifdefs on ACCUMULATE_OUTGOING_ARGS
to conditions, handle RETURN_POPS_ARGS on ACCUMULATE_OUTGOING_ARGS.
(precompute_register_parameters): Avoid #ifdefs on
ACCUMULATE_OUTGOING_ARGS and PUSH_ARGS_REVERSED.
(stire_one_args): Likewise.
(expand_call): Likewise; conditionize PUSH_ROUNDING code by PUSH_ARGS.
(emit_library_call_value_1): Likewise.
(compute_argument_block_size): Align to STACK_BOUNDARY only for
ACCUMULATE_OUTGOING_ARGS.
* combine.c (ACCUMULATE_OUTGOING_ARGS, PUSH_ARGS): Provide default
value.
(nonzero_bits): Conditionize PUSH_ROUNDING code by USE_PUSH.
(use_crosses_set_p): Likewise.
* all targets (ACCUMULATE_OUTGOING_ARGS define): Change to
#define ACCUMULATE_OUTGOING_ARGS 1.
* i386.c (ix86_compute_frame_size): Handle ACCUMULATE_OUTGOING_ARGS
frames.
* i386.h (MASK_NO_PUSH_ARGS, MASK_ACCUMULATE_OUTGOING_ARGS): New
constants.
(TARGET_PUSH_ARGS, TARGET_ACCUMULATE_OUTGOING_ARGS): New macros.
(TARGET_SWITCHES): Add push-args, no-push-args,
accumulate-outgoing-args and no-accumulate-outgoing-args.
(ACCUMULATE_OUTGOING_ARGS, PUSH_ARGS): New macro.
* expr.c (ACCUMULATE_OUTGONG_ARGS, PUSH_ARGS): Provide default.
(push_block): Avoid ifdefs on ACCUMULATE_OUTGONG_ARGS
and PUSH_ROUNDING.
(emit_push_insn): Likewise.
* final.c (ACCUMULATE_OUTGOING_ARGS): Provide default.
(final_scan_insn): Avoid ifdefs on ACCUMULATE_OUTGOING_ARGS.
* function.c (ACCUMULATE_OUTGOING_ARGS): Provide default.
(STACK_DYNAMIC_OFFSET): Define correctly for both
ACCUMULATE_OUTGOING_ARGS and normal mode.
* invoke.texi (-mpush_args, -maccumulate-outgoing-args): Document.
* tm.texi (PUSH_ARGS): Document.
(ACCUMULATE_OUTGOING_ARGS, PUSH_ROUNDING): Update documentation.

From-SVN: r32803

24 years agoflags.h (flag_optimize_sibling_calls): Declare.
Jan Hubicka [Wed, 29 Mar 2000 09:54:31 +0000 (09:54 +0000)]
flags.h (flag_optimize_sibling_calls): Declare.

* flags.h (flag_optimize_sibling_calls): Declare.
* calls.c (expand_call): Fail sibcall when
!flag_optimize_sibling_calls
* invoke.texi (flag_optimize_sibling_calls): Document.
* toplev.c (flag_optimize_sibling_calls): New global variable.
(f_options): Add flag_optimize_sibling_calls.
(rest_of_compilation): Conditionize
optimize_sibling_and_tail_recursive_calls by
flag_optimize_sibling_calls.
(main): Set flag_optimize_sibling_calls for -O2.
* stmt.c (expand_return): Conditionize tail recursion by
flag_optimize_sibling_calls.

From-SVN: r32802

24 years agoatt.h (LOCAL_LABEL_PREFIX): Define.
Richard Henderson [Wed, 29 Mar 2000 08:54:15 +0000 (00:54 -0800)]
att.h (LOCAL_LABEL_PREFIX): Define.

        * config/i386/att.h (LOCAL_LABEL_PREFIX): Define.
        (ASM_GENERATE_INTERNAL_LABEL, ASM_OUTPUT_INTERNAL_LABEL): Use it.

From-SVN: r32801

24 years agoDaily bump.
Jeff Law [Wed, 29 Mar 2000 08:45:06 +0000 (01:45 -0700)]
Daily bump.

From-SVN: r32800

24 years agoexcept.c (add_eh_table_entry): Mark type_info's as referenced.
Nathan Sidwell [Wed, 29 Mar 2000 08:22:21 +0000 (08:22 +0000)]
except.c (add_eh_table_entry): Mark type_info's as referenced.

gcc:
* except.c (add_eh_table_entry): Mark type_info's as referenced.
gcc/cp:
* rtti.c (get_tinfo_decl): Mark used.
(emit_tinfo_decl): Don't optimize polymorphic type_info. Only
mark as dealt with, if we output it.

From-SVN: r32799

24 years agoclass.c: Reorganize to put virtual function table initialization machinery at the...
Mark Mitchell [Wed, 29 Mar 2000 07:36:39 +0000 (07:36 +0000)]
class.c: Reorganize to put virtual function table initialization machinery at the end of...

* class.c: Reorganize to put virtual function table initialization
machinery at the end of the file.

From-SVN: r32798

24 years agoaix41.h (CPP_SPEC): Define _ANSI_C_SOURCE if -ansi is given.
Alexandre Oliva [Wed, 29 Mar 2000 04:06:13 +0000 (04:06 +0000)]
aix41.h (CPP_SPEC): Define _ANSI_C_SOURCE if -ansi is given.

* config/rs6000/aix41.h (CPP_SPEC): Define _ANSI_C_SOURCE if -ansi
is given.
* config/rs6000/aix43.h (CPP_SPEC): Likewise.
* config/rs6000/rs6000.h (CPP_SPEC): Moved to...
* config/rs6000/aix.h: then modified likewise.

From-SVN: r32797

24 years agoTest case for PR libgcj/184:
Bryce McKinlay [Wed, 29 Mar 2000 02:08:59 +0000 (02:08 +0000)]
Test case for PR libgcj/184:

        * libjava.lang/pr184.java: New file.
        * libjava.lang/pr184.out: New file.

From-SVN: r32796

24 years agortl.h: Redistribute enum reg_note documentation.
Richard Henderson [Wed, 29 Mar 2000 01:56:04 +0000 (17:56 -0800)]
rtl.h: Redistribute enum reg_note documentation.

        * rtl.h: Redistribute enum reg_note documentation.
        Kill trailing whitespace.
        * rtl.c (reg_note_name): Adjust to match enum reg_note tweeks.
        Kill trailing whitespace.

From-SVN: r32795

24 years agoclass.c (finish_struct): Use bitsize_zero_node.
Jason Merrill [Wed, 29 Mar 2000 00:58:46 +0000 (19:58 -0500)]
class.c (finish_struct): Use bitsize_zero_node.

        * class.c (finish_struct): Use bitsize_zero_node.
        * pt.c (instantiate_class_template): Likewise.

From-SVN: r32794

24 years agoparse-scan.y (pop_class_context): Reset `inner_qualifier_length' when negative *befor...
Alexandre Petit-Bianco [Tue, 28 Mar 2000 22:35:46 +0000 (22:35 +0000)]
parse-scan.y (pop_class_context): Reset `inner_qualifier_length' when negative *before* using it as an array index.

2000-03-28  Alexandre Petit-Bianco  <apbianco@cygnus.com>

* parse-scan.y (pop_class_context): Reset `inner_qualifier_length'
when negative *before* using it as an array index.
* ChangeLog: Fixed typo.

(Fixes the following bogus patch:
 http://gcc.gnu.org/ml/gcc-patches/2000-03/msg00937.html)

From-SVN: r32793

24 years agocppfiles.c (hash_IHASH): Just return i->hash.
Zack Weinberg [Tue, 28 Mar 2000 21:45:02 +0000 (21:45 +0000)]
cppfiles.c (hash_IHASH): Just return i->hash.

2000-03-28  Zack Weinberg  <zack@wolery.cumb.org>

* cppfiles.c (hash_IHASH): Just return i->hash.
(cpp_included): Set dummy.hash using _cpp_calc_hash.  Use
htab_find_with_hash.
(cpp_read_file): Likewise.
(find_include_file): Likewise.  Properly initialize
ih->nshort.  Share ih->name and ih->nshort if possible.
* cpphash.c (_cpp_calc_hash): New function.
(hash_HASHNODE): Just return h->hash.
(_cpp_lookup): Set dummy.hash using _cpp_calc_hash.  Use
htab_find_with_hash.
* cpphash.h: Prototype _cpp_calc_hash.
* cppinit.c (initialize_builtins): Provide a valid hash
to _cpp_make_hashnode, using _cpp_calc_hash.

* cpphash.c (collect_expansion): # is not a special character
in object-like macros.  In -traditional mode, /**/ is not
token paste at the beginning or end of the line.
* cpplib.c (do_include, do_import, do_include_next): If
parse_include fails, return immediately.

From-SVN: r32792

24 years agosibcall.c (indentify_call_return_value): Find last call in the chain; Allow stack...
Jan Hubicka [Tue, 28 Mar 2000 21:03:37 +0000 (23:03 +0200)]
sibcall.c (indentify_call_return_value): Find last call in the chain; Allow stack adjustment after function call.

        * sibcall.c (indentify_call_return_value): Find last call in the chain;
        Allow stack adjustment after function call.

From-SVN: r32791

24 years agocom.c (ffecom_decl_field): Use DECL_ALIGN for a FIELD_DECL.
Franz Sirl [Tue, 28 Mar 2000 20:37:45 +0000 (20:37 +0000)]
com.c (ffecom_decl_field): Use DECL_ALIGN for a FIELD_DECL.

* com.c (ffecom_decl_field): Use DECL_ALIGN for a FIELD_DECL.
(ffecom_init_0): Likewise.

From-SVN: r32790

24 years agoFix thinko in original version
Zack Weinberg [Tue, 28 Mar 2000 20:01:13 +0000 (20:01 +0000)]
Fix thinko in original version

From-SVN: r32789

24 years agoarm.md (return peepholes): Update to reflect the new call insn patterns.
Jason Merrill [Tue, 28 Mar 2000 19:42:28 +0000 (19:42 +0000)]
arm.md (return peepholes): Update to reflect the new call insn patterns.

        * config/arm/arm.md (return peepholes): Update to reflect the new
        call insn patterns.
        * config/arm/arm.c (arm_volatile_func): Also check
        current_function_nothrow.
        (output_return_instruction, output_func_prologue): Use it.
        (arm_output_epilogue, arm_expand_prologue): Likewise.

From-SVN: r32788

24 years agoPut RTTI entries at negative offsets in new ABI.
Mark Mitchell [Tue, 28 Mar 2000 19:27:15 +0000 (19:27 +0000)]
Put RTTI entries at negative offsets in new ABI.

* class.c (dfs_build_vbase_offset_vtbl_entries): Put the first
vbase offset at index -3, not -1.
(build_vtabe_offset_vtbl_entries): Use unmarked_vtable_pathp, not
dfs_vtable_path_unmarked_real_bases_queue_p to walk bases.
(dfs_build_vcall_offset_vtbl_entries): Don't use skip_rtti_stuff.
(build_rtti_vtbl_entries): New function.
(set_rtti_entry): Remove.
(build_primary_vtable): Don't use it.
(build_secondary_vtable): Likewise.
(start_vtable): Remove.
(first_vfun_index): New function.
(set_vindex): Likewise.
(add_virtual_function): Don't call start_vtable.  Do call
set_vindex.
(set_primary_base): Rename parameter.
(determine_primary_base): Likewise.
(num_vfun_entries): Don't use skip_rtti_stuff.
(num_extra_vtbl_entries): Include RTTI information.
(build_vtbl_initializer): Use build_rtti_vtbl_entries.
(skip_rtti_stuff): Remove.
(dfs_modify_vtables): Don't use it.
(modify_all_vtables): Don't use start_vtable.  Do use set_vindex.
(layout_nonempty_base_or_field): Update size handling.
(create_vtable_ptr): Tweak.
(layout_class_type): Adjust parameter names.
(finish_struct_1): Simplify.
* cp-tree.h (CLASSTYPE_VSIZE): Tweak documentation.
(skip_rtti_stuff): Remove.
(first_vfun_index): New function.
(dfs_vtable_path_unmarked_real_bases_queue_p): Remove.
(dfs_vtable_path_marked_real_bases_queue_p): Remove.
(marked_vtable_pathp): Declare.
(unmarked_vtable_pathp): Likewise.
* error.c (dump_expr): Use first_vfun_index to calculate vtable
offsets.
* rtti.c (build_headof): Look for RTTI at negative offsets.
(get_tinfo_decl_dynamic): Likewise.
(tinfo_base_init): Don't take the address of the TINFO_VTABLE_DECL
here.
(create_pseudo_type_info): Do it here instead.  Adjust so that
vptr points at first virtual function.
* search.c (marked_vtable_pathp): Make it global.
(unmarked_vtable_pathp): Likewise.
(dfs_vtable_path_unmarked_real_bases_queue_p): Remove.
(dfs_vtable_path_marked_real_bases_queue_p): Likewise.
(dfs_get_pure_virtuals): Don't use skip_rtti_stuff.
(get_pure_virtuals): Likewise.
(expand_upcast_fixups): Likewise.
* tree.c (debug_binfo): Likewise.
* tinfo.cc (__dynamic_cast): Look for vtable_prefix at appropriate
negative offset.

From-SVN: r32787

24 years agoNew test case
Mark Mitchell [Tue, 28 Mar 2000 19:24:00 +0000 (19:24 +0000)]
New test case

From-SVN: r32786

24 years agoNew test cases
Zack Weinberg [Tue, 28 Mar 2000 19:20:29 +0000 (19:20 +0000)]
New test cases

From-SVN: r32785

24 years agogcc.c (handle_braces): In {x*...} case, break out of loop if switch is found.
Tom Tromey [Tue, 28 Mar 2000 18:06:15 +0000 (18:06 +0000)]
gcc.c (handle_braces): In {x*...} case, break out of loop if switch is found.

* gcc.c (handle_braces): In {x*...} case, break out of loop if
switch is found.

From-SVN: r32784

24 years agoexpr.c (store_constructor): SIZE now signed.
Richard Kenner [Tue, 28 Mar 2000 17:01:49 +0000 (17:01 +0000)]
expr.c (store_constructor): SIZE now signed.

* expr.c (store_constructor): SIZE now signed.
For EXPR_SIZE, don't evaluate size; just needed if constant.
* fold-const.c (fold): Fix a number of cases when folded tree is
wrong type.
* function.c (flush_addressof): Reenable.
* tree.h (flush_addressof): Likewise.
* toplev.c (independent_decode_option): Look at strings_processed.
* config/alpha/alpha.h (MINIMUM_ATOMIC_ALIGNMENT): Cast to unsigned.

From-SVN: r32783

24 years agoregmove.c (struct csa_memlist): Make mem field rtx *.
Jan Hubicka [Tue, 28 Mar 2000 15:41:40 +0000 (17:41 +0200)]
regmove.c (struct csa_memlist): Make mem field rtx *.

        * regmove.c (struct csa_memlist): Make mem field rtx *.
        (record_one_stack_ref): Accept rtx * instead of rtx as parameter.
        (try_apply_stack_adjustment): Replace whole MEM rtx.
        (combine_stack_adjustments_for_block): Update calls
        to record_one_stack_ref.

From-SVN: r32782

24 years ago2000-03-28 Neil Booth <NeilB@earthling.net>
Neil Booth [Tue, 28 Mar 2000 12:00:39 +0000 (12:00 +0000)]
2000-03-28  Neil Booth  <NeilB@earthling.net>

        * (cpplex.c) _cpp_read_and_prescan.  Mark end of input buffer with
'\\' rather than a null character, so nulls are not special.  Fix
"\\\n" handling in end-of-buffer conditions.  Use trigraph map to
speed trigraph conversion.
        (_cpp_init_input_buffer) Initialize trigraph map.

From-SVN: r32781

24 years agoDaily bump.
Jeff Law [Tue, 28 Mar 2000 08:45:06 +0000 (01:45 -0700)]
Daily bump.

From-SVN: r32780

24 years ago[multiple changes]
Alexandre Petit-Bianco [Tue, 28 Mar 2000 08:33:45 +0000 (08:33 +0000)]
[multiple changes]

2000-03-28  Alexandre Petit-Bianco  <apbianco@cygnus.com>

* parse-scan.y (pop_class_context): Reset `inner_qualifier_length'
to 0 when it reaches -1.

2000-03-27  Alexandre Petit-Bianco  <apbianco@cygnus.com>

* jcf-parse.c (get_constant): Properly cast `num' during the
invocation of `add_double call'.
* jcf-write.c (push_long_const): Properly cast `lo' before
comparing it to short bounds.
* parse-scan.y (interface_declaration:): Rule re-arrange so that
`interface_body:' is reduced after the current interface is
pushed.

2000-02-28  Alexandre Petit-Bianco  <apbianco@cygnus.com>

* parse-scan.y (inner_qualifier, inner_qualifier_length): New
static globals.
(push_class_context, pop_class_context): New function.
(class_body:): Call pop_class_context.
(interface_body:): Likewise.
(INNER_QUALIFIER): New macro.
(report_class_declaration): Changed output format and use
INNER_QUALIFIER. Call push_class_context.

From-SVN: r32779

24 years agoAlan Modra <alan@linuxcare.com.au>
Alan Modra [Tue, 28 Mar 2000 06:10:09 +0000 (22:10 -0800)]
Alan Modra  <alan@linuxcare.com.au>

        * config/i386/i386.c (output_387_binary_op): Correct intel
        mode assembly output, and add spaces after commas in AT&T
        output.  Correct Unixware assembler comment.  Document input
        constraints.  Comment fp operations.  Reduce profligate buffer
        size.  Remove extraneous abort.  Localize temp var.
        (SYSV386_COMPAT): Define.  Add !SYSV386_COMPAT code.
        (output_fix_trunc): Add spaces after commas in assembly output.

From-SVN: r32778

24 years agoAdd CCZmode.
Richard Henderson [Tue, 28 Mar 2000 05:58:50 +0000 (21:58 -0800)]
Add CCZmode.

From-SVN: r32777

24 years agoSynchronized gcjh commands for java/lang/Thread.h with Makefile.in.
Bryce McKinlay [Tue, 28 Mar 2000 04:43:44 +0000 (04:43 +0000)]
Synchronized gcjh commands for java/lang/Thread.h with Makefile.in.

From-SVN: r32776

24 years agoForgot to commit this earlier.
Bryce McKinlay [Tue, 28 Mar 2000 04:36:22 +0000 (05:36 +0100)]
Forgot to commit this earlier.

From-SVN: r32775

24 years agoAdd missing ChangeLog entry from 3/26
Richard Kenner [Tue, 28 Mar 2000 02:43:58 +0000 (21:43 -0500)]
Add missing ChangeLog entry from 3/26

From-SVN: r32774

24 years agoMakefile.in: New #defines and friends for Thread.h.
Bryce McKinlay [Tue, 28 Mar 2000 02:22:24 +0000 (02:22 +0000)]
Makefile.in: New #defines and friends for Thread.h.

        * Makefile.in: New #defines and friends for Thread.h.
        * posix-threads.cc: (struct starter): Remove `object'.
        (_Jv_CondWait): Use interruptable condition variables and new
        recursive mutexes. New return codes on interrupt or non-ownership
        of mutex.
        (_Jv_CondNotify): Ditto.
        (_Jv_CondNotifyAll): Ditto.
        (_Jv_ThreadInterrupt): Set thread interrupt flag directly. Interrupt
        the target thread by signaling its wait condition.
        (_Jv_ThreadInitData): Set `thread_obj' in the thread data struct,
        not the starter struct. Initialize wait_mutex and wait_cond.
        (_Jv_MutexLock): New recursive mutex implementation. Moved from
        posix-threads.h.
        (_Jv_MutexUnlock): Ditto.
        (really_start): Set info->data->thread from pthread_self() to work
        around a race condition. Destroy wait_mutex and wait_cond when run()
        returns.
        * java/lang/Thread.java: (isInterrupted_): Renamed to overloaded
        `isInterrupted(boolean)'. Clear interrupted flag if clear_flag is
        set.
        startable_flag: New private field.
        (Thread): Initialize `startable_flag'.
        (toString): Check for null thread group.
        * java/lang/natThread.cc: (struct natThread): New fields
        `join_mutex', `join_cond'. Removed fields `joiner', `next'.
        (class locker): Removed.
        (initialize_native): Initialize `join_cond' and `join_mutex'.
        (interrupt): Now just calls _Jv_ThreadInterrupt().
        (join): Simplified. Just wait on the target thread's join condition.
        (finish_): Remove join list code. Unset thread group. Signal
        potential joiners by notifying the dying threads join_cond.
        (start): Check for illegal restarts.
        * java/lang/natObject.cc: Check for return value of _Jv_CondWait and
        act appropriatly.
        * include/posix-threads.h: Remove all HAVE_RECURSIVE_MUTEX related
        #defines and #ifdefs.
        (struct _Jv_Thread_t): New fields `thread_obj', `wait_cond',
        `wait_mutex', `next'.
        (struct _Jv_ConditionVariable_t): Define as a struct instead of
        directly mapping to pthread_cond_t.
        (struct _Jv_Mutex_t): New recursive implementation.
        (_Jv_PthreadCheckMonitor): Reimplemented. Simple `owner' check.
        _Jv_HaveCondDestroy: Never define this for posix-threads.
        (_Jv_CondNotify): Remove inline implementation(s), prototype instead.
        (_Jv_CondNotifyAll): Ditto.
        (_Jv_MutexLock): Ditto.
        (_Jv_MutexUnlock): Ditto.
        (_Jv_MutexInit): Changed to reflect new mutex implementation.
        (_Jv_MutexDestroy): Ditto.
        (_Jv_CondDestroy): Removed.
        (_Jv_PthreadGetMutex): Removed.
        * include/win32-threads.h: (_Jv_CondNotify): Guess _JV_NOT_OWNER on an
        error. Add a FIXME about this.
        (_Jv_CondNotifyAll): Ditto.
        * win32-threads.cc: (_Jv_CondWait): Return 0 on a timeout. Guess
        _JV_NOT_OWNER on other errors. Add FIXME.

From-SVN: r32773

24 years agoresource.h (mark_resource_type): New.
Stan Cox [Mon, 27 Mar 2000 21:50:15 +0000 (21:50 +0000)]
resource.h (mark_resource_type): New.

* resource.h (mark_resource_type): New.
* resource.c (find_dead_or_set_registers, mark_target_live_regs,
find_free_register): Use mark_resource_type.
(mark_set_resources): Change include_delayed_effects
to mark_resource_type.
* reorg.c (steal_delay_list_from_target, try_merge_delay_insns,
redundant_insn, fill_simple_delay_slots, fill_slots_from_thread):
Use mark_resource_type.

From-SVN: r32771

24 years agojni.cc (_Jv_JNI_PopSystemFrame): If environment has exception set, throw it.
Tom Tromey [Mon, 27 Mar 2000 19:51:46 +0000 (19:51 +0000)]
jni.cc (_Jv_JNI_PopSystemFrame): If environment has exception set, throw it.

* jni.cc (_Jv_JNI_PopSystemFrame): If environment has exception
set, throw it.
(call): Don't throw exception here.

From-SVN: r32770

24 years agotest_long.out: New file.
Tom Tromey [Mon, 27 Mar 2000 19:37:16 +0000 (19:37 +0000)]
test_long.out: New file.

* libjava.lang/test_long.out: New file.
* libjava.lang/test_long.java: New file.

From-SVN: r32769

24 years agoi386.md (call_pop_0, [...]): New.
Richard Henderson [Mon, 27 Mar 2000 19:19:14 +0000 (11:19 -0800)]
i386.md (call_pop_0, [...]): New.

        * i386.md (call_pop_0, call_value_pop_0): New.
        (call_pop_1): Remove constraint from unused arg.  Support sibcalls.
        (call_value_pop_1): Likewise.
        (call_0, call_value_0): New.
        (call_1, call_value_1): Remove constraint from unused arg.

From-SVN: r32768

24 years agodocument new %{<S} command in spec strings.
Nick Clifton [Mon, 27 Mar 2000 18:40:30 +0000 (18:40 +0000)]
document new %{<S} command in spec strings.

From-SVN: r32767

24 years agoLinuxbox has changed names...
Bruce Korb [Mon, 27 Mar 2000 17:10:52 +0000 (17:10 +0000)]
Linuxbox has changed names...

From-SVN: r32765

24 years ago* expr.c (expand_assignent): Fix typo in last change.
Richard Kenner [Mon, 27 Mar 2000 14:06:18 +0000 (14:06 +0000)]
* expr.c (expand_assignent): Fix typo in last change.

From-SVN: r32764

24 years agolibgcc2.h (MIN_UNITS_PER_WORD): Define to UNITS_PER_WORD if not defined.
Jakub Jelinek [Mon, 27 Mar 2000 11:43:01 +0000 (13:43 +0200)]
libgcc2.h (MIN_UNITS_PER_WORD): Define to UNITS_PER_WORD if not defined.

* libgcc2.h (MIN_UNITS_PER_WORD): Define to UNITS_PER_WORD
if not defined.

From-SVN: r32763

24 years ago* libgcc2.h: Use MIN_UNITS_PER_WORD, not UNITS_PER_WORD.
Richard Kenner [Mon, 27 Mar 2000 11:03:26 +0000 (11:03 +0000)]
* libgcc2.h: Use MIN_UNITS_PER_WORD, not UNITS_PER_WORD.

From-SVN: r32762

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

From-SVN: r32761

24 years agotweak ARG_POINTER_CFA_OFFSET docs
Jason Merrill [Mon, 27 Mar 2000 05:58:16 +0000 (00:58 -0500)]
tweak ARG_POINTER_CFA_OFFSET docs

From-SVN: r32760

24 years agoc-convert.c (convert): Return if output or input type is ERROR_MARK.
Richard Kenner [Mon, 27 Mar 2000 01:26:18 +0000 (01:26 +0000)]
c-convert.c (convert): Return if output or input type is ERROR_MARK.

* c-convert.c (convert): Return if output or input type is ERROR_MARK.
* c-decl.c (duplicate_decls): Only look at DECL_BUILT_IN_NONANSI
and DECL_INLINE if FUNCTION_DECL.
(pushdecl, redeclaration_error_message): Likewise, for DECL_INLINE.
(store_parm_decls): Check for type of PARM_DECL being ERROR_MARK.
Use DECL_WEAK, not DECL_RESULT, to flag for already seen.
(combine_parm_decls): Likewise.
* ggc-common.c (gcc_mark_tree_children, case 'd'): Use DECL_RESULT_FLD.
* print-tree.c (print_node): Likewise.
Only test DECL_PACKED, DECL_INLINE, DECL_BIT_FIELD, and
DECL_TRANSPARENT_UNION on proper decl types.
Properly handly DECL_INCOMING_RTL and DECL_SAVED_INSNS.
* stor-layout.c (layout_decl): Only check DECL_PACKED and
DECL_BIT_FIELD of FIELD_DECL.
* tree.h (DECL_RESULT_FLD): New macro.
* cp/class.c (check_field_decl): Fix typo.
(build_vtbl_or_vbase_field): Don't clear DECL_SAVED_INSNS.
(check_methods): Likewise.
(check_field_decls): Likewise.
Use DECL_CONTEXT, not DECL_FIELD_CONTEXT.
* cp-tree.h (DECL_SHADOWED_FOR_VAR, DECL_TEMPLATE_RESULT):
Use DECL_RESULT_FLD, not DECL_RESULT.
* cp/decl.c (xref_tag): Use DECL_TEMPLATE_RESULT.
* cp/lex.c (identifier_type): Likewise.
* cp/pt.c (determine_specialization, lookup_template_class): Likewise.
(tsubst_friend_function, tsubst_decl, instantiate_template): Likewise.
(resolve_overloaded_unification, more_specialized): Likewise.
* cp/semantics.c (finish_member_declaration): Likewise.
* cp/typeck.c (build_x_function_call): Likewise.

From-SVN: r32759

24 years agocalls.c (expand_call): Pass parms not original exp to optimize_tail_recursion.
Richard Henderson [Mon, 27 Mar 2000 00:50:27 +0000 (16:50 -0800)]
calls.c (expand_call): Pass parms not original exp to optimize_tail_recursion.

        * calls.c (expand_call): Pass parms not original exp to
        optimize_tail_recursion.  Mind return value instead of looking
        for a barrier.
        * stmt.c (optimize_tail_recursion): Take parameter list, not entire
        call_expr.  Move checks for call_expr and current_function_decl ...
        (expand_return): ... here.

From-SVN: r32758

24 years agojvspec.c (jvgenmain_spec): Add `%{<...}' construct for each Java-specific `-f' option.
Tom Tromey [Mon, 27 Mar 2000 00:30:47 +0000 (00:30 +0000)]
jvspec.c (jvgenmain_spec): Add `%{<...}' construct for each Java-specific `-f' option.

* jvspec.c (jvgenmain_spec): Add `%{<...}' construct for each
Java-specific `-f' option.

From-SVN: r32757

24 years agogcc.c (handle_braces): Recognize `%{<S}' construct.
Tom Tromey [Sun, 26 Mar 2000 23:23:01 +0000 (23:23 +0000)]
gcc.c (handle_braces): Recognize `%{<S}' construct.

* gcc.c (handle_braces): Recognize `%{<S}' construct.
(SWITCH_OK, SWITCH_FALSE, SWITCH_IGNORE, SWITCH_LIVE): New
defines.
(process_command): Use them.
(check_live_switch): Likewise.
(give_switch): Skip ignored switches.

From-SVN: r32756

24 years agojump.c (jump_optimize_1): Fix typo in elide optimizations for minimal jump pass test.
Jan Hubicka [Sun, 26 Mar 2000 22:43:59 +0000 (00:43 +0200)]
jump.c (jump_optimize_1): Fix typo in elide optimizations for minimal jump pass test.

        * jump.c (jump_optimize_1): Fix typo in elide optimizations
        for minimal jump pass test.

From-SVN: r32755

24 years ago[multiple changes]
Tom Tromey [Sun, 26 Mar 2000 20:33:04 +0000 (20:33 +0000)]
[multiple changes]

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

* java/lang/mprec.h: Use SIZEOF_VOID_P.
* interpret.cc: Use SIZEOF_VOID_P.
* include/java-cpool.h (_Jv_storeLong): Use SIZEOF_VOID_P.
(_Jv_loadLong): Likewise.
(_Jv_storeDouble): Likewise.
* configure: Rebuilt.
* configure.in: Check size of void*.

* resolve.cc (ncode): Use FFI_PREP_RAW_CLOSURE and FFI_RAW_SIZE.

2000-03-26  Hans Boehm  <boehm@acm.org>

* include/java-cpool.h (_Jv_storeLong, _Jv_loadLong,
_Jv_storeDouble, _Jv_loadDouble): Define differently on 64 bit
machine.
* java/lang/ieeefp.h: Define __IEEE_BIG_ENDIAN or
__IEEE_LITTLE_ENDIAN appropriately on IA64.
* java/lang/mprec.h: Don't define Pack_32 on 64 bit machine.
* javaprims.h (_Jv_word): Added `l' and `d' entries in 64 bit
case.
* resolve.cc (FFI_PREP_RAW_CLOSURE): New define.
(FFI_RAW_SIZE): Likewise.
(_Jv_InterpMethod::ncode): Use them.
* interpret.cc (PUSHL, PUSHD, POPL, POPD, LOADL, LOADD, STOREL,
STORED): Define differently on a 64 bit machine.
(continue1): Use ffi_java_raw_call when appropriate.

From-SVN: r32754

24 years ago* libjava.lang/Array_1.xfail: Removed.
Tom Tromey [Sun, 26 Mar 2000 20:20:42 +0000 (20:20 +0000)]
* libjava.lang/Array_1.xfail: Removed.

From-SVN: r32753

24 years agointegrate.c (function_cannot_inline_p): Do inline functions that return `void'.
Mark Mitchell [Sun, 26 Mar 2000 19:09:36 +0000 (19:09 +0000)]
integrate.c (function_cannot_inline_p): Do inline functions that return `void'.

* integrate.c (function_cannot_inline_p): Do inline functions that
return `void'.

From-SVN: r32752

24 years agostor-layout.c (layout_type, [...]): early_type_list is now a list of TREE_LIST entrie...
Richard Kenner [Sun, 26 Mar 2000 19:01:55 +0000 (19:01 +0000)]
stor-layout.c (layout_type, [...]): early_type_list is now a list of TREE_LIST entries, not types.

* stor-layout.c (layout_type, set_sizetype): early_type_list is
now a list of TREE_LIST entries, not types.
* tree.c (build_common_tree_nodes_2): Eliminate dupliate type sets.
* java/decl.c (init_decl_processing): Call initialize_sizetypes once.
Adjust order of making types.
Make bitsize_*_node values.

From-SVN: r32751

24 years agoclass.c (layout_empty_base): Handle empty bases with non-byte alignment.
Mark Mitchell [Sun, 26 Mar 2000 18:57:57 +0000 (18:57 +0000)]
class.c (layout_empty_base): Handle empty bases with non-byte alignment.

* class.c (layout_empty_base): Handle empty bases with non-byte
alignment.
(build_base_field): Likewise.
(layout_virtual_bases): Likewise.

* class.c (finish_struct_1): Fix typo in this change:

Sat Mar 25 09:12:10 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>

From-SVN: r32750

24 years agoexpr.c (expand_assignment): Add code to handle variable-sized BLKmode case.
Richard Kenner [Sun, 26 Mar 2000 17:05:34 +0000 (12:05 -0500)]
expr.c (expand_assignment): Add code to handle variable-sized BLKmode case.

* expr.c (expand_assignment): Add code to handle variable-sized
BLKmode case.

From-SVN: r32749

24 years agoexpmed.c (extract_bit_field): Ensure BITS_PER_WORD is signed in MAX.
Richard Kenner [Sun, 26 Mar 2000 16:46:27 +0000 (16:46 +0000)]
expmed.c (extract_bit_field): Ensure BITS_PER_WORD is signed in MAX.

* expmed.c (extract_bit_field): Ensure BITS_PER_WORD is signed in MAX.
* config/arm/pe.c (arm_pe_return_in_memory): Use host_integerp and
int_bit_position.
* config/mips/mips.c (function_arg): Likewise; also remove cast
and make variables unsigned or HOST_WIDE_INT and use tree_low_cst.
(mips_function_value): Use int_byte_position and make HOST_WIDE_INT.
* config/mips/abi64.h (SETUP_INCOMING_VARARGS): Offsets are unsigned.
* config/mips/mips.h (BITS_PER_WORD, UNITS_PER_WORD): Cast to unsigned.
(UNITS_PER_FPREG, INT_TYPE_SIZE, LONG_TYPE_SIZE): Likewise.
(POINTER_SIZE, POINTER_BOUNDARY,PARM_BOUNDARY): Likewise.
(GP_REG_P, FP_REG_P, MD_REG_P, ST_REG_P): Ensure subtraction signed.
(struct mips_arg): arg_number, arg_words, fp_arg_words, and
num_adjusts now unsigned.
(FUNCTION_ARG_BOUNDARY): Remove unneeded cast.
* config/sparc/sparc.c (struct function_arg_record_value_parms):
NREGS now unsigned.
(function_arg_record_value_1): STARTBITPOS arg now HOST_WIDE_INT
as is BITPOS variable; use host_integerp and int_bit_position.
(function_arg_record_value_2): Likewise.
(function_arg_record_value_3): Arg BITPOS now HOST_WIDE_INT.
Variable REGNO now unsigned.
(function_arg_record_value): NREGS now unsigned.

From-SVN: r32748

24 years agoFix sibcall problem in jump.c.
Bernd Schmidt [Sun, 26 Mar 2000 16:22:02 +0000 (16:22 +0000)]
Fix sibcall problem in jump.c.

From-SVN: r32747

24 years agoNew tests
Bernd Schmidt [Sun, 26 Mar 2000 16:11:06 +0000 (16:11 +0000)]
New tests

From-SVN: r32746

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

From-SVN: r32744

24 years agodecl.c (grokdeclarator): Count partial specializations when keeping track of how...
Mark Mitchell [Sun, 26 Mar 2000 03:05:49 +0000 (03:05 +0000)]
decl.c (grokdeclarator): Count partial specializations when keeping track of how many template classes...

* decl.c (grokdeclarator): Count partial specializations when
keeping track of how many template classes have been seen.

* dump.c (dequeue_and_dump): Dump DECL_TEMPLATE_RESULT.

From-SVN: r32743

24 years ago* Rework fields used to describe positions of bitfields and
Richard Kenner [Sat, 25 Mar 2000 18:34:13 +0000 (18:34 +0000)]
* Rework fields used to describe positions of bitfields and
modify sizes to be unsigned and use HOST_WIDE_INT.
* alias.c (reg_known_value_size): Now unsigned.
* c-typeck.c (build_unary_op, case ADDR_EXPR): Use byte_position.
(really_start_incremental_init): Use bitsize_zero_node.
(push_init_level, pop_init_level, output_init_element): Likewise.
Use bitsize_unit_node and bitsize_one_node.
(output_pending_init_elements, process_init_element): Likewise.
* combine.c (combine_max_regno, reg_sign_bit_copies): Now unsigned.
(make_extraction): Position and length HOST_WIDE_INT and unsigned
HOST_WIDE_INT, respectively.
(get_pos_from_mask): Passed in value is unsigned HOST_WIDE_INT.
(num_sign_bit_copies): Returns unsigned.
BITWIDTH now unsigned; rework arithmetic.
Remove recursive call from arg to MAX.
(combine_instructions, init_reg_last_arrays): NREGS now unsigned.
(setup_incoming_promotions, can_combine_p, try_combine, simplify_set):
REGNO now unsigned.
(set_nonzero_bit_and_sign_copies): NUM now unsigned.
(find_split_point, expand_compound_operation, make_extraction): LEN
now unsigned HOST_WIDE_INT, POS now HOST_WIDE_INT.
(make_field_assignment): Likewise.
(combine_simplify_rtx): Add cast.
(expand_compound_operation): MODEWIDTH now unsigned; rework arithmetic.
(force_to_mode): WIDTH now unsigned; add cast.
(if_then_else_cond): SIZE now unsigned.
(nonzero_bits): MODE_WIDTH, RESULT_WIDTH, and WIDTH now unsigned.
(extended_count): Now returns unsigned.
(simplify_shift_const): COUNT unsigned; arg is now INPUT_COUNT.
Add SIGNED_COUNT variable; MODE_WORDS and FIRST_COUNT now unsigned.
(simplify_comparison): MODE_WIDTH now unsigned.
(update_table_tick): REGNO and ENDREGNO now unsigned; new var R.
(mark_used_regs_combine): Likewise; rework arithmetic.
(record_value_for_reg): REGNO, ENDREGNO, and I now unsigned.
(record_dead_and_set_regs, reg_dead_at_p, distribute_notes): Likewise.
(record_promoted_value): REGNO now unsigned.
(get_last_value_validate): REGNO, ENDREGNO, and J now unsigned.
(get_last_value): REGNO now unsigned.
(use_crosses_set_p): REGNO and ENDREGNO now unsigned.
(reg_dead_regno, reg_dead_endregno): Now unsigned.
(remove_death): Arg REGNO now unsigned.
(move_deaths):  REGNO, DEADREGNO, DEADEND, OUREND, and I now unsigned.
(reg_bitfield_target_p): REGNO, REGNO, ENDREGNO, and ENDTREGNO
now unsigned.
* convert.c (convert_to_integer): INPREC and OUTPREC now unsigned.
* cse.c (struct qty_table_elem): FIRST_REG and LAST_REG now unsigned.
(struct cse_reg_info): REGNO now unsigned.
(cached_regno): Now unsigned.
(REGNO_QTY_VALID_P): Add cast.
(make_new_qty, make_regs_eqv, delete_reg_eqiv): Regno args unsigned.
(remove_invalid_regs): Likewise.
(remove_invalid_subreg_refs): Likewise; arg WORD also unsigned
as are variables END and I.
(get_cse_reg_info, insert): Likewise.
(mention_regs, invalidate_for_call): REGNO, ENDREGNO, and I unsigned.
(canon_hash): Likewise.
(insert_regs, lookup_for_remove): REGNO now unsigned.
(invalidate): REGNO, ENDREGNO, TREGNO, and TENDREGNO now unsigned.
New variable RN.
* dbxout.c (dbxout_parms, dbxout_reg_parms): Don't check for REGNO < 0.
* dwarf2out.c (dwarf2ou_frame_debug_expr): Remove cast.
* emit-rtl.c (subreg_realpart_p): Add cast.
(operand_subword): Arg I is now unsigned as is var PARTWORDS.
(operand_subword_force): Arg I is now unsigned.
* except.c (eh_regs): Variable I is now unsigned.
* explow.c (hard_function_value): BYTES is unsigned HOST_WIDE_INT.
* expmed.c (store_fixed_bit_field): Position is HOST_WIDE_INT;
length is unsigned HOST_WIDE_INT; likewise for internal variables.
(store_split_bit_field, extract_fixed_bit_field): Likewise.
(extract_split_bit_field, store_bit_field, extract_bit_field):
Likewise.
* expr.c (store_constructor_fields, store_constructor, store_field):
Positions are HOST_WIDE_INT and lengths are unsigned HOST_WIDE_INT.
(expand_assignment, expand_expr, expand_expr_unaligned): Likewise.
(do_jump): Likewise.
(move_by_pieces, move_by_pieces_ninsns, clear_by_pieces):
MAX_SIZE is now unsigned.
(emit_group_load): BYTEPOS is HOST_WIDE_INT; BYTELEN is unsigned.
(emit_group_store): Likewise.
(emit_move_insn): I now unsigned.
(store_constructor): Use host_integerp, tree_low_cst, and
bitsize_unit_node.
(get_inner_reference): Return bitpos and bitsize as HOST_WIDE_INT.
Rework all calculations to use trees and new fields.
* expr.h (promoted_input_arg): Regno now unsigned.
(store_bit_field, extract_bit_field): Adjust types of pos and size.
(mark_seen_cases): Arg is HOST_WIDE_INT.
* flow.c (verify_wide_reg_1): REGNO now unsigned.
* fold-const.c (decode_field_reference): Size and pos HOST_WIDE_INT;
precisions and alignments are unsigned.
(optimize_bit_field_compare, fold_truthop): Likewise.
(int_const_binop): Adjust threshold for size_int_type_wide call.
(fold_convert): Likewise.
(size_int_type_wide): Make table larger and fix thinko that only
had half of table used.
(all_ones_mask_p, fold): Precisions are unsigned.
* function.c (put_reg_info_stack): REGNO is unsigned.
(instantiate_decl): Size is HOST_WIDE_INT.
(instantiate_virtual_regs): I is unsigned.
(assign_parms): REGNO, REGNOI, and REGNOR are unsigned.
(promoted_input_arg): REGNO is unsigned.
* function.h (struct function): x_max_parm_reg is now unsigned.
* gcse.c (max_gcse_regno): Now unsigned.
(struct null_pointer_info): min_reg and max_reg now unsigned.
(lookup_set, next_set): REGNO arg now unsigned.
(compute_hash_table): REGNO and I now unsigned.
(handle_avail_expr): regnum_for_replacing now unsigned.
(cprop_insn): REGNO now unsigned.
(delete_null_pointer_checks_1): BLOCK_REG now pointer to unsigned.
* ggc-common.c (ggc_mark_tree_children, case FIELD_DECL): New case.
* global.c (set_preference): SRC_REGNO, DEST_REGNO, and I now unsigned.
* hard-reg-set.h (reg_class_size): Now unsigned.
* integrate.c (mark_stores): LAST_REG and I now unsigned; new UREGNO.
* jump.c (mark_modified_reg): I now unsigned; add cast.
(rtx_equal_for_thread_p): Add cast.
* loop.c (max_reg_before_loop): Now unsigned.
(struct_movable): REGNO now unsigned.
(try_copy_prop): REGNO arg unsigned.
(regs_match_p): XN and YN now unsigned.
(consec_sets_invariant_p, maybe_eliminate_biv): REGNO now unsigned.
(strength_reduce): Likewise; NREGS also unsigned.
(first_increment_giv, last_increment_giv unsigned): Now unsigned.
* loop.h (struct iv_class): REGNO now unsigned.
(max_reg_before_loop, first_increment_giv, last_increment_giv):
Now unsigned.
* machmode.h (mode_size, mode_unit_size): Now unsigned.
(mode_for_size, smallest_mode_for_size): Pass size as unsigned.
* optabs.c (expand_binop): I and NWORDS now unsigned.
(expand_unop): I now unsigned.
* print-tree.c (print_node): Don't print DECL_FIELD_BITPOS, but do
print DECL_FIELD_OFFSET and DECL_FIELD_BIT_OFFSET.
* real.c (significand_size): Now returns unsigned.
* real.h (significand_size): Likewise.
* regclass.c (reg_class_size): Now unsigned.
(choose_hard_reg_mode): Both operands now unsigned.
(record_reg_classes): REGNO and NR now unsigned.
(reg_scan): NREGS now unsigned.
(reg_scan_update): old_max_regno now unsigned.
(reg_scan_mark_refs): Arg MIN_REGNO and var REGNO now unsigned.
* reload.c (find_valid_class): BEST_SIZE now unsigned.
(find_dummy_reload): REGNO, NWORDS, and I now unsigned.
(hard_reg_set_here_p): Args BEG_REGNO and END_REGNO now unsigned.
Likewise for variable R.
(refers_to_regno_for_reload_p): Args REGNO and END_REGNO now unsigned,
as are variables INNER_REGNO and INNER_ENDREGNO; add new variable R.
(find_equiv_reg): Add casts.
(regno_clobbered_p): Arg REGNO now unsigned.
* reload.h (struct reload): NREGS now unsigned.
(refers_to_regno_for_reload_p): Regno args are unsigned.
(regno_clobbered_p): Likewise.
* reload1.c (reg_max_ref_width, spill_stack_slot_width): Now unsigned.
(compute_use_by_pseudos): REGNO now unsigned.
(find_reg): I and J now unsigned, new variable K, and change loop
variables accordingly; THIS_NREGS now unsigned.
(alter_reg): INHERENT_SIZE and TOTAL_SIZE now unsigned.
(spill_hard_reg): REGNO arg now unsigned; add casts.
(forget_old_reloads_1): REGNO, NR, and I now unsigned.
(mark_reload_reg_in_use): Arg REGNO and vars NREGS and I now unsigned.
(clear_reload_reg_in_use): Arg REGNO and vars NREGS, START_REGNO,
END_REGNO, CONFLICT_START, and CONFLICT_END now unsigned.
(reload_reg_free_p, reload_reg_reaches_end_p): Arg REGNO now unsigned.
(choose_reload_regs): MAX_GROUP_SIZE now unsigned.
(emit_reload_insns): REGNO now unsigned.
(reload_cse_move2add): Add cast.
(move2add_note_store): REGNO and I now unsigned; new variable ENDREGNO
and rework loop.
* resource.c (mark_referenced_resources, mark_set_resources): New
variable R; REGNO and LAST_REGNO now unsigned.
(mark_target_live_regs): J and REGNO now unsigned.
* rtl.c (mode_size, mode_unit_size): Now unsigned.
* rtl.h (union rtunion_def): New field rtuint.
(XCUINT): New macro.
(ADDRESSOF_REGNO, REGNO, SUBREG_WORD): New XCUINT.
(operand_subword, operand_subword_force): Word number is unsigned.
(choose_hard_reg_mode): Operands are unsigned.
(refers_to-regno_p, dead_or_set_regno_p): Regno arg is unsigned.
(find_regno_note, find_regno_fusage, replace_regs): Likewise.
(regno_use_in, combine_instructions, remove_death): Likewise.
(reg_scan, reg_scan_update): Likewise.
(extended_count): Return is unsigned.
* rtlanal.c (refers_to_regno_p): Args REGNO and ENDREGNO and vars I,
INNER_REGNO, and INNER_ENDREGNO now unsigned; new variable X_REGNO.
(reg_overlap_mentioned_p): REGNO and ENDREGNO now unsigned.
(reg_set_last_first_regno, reg_set_last_last_regno): Now unsigned.
(reg_reg_last_1): FIRS and LAST now unsigned.
(dead_or_set_p): REGNO, LAST_REGNO, and I now unsigned.
(dead_or_set_regno_p): Arg TEST_REGNO and vars REGNO and ENDREGNO
now unsigned.
(find_regno_note, regno_use_in): Arg REGNO now unsigned.
(find_regno_fusage): Likewise; also var REGNOTE now unsigned.
(find_reg_fusage): Variables REGNO, END_REGNO, and I now unsigned.
(replace_regs): Arg NREGS now unsigned.
* sdbout.c (sdbout_parms, sdbout_reg_parms): Don't check REGNO < 0.
* simplify-rtx.c (simplify_unary_operation): WIDTH now unsigned.
(simplify_binary_operation): Likewise.
(cselib_invalidate_regno): Arg REGNO and variables ENDREGNO, I, and
THIS_LAST now unsigned.
(cselib_record_set): Add cast.
* ssa.c (ssa_max_reg_num): Now unsigned.
(rename_block): REGNO now unsigned.
* stmt.c (expand_return): Bit positions unsigned HOST_WIDE_INT;
sizes now unsigned.
(all_cases_count): Just return -1 not -2.
COUNT, MINVAL, and LASTVAL now HOST_WIDE_INT.
Rework tests to use trees whenever possible.
Use host_integerp and tree_low_cst.
(mark_seen_cases): COUNT arg now HOST_WIDE_INT;
Likewise variable NEXT_NODE_OFFSET; XLO now unsigned.
(check_for_full_enumeration_handing): BYTES_NEEDED, I to HOST_WIDE_INT.
* stor-layout.c (mode_for_size): SIZE arg now unsigned.
(smallest_mode_for_size): Likewise.
(layout_decl): Simplify handing of a specified DECL_SIZE_UNIT.
KNOWN_ALIGN is now an alignment, so simplify code.
Don't turn off DECL_BIT_FIELD if field is BLKmode, but not type.
(start_record_layout): Renamed from new_record_layout_info.
Update to new fields.
(debug_rli, normalize_rli, rli_size_unit_so_far, rli_size_so_far):
New functions.
(place_union_field): Renamed from layout_union_field.
Update to use new fields in rli.
(place_field): Renamed from layout_field.
Major rewrite to use new fields in rli; pass alignment to layout_decl.
(finalize_record_size): Rework to use new fields in rli and handle
union.
(compute_record_mode): Rework to simplify and to use new DECL fields.
(finalize_type_size): Make rounding more consistent.
(finish_union_layout): Deleted.
(layout_type, case VOID_TYPE): Don't set TYPE_SIZE_UNIT either.
(layout_type, case RECORD_TYPE): Call new function names.
(initialize_sizetypes): Set TYPE_IS_SIZETYPE.
(set_sizetype): Set TYPE_IS_SIZETYPE earlier.
(get_best_mode): UNIT is now unsigned; remove casts.
* tree.c (bit_position): Compute from new fields.
(byte_position, int_byte_position): New functions.
(print_type_hash_statistics): Cast to remove warning.
(build_range_type): Use host_integerp and tree_low_cst to try to hash.
(build_index_type): Likewise; make subtype of sizetype.
(build_index_2_type): Pass sizetype to build_range_type.
(build_common_tree_nodes): Use size_int and bitsize_int to
initialize nodes; add bitsize_{zero,one,unit}_node.
* tree.h (DECL_FIELD_CONTEXT): Use FIELD_DECL_CHECK.
(DECL_BIT_FIELD_TYPE, DECL_QUALIFIER, DECL_FCONTEXT): Likewise.
(DECL_PACKED, DECL_BIT_FIELD): Likewise.
(DECL_FIELD_BITPOS): Deleted.
(DECL_FIELD_OFFSET, DECL_FIELD_BIT_OFFSET): New fields.
(DECL_RESULT, DECL_SAVED_INSNS): Use FUNCTION_DECL_CHECK.
(DECL_FRAME_SIZE, DECL_FUNCTION_CODE, DECL_NO_STATIC_CHAIN): Likewise.
(DECL_INLINE, DECL_BUILT_IN_NONANSI, DECL_IS_MALLOC): Likewise.
(DECL_BUILT_IN_CLASS, DECL_STATIC_CONSTRUCTOR): Likewise.
(DECL_STATIC_DESTRUCTOR, DECL_NO_CHECK_MEMORY_USAGE): Likewise.
(DECL_NO_INSTRUMENT_FUNCTION_ENTRY_EXIT, DECL_NO_LIMIT_STACK) Likewise.
(DECL_ORIGINAL_TYPE, TYPE_DECL_SUPPRESS_DEBUG): Use TYPE_DECL_CHECK.
(DECL_ARG_TYPE_AS_WRITEN, DECL_ARG_TYPE): Use PARM_DECL_CHECK.
(DECL_INCOMING_RTL, DECL_TRANSPARENT_UNION): Likewise.
(DECL_ALIGN): Adjust to new field in union.
(DECL_OFFSET_ALIGN): New field.
(DECL_ERROR_ISSUED, DECL_TOO_LATE): Use LABEL_DECL_CHECK.
(DECL_IN_TEXT_SECTION): Use VAR_DECL_CHECK.
(union tree_decl): Add struct for both aligns.
(enum tree_index): Add TI_BITSIZE_{ZERO,ONE,UNIT}.
(bitsize_zero_node, bitsize_one_node, bitsize_unit_node): Added.
(struct record_layout_info): Rework fields to have offset
alignment and byte and bit position.
(start_record_layout, place_field): Renamed from old names.
(rli_size_so_far, rli_size_unit_so_far, normalize_rli): New decls.
(byte_position, int_byte_position): Likewise.
(get_inner_reference): Change types of position and length.
* unroll.c (unroll_loop): New variable R; use for some loops.
MAX_LOCAL_REGNUM and MAXREGNUM now unsigned.
(calculate_giv_inc): Arg REGNO now unsigned.
(copy_loop_body): REGNO and SRC_REGNO now unsigned.
* varasm.c (assemble_variable): Clean up handling of size using
host_integerp and tree_low_cst.
(decode_addr_const): Use byte, not bit, position.
(output_constructor): bitpos and offsets are HOST_WIDE_INT;
use tree_low_cst and int_bit_position.
* objc/objc-act.c (build_ivar_list_initializer): Use byte_position.
* ch/actions.c (check_missing_cases): BYTES_NEEDED is HOST_WIDE_INT.
* ch/typeck.c (expand_constant_to_buffer): Use int_byte_position.
(extract_constant_from_buffer): Likewise.
* cp/class.c (build_vbase_pointer_fields): layout_field now
place_field.
(get_vfield_offset): Use byte_position.
(set_rtti_entry): Set OFFSET to ssizetype zero.
(get_binfo_offset_as_int): Deleted.
(dfs_record_base_offsets): Use tree_low_cst.
(dfs_search_base_offsets): Likewise.
(layout_nonempty_base_or_field): Reflect changes in RLI format
and call byte_position.
(layout_empty_base): Convert offset to ssizetype.
(build_base_field): use rli_size_unit_so_far.
(dfs_propagate_binfo_offsets): Do computation in proper type.
(layout_virtual_bases): Pass ssizetype to propagate_binfo_offsets.
(layout_class_type): Reflect changes in RLI names and fields.
(finish_struct_1): Set DECL_FIELD_OFFSET.
* cp/dump.c (dequeue_and_dump): Call bit_position.
* cp/expr.c (cplus_expand_constant): Use byte_position.
* cp/rtti.c (expand_class_desc): Use bitsize_one_node.
* cp/typeck.c (build_component_addr): Use byte_position and don't
special case for zero offset.
* f/com.c (ffecom_tree_canonize_ptr_): Use bitsize_zero_node.
(ffecom_tree_canonize_ref_): Likewise.
* java/class.c (make_field_value): Use byte_position.
* java/expr.c (JAVA_ARRAY_LENGTH_OFFSET): Use byte_position.
(java_array_data_offset): Likewise.
* java/java-tree.h (MAYBE_CREATE_TYPE_TYPE_LANG_SPECIFIC): Add case to
bzero call.

From-SVN: r32742

24 years agoRemove accidental commit
Mark Mitchell [Sat, 25 Mar 2000 16:38:49 +0000 (16:38 +0000)]
Remove accidental commit

From-SVN: r32740

24 years agoFix typo in ChangeLog
Mark Mitchell [Sat, 25 Mar 2000 16:30:33 +0000 (16:30 +0000)]
Fix typo in ChangeLog

From-SVN: r32739

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

From-SVN: r32738

This page took 0.110375 seconds and 5 git commands to generate.