Michael Tiemann [Wed, 25 Aug 1999 06:51:15 +0000 (06:51 +0000)]
loop.c (strength_reduce): Automatically unroll loops if the unrolled loop size is smaller than the rolled...
* loop.c (strength_reduce): Automatically unroll loops if the
unrolled loop size is smaller than the rolled loop size.
Co-Authored-By: Jeffrey A Law <law@cygnus.com>
From-SVN: r28841
Mark Mitchell [Wed, 25 Aug 1999 06:44:46 +0000 (06:44 +0000)]
flow.c (delete_block): Spell NOTE_INSN_EH_REGION_BEG and NOTE_INSN_EH_REGION_END correctly.
* flow.c (delete_block): Spell NOTE_INSN_EH_REGION_BEG and
NOTE_INSN_EH_REGION_END correctly.
From-SVN: r28840
Michael Tiemann [Wed, 25 Aug 1999 05:28:26 +0000 (05:28 +0000)]
loop.c (insert_bct): Replace use of sdiv_optab with asr_optab and delete comment that code should be...
* loop.c (insert_bct): Replace use of sdiv_optab with asr_optab
and delete comment that code should be rewritten.
From-SVN: r28839
Jeffrey A Law [Wed, 25 Aug 1999 05:24:04 +0000 (05:24 +0000)]
haifa-sched.c (find_rgns): Mark a block found during the DFS search as reachable.
* haifa-sched.c (find_rgns): Mark a block found during the DFS search
as reachable.
From-SVN: r28838
Jeffrey A Law [Wed, 25 Aug 1999 04:58:36 +0000 (04:58 +0000)]
* haifa-sched.c (get_visual_tbl_length): Fix off-by-one error.
From-SVN: r28837
Mumit Khan [Wed, 25 Aug 1999 04:43:17 +0000 (04:43 +0000)]
mkfixinc.sh: Don't fix uwin headers.
* fixinc/mkfixinc.sh: Don't fix uwin headers.
* i386/uwin.h (MD_STARTFILE_PREFIX): Define.
(LINK_SPEC): Add -u _main when building executables.
(ASM_DECLARE_FUNCTION): Update from Cygwin.
(ASM_FILE_END): Use the default for ix86-pe.
* i386/xm-uwin.h (HAVE_BCOPY): Undefine.
From-SVN: r28836
Bernd Schmidt [Wed, 25 Aug 1999 04:24:36 +0000 (04:24 +0000)]
gcse.c (find_avail_set): Follow chains of register-register copies.
* gcse.c (find_avail_set): Follow chains of register-register copies.
Use oprs_not_set_p to guarantee that the returned value can be
substituted.
(cprop_insn): Don't verify the return value of find_avail_set with
oprs_not_set_p.
From-SVN: r28835
Bernd Schmidt [Wed, 25 Aug 1999 03:30:45 +0000 (03:30 +0000)]
gcse.c (cprop_jump): New function, broken out of cprop_insn.
* gcse.c (cprop_jump): New function, broken out of cprop_insn.
(cprop_cc0_jump): New function.
(cprop_insn): Break out new function cprop_jump and use it.
Also use cprop_cc0_jump for machines with CC0.
(cprop): Don't crash if cprop_insn turned the insn into a NOTE.
From-SVN: r28834
Art Haas [Wed, 25 Aug 1999 02:52:15 +0000 (02:52 +0000)]
final.c (output_addr_const): Handle case where ASM_OPEN_PAREN and ASM_CLOSE_PAREN are empty strings.
* final.c (output_addr_const): Handle case where ASM_OPEN_PAREN
and ASM_CLOSE_PAREN are empty strings.
From-SVN: r28833
Fred Fish [Wed, 25 Aug 1999 02:49:56 +0000 (02:49 +0000)]
Makefile.in (PREPROCESSOR_DEFINES): New macro.
* Makefile.in (PREPROCESSOR_DEFINES): New macro.
(protoize.o): Use PREPROCESSOR_DEFINES and DRIVER_DEFINES.
(unprotoize.o): Ditto.
(test-protoize-simple): Don't define STD_PROTO_DIR.
* protoize.c: Use PARAMS rather than PROTO. Minor whitespace
changes to make 'test-protoize-simple' pass.
(STD_PROTO_DIR): Remove define.
(STANDARD_EXEC_PREFIX): Supply default define.
(standard_exec_prefix): New variable, init to STANDARD_EXEC_PREFIX.
(target_machine): New variable, init to DEFAULT_TARGET_MACHINE.
(target_version): New variable, init to DEFAULT_TARGET_VERSION.
(GET_ENV_PATH_LIST): New macro.
(default_syscalls_dir): No longer initialized to STD_PROTO_DIR.
(do_processing): Initialize default_syscalls_dir using new
macros. Use it to initialize syscalls_absolute_filename.
Co-Authored-By: Geoff Keating <geoffk@cygnus.com>
From-SVN: r28832
Bryce McKinlay [Wed, 25 Aug 1999 00:46:23 +0000 (00:46 +0000)]
* posix-threads.cc: Include <errno.h>.
From-SVN: r28831
Richard Henderson [Wed, 25 Aug 1999 00:00:03 +0000 (17:00 -0700)]
jump.c (jump_optimize_1): Do cmov opt on any single-set; force B into a register before emit_conditional_move.
* jump.c (jump_optimize_1): Do cmov opt on any single-set; force
B into a register before emit_conditional_move.
From-SVN: r28830
Richard Henderson [Tue, 24 Aug 1999 22:37:34 +0000 (15:37 -0700)]
fold-const.c (fold): Reassociate (+ (+ (* a b) c) (* d e)) as (+ (+ (* a b) (* d e)) c).
* fold-const.c (fold): Reassociate (+ (+ (* a b) c) (* d e))
as (+ (+ (* a b) (* d e)) c). Factor a common power-of-two
multiplicand out of (+ (* a b) (* c d)).
From-SVN: r28829
Bob Manson [Tue, 24 Aug 1999 22:35:55 +0000 (22:35 +0000)]
haifa-sched.c (split_hard_reg_notes): Move to flow.c
* haifa-sched.c (split_hard_reg_notes): Move to flow.c
(new_insn_dead_notes): Likewise.
(update_n_sets): Likewise.
(update_flow_info): Move to flow.c, renamed to update_life_info;
extend to handle multiple source insns.
* flow.c: Include resource.h
(unlink_insn_chain): New.
(split_hard_reg_notes): New.
(maybe_add_dead_note): New.
(maybe_add_dead_note_use): New.
(find_insn_with_note): New.
(new_insn_dead_notes): New.
(update_n_sets): New.
(sets_reg_or_subreg_1, sets_reg_or_subreg): New.
(maybe_remove_dead_notes): New.
(update_life_info): New.
(prepend_reg_notes): New.
(replace_insns): New.
* output.h (update_life_info): Declare.
* recog.c (split_block_insns): Use update_life_info.
* resource.c (find_free_register): Use reg_alloc_order, don't use
fixed regs, make sure the mode is supported, don't use new regs.
(reg_dead_p): New.
* rtl.h (replace_insns): Declare.
Co-Authored-By: Richard Henderson <rth@cygnus.com>
From-SVN: r28828
Jason Merrill [Tue, 24 Aug 1999 21:25:13 +0000 (17:25 -0400)]
new
From-SVN: r28827
Jason Merrill [Tue, 24 Aug 1999 21:23:56 +0000 (21:23 +0000)]
call.c (build_conditional_expr): Fix typo.
* call.c (build_conditional_expr): Fix typo.
* typeck.c (build_modify_expr, COND_EXPR): Make sure we've got an
lvalue before trying to mess with the sides.
* error.c (dump_expr, CONVERT_EXPR): Handle (void) properly.
From-SVN: r28826
Nathan Sidwell [Tue, 24 Aug 1999 20:49:12 +0000 (20:49 +0000)]
expr.c (expand_expr): Cope with COND_EXPRs with one non-returning branch.
* expr.c (expand_expr): Cope with COND_EXPRs with one
non-returning branch.
From-SVN: r28825
Mark Mitchell [Tue, 24 Aug 1999 18:09:10 +0000 (18:09 +0000)]
expr.c (store_expr): Always pass down the target, even when not doing CSE.
* expr.c (store_expr): Always pass down the target, even when not
doing CSE.
From-SVN: r28824
Nick Clifton [Tue, 24 Aug 1999 13:58:41 +0000 (13:58 +0000)]
Handle DFmode and DImode constant addresses.
From-SVN: r28823
Kaveh R. Ghazi [Tue, 24 Aug 1999 13:34:04 +0000 (13:34 +0000)]
genattr.c (function_unit_desc): Constify a char*.
* genattr.c (function_unit_desc): Constify a char*. Add prototype.
(main): Add prototypes.
* genattrtab.c (substitute_address, write_const_num_delay_slots,
attr_eq, attr_numeral, attr_equal_p, attr_copy_rtx): Prototype.
(write_attr_get): Emit prototypes along with function definition.
(write_eligible_delay): Mark a parameter with ATTRIBUTE_UNUSED.
(write_complex_function): Emit static prototype along with
function definition.
* genemit.c (gen_split): Emit prototypes along with function
definition.
* genoutput.c (output_epilogue): Add prototype to `insn_outfun'.
Likewise for predicates and `insn_operand_predicate'.
(process_template): Emit static prototype along with function
definition.
* genrecog.c (make_insn_sequence): Constify a char*. Add
prototypes for get_split_*().
(write_subroutine): Emit prototypes along with function
definition.
From-SVN: r28822
Kaveh R. Ghazi [Tue, 24 Aug 1999 13:21:46 +0000 (13:21 +0000)]
noncompile.exp: Load_lib c-torture.exp.
* noncompile/noncompile.exp: Load_lib c-torture.exp.
(postbase_with_opts): New proc to loop over TORTURE_OPTIONS and
call `postbase' for each one. All callers of `postbase' changed
to call this instead.
From-SVN: r28821
Bernd Schmidt [Tue, 24 Aug 1999 12:05:09 +0000 (12:05 +0000)]
Fix more problems from GC diffs
From-SVN: r28820
Philippe De Muyter [Tue, 24 Aug 1999 08:51:03 +0000 (10:51 +0200)]
* strtoul.c (strtoul): Add parentheses around && within ||.
From-SVN: r28819
Jeffrey A Law [Tue, 24 Aug 1999 08:48:27 +0000 (08:48 +0000)]
expr.c (convert_move): Fix arguments to TRULY_NOOP_TRUNCATION call.
* expr.c (convert_move): Fix arguments to TRULY_NOOP_TRUNCATION
call.
From-SVN: r28818
Herman A.J. ten Brugge [Tue, 24 Aug 1999 08:44:47 +0000 (10:44 +0200)]
* jump.c (delete_barrier_successors) Match (set (pc) (pc)) insn
exactly.
From-SVN: r28817
Jeff Law [Tue, 24 Aug 1999 07:46:43 +0000 (01:46 -0600)]
Daily bump.
From-SVN: r28815
Matthias Klose [Tue, 24 Aug 1999 05:37:39 +0000 (05:37 +0000)]
cpp.texi: Add a node documenting macro varargs (copied from extend.texi).
* cpp.texi: Add a node documenting macro varargs (copied
from extend.texi).
From-SVN: r28814
Zack Weinberg [Tue, 24 Aug 1999 05:31:03 +0000 (05:31 +0000)]
cppspec.c: Put a null pointer at the end of the new argv.
1999-08-23 22:23 -0700 Zack Weinberg <zack@bitmover.com>
* cppspec.c: Put a null pointer at the end of the new argv.
From-SVN: r28813
Mumit Khan [Tue, 24 Aug 1999 04:20:18 +0000 (04:20 +0000)]
* g++spec.c (lang_specific_driver): Add room for NULL in arglist.
From-SVN: r28812
Jason Merrill [Tue, 24 Aug 1999 04:16:06 +0000 (04:16 +0000)]
exception.cc (__cplus_type_matcher): Call __throw_type_match_rtti_2.
* exception.cc (__cplus_type_matcher): Call __throw_type_match_rtti_2.
Return arbitrary pointer or NULL.
(check_eh_spec): Call __throw_type_match_rtti_2.
* tinfo.h (*::dcast): Return int. Add valp parm.
* tinfo.cc (*::dcast): Likewise. Adjust to allow for null pointers.
* tinfo2.cc (__throw_type_match_rtti_2): Likewise.
(__throw_type_match_rtti): Now just a wrapper.
* except.c: Lose CatchMatch, FirstExceptionMatch, and Unwind.
(init_exception_processing): Don't initialize them.
From-SVN: r28811
Tom Tromey [Tue, 24 Aug 1999 04:01:06 +0000 (04:01 +0000)]
boehm.cc: Undefine TRUE and FALSE.
* boehm.cc: Undefine TRUE and FALSE.
* posix-threads.cc (_Jv_CondWait): Use ETIMEDOUT, not ETIME.
From-SVN: r28810
Jeffrey A Law [Tue, 24 Aug 1999 03:28:57 +0000 (03:28 +0000)]
configure.in: Remove code to select/de-select the haifa scheduler.
* configure.in: Remove code to select/de-select the haifa
scheduler. Every scheduled port gets haifa now.
* configure: Rebuilt.
* flags.h, genattrtab.c, rtl.h, toplev.c: Remove HAIFA ifdefs.
* sched.c Deleted.
* Makefile.in: Corresponding changes.
From-SVN: r28809
Paul Burchard [Mon, 23 Aug 1999 22:19:01 +0000 (22:19 +0000)]
* decl.c (check_default_argument): Fix typo.
From-SVN: r28808
Bernd Schmidt [Mon, 23 Aug 1999 16:09:52 +0000 (16:09 +0000)]
Fix sparc compilation failure
From-SVN: r28807
Jeff Law [Mon, 23 Aug 1999 07:45:12 +0000 (01:45 -0600)]
Daily bump.
From-SVN: r28806
Alexandre Petit-Bianco [Sun, 22 Aug 1999 18:38:07 +0000 (18:38 +0000)]
re GNATS gcj/30 (gcj not reporting unimplemented methods)
Sun Aug 22 11:07:41 1999 Alexandre Petit-Bianco <apbianco@cygnus.com>
* parse.y (check_method_redefinition): Changed leading comment.
(check_abstract_method_definitions): New function.
(java_check_abstract_method_definitions): New function.
(java_check_regular_methods): Call it.
(verify_constructor_super): Fixed indentation.
(lookup_method_invoke): Likewise.
(This fixes the Java net PR #30,
http://sourceware.cygnus.com/ml/java-prs/1999-q3/msg00034.html)
From-SVN: r28805
Mark Mitchell [Sun, 22 Aug 1999 18:11:40 +0000 (18:11 +0000)]
cp-tree.def (STMT_EXPR): Fix typo in node name.
* cp-tree.def (STMT_EXPR): Fix typo in node name.
* dump.c (dump_next_stmt): New function.
(dequeue_and_dump): Use it.
* pt.c (tsubst_copy): Make sure to initialize return value for a
STMT_EXPR, even when processing_template_decl.
* semantics.c (finish_stmt_expr): A statement-expression whose
last statement is not an expression-statement has type `void'.
From-SVN: r28804
Alexandre Oliva [Sun, 22 Aug 1999 16:19:31 +0000 (16:19 +0000)]
Added missing whitespace in function calls within adaptors
Pointed out by Tom
From-SVN: r28803
Jeff Law [Sun, 22 Aug 1999 07:45:08 +0000 (01:45 -0600)]
Daily bump.
From-SVN: r28800
Tom Tromey [Sun, 22 Aug 1999 02:37:04 +0000 (02:37 +0000)]
re GNATS libgcj/40 (wait(timeout) wrongly throws IllegalMonitorState exception)
* posix-threads.cc (_Jv_CondWait): Treat a timeout as a normal
result. PR 40.
From-SVN: r28799
Alexandre Oliva [Sat, 21 Aug 1999 14:26:44 +0000 (14:26 +0000)]
configure.in: Check for in_addr_t in netinet/in.h too.
* configure.in: Check for in_addr_t in netinet/in.h too. Check
for ip_mreq too.
* acconfig.h: Define HAVE_IN_ADDR_T instead of in_addr_t.
(HAVE_STRUCT_IP_MREQ): Added.
* configure, include/config.h.in: Rebuilt.
* java/net/natInetAddress.cc (aton): Typedef in_addr_t to jint
if needed.
* java/net/natPlainDatagramSocketImpl.cc (McastReq, mcastGrp):
Disable if ip_mreq is not available.
From-SVN: r28798
Alexandre Oliva [Sat, 21 Aug 1999 13:35:32 +0000 (13:35 +0000)]
Change in_addr_t default to jint
From-SVN: r28796
Alexandre Oliva [Sat, 21 Aug 1999 13:15:55 +0000 (13:15 +0000)]
configure.in: Check types ssize_t and in_addr_t.
* configure.in: Check types ssize_t and in_addr_t.
* acconfig.h: Undefine them.
* configure, include/config.h.in: Rebuilt.
From-SVN: r28793
Alexandre Oliva [Sat, 21 Aug 1999 12:49:39 +0000 (12:49 +0000)]
natSystem.cc (getpwuid_adaptor): New overloaded function that detects the signature of getpwuid_r.
* java/lang/natSystem.cc (getpwuid_adaptor): New overloaded
function that detects the signature of getpwuid_r.
(init_properties): Use it.
* java/util/natDate.cc (ctime_adaptor): Likewise for ctime_r.
(toString): Use it.
From-SVN: r28792
Alexandre Oliva [Sat, 21 Aug 1999 11:56:24 +0000 (11:56 +0000)]
natSystem.cc (getpwuid_adaptor): New overloaded function that detects the signature of getpwuid_r.
* java/lang/natSystem.cc (getpwuid_adaptor): New overloaded
function that detects the signature of getpwuid_r.
(init_properties): Use it.
* java/util/natDate.cc (ctime_adaptor): Likewise for ctime_r.
(toString): Use it.
From-SVN: r28790
Jeff Law [Sat, 21 Aug 1999 07:45:08 +0000 (01:45 -0600)]
Daily bump.
From-SVN: r28788
Geoffrey Keating [Sat, 21 Aug 1999 05:31:45 +0000 (05:31 +0000)]
The 'xxx may be clobbered by longjmp/vfork' warnings are part of
by -Wuninitialized.
From-SVN: r28787
Jim Wilson [Sat, 21 Aug 1999 00:54:22 +0000 (00:54 +0000)]
Fix cse.c/resource.c register lifetime inconsistency.
* resource.c (mark_target_live_regs): Use
PIC_OFFSET_TABLE_REG_CALL_CLOBBERED.
From-SVN: r28786
Kaveh R. Ghazi [Fri, 20 Aug 1999 23:11:19 +0000 (23:11 +0000)]
rtl.c (rtx_class, [...]): Constify.
* rtl.c (rtx_class, note_insn_name, reg_note_name): Constify.
* rtl.h (rtx_class, reg_note_name, note_insn_name): Likewise.
* genopinit.c (gen_insn): Use accessor macro, not `rtx_class'.
From-SVN: r28785
Kaveh R. Ghazi [Fri, 20 Aug 1999 23:05:25 +0000 (23:05 +0000)]
rtl.h (rtx_format): Constify a char*.
* rtl.h (rtx_format): Constify a char*.
* rtl.c (rtx_format): Likewise.
(copy_rtx, copy_most_rtx, read_rtx): Likewise.
(init_rtl): Use accessor macro, not `rtx_format'.
* alias.c (rtx_equal_for_memref_p, find_symbolic_term): Constify a
char*.
* caller-save.c (mark_referenced_regs): Likewise.
* combine.c (subst, make_compound_operation, known_cond,
gen_rtx_combine, update_table_tick, get_last_value_validate,
use_crosses_set_p, mark_used_regs_combine, move_deaths): Likewise.
* cse.c (rtx_cost, mention_regs, canon_hash, exp_equiv_p,
refers_to_p, canon_reg, fold_rtx, cse_process_notes,
count_reg_usage): Likewise.
* emit-rtl.c (gen_rtx, copy_rtx_if_shared, reset_used_flags):
Likewise.
* final.c (leaf_renumber_regs_insn): Likewise.
* flow.c (mark_used_regs, find_use_as_address, dump_flow_info,
dump_edge_info, count_reg_references): Likewise.
* function.c (fixup_var_refs_1, walk_fixup_memory_subreg,
fixup_stack_1, purge_addressof_1, instantiate_virtual_regs_1):
Likewise.
* gcse.c (oprs_unchanged_p, hash_expr_1, expr_equiv_p,
oprs_not_set_p, expr_killed_p, compute_transp, find_used_regs,
add_label_notes): Likewise.
* genattrtab.c (attr_rtx, attr_copy_rtx, encode_units_mask,
clear_struct_flag, count_sub_rtxs, count_alternatives,
compares_alternatives_p, contained_in_p, walk_attr_value,
write_expr_attr_cache): Likewise.
* genconfig.c (walk_insn_part): Likewise.
* genemit.c (max_operand_1, gen_exp): Likewise.
* genextract.c (walk_rtx): Likewise.
* genflags.c (num_operands): Likewise.
* genoutput.c (scan_operands): Likewise.
* genpeep.c (match_rtx): Likewise.
* genrecog.c (add_to_sequence): Likewise.
* haifa-sched.c (may_trap_exp, sched_analyze_2, attach_deaths):
Likewise.
* integrate.c (save_constants, copy_for_inline,
copy_rtx_and_substitute, subst_constants, restore_constants):
Likewise.
* jump.c (mark_jump_label, invert_exp, redirect_exp,
rtx_renumbered_equal_p, rtx_equal_for_thread_p): Likewise.
* local-alloc.c (contains_replace_regs, memref_referenced_p):
Likewise.
* loop.c (record_excess_regs, rtx_equal_for_loop_p,
add_label_notes, replace_call_address, count_nonfixed_reads,
invariant_p, find_single_use_in_loop, find_mem_givs,
find_life_end, maybe_eliminate_biv_1, update_reg_last_use):
Likewise.
* print-rtl.c (reg_names, print_rtx): Likewise.
* recog.c (validate_replace_rtx_1, find_single_use_1): Likewise.
* reg-stack.c (stack_regs_mentioned_p, record_label_references,
record_reg_life_pat, swap_rtx_condition, goto_block_pat,
print_blocks): Likewise.
* regclass.c (fix_register, record_address_regs,
reg_scan_mark_refs): Likewise.
* regmove.c (stable_but_for_p): Likewise.
* reload.c (loc_mentioned_in_p, operands_match_p,
find_reloads_toplevsubst_reg_equivs, find_reloads_address_1,
copy_replacements, refers_to_regno_for_reload_p,
refers_to_mem_for_reload_p, find_inc_amount, regno_clobbered_p,
reload_when_needed_name, reg_class_names, debug_reload_to_stream):
Likewise.
* reload1.c (eliminate_regs, scan_paradoxical_subregs,
delete_address_reloads_1, count_occurrences,
reload_cse_mem_conflict_p, reload_combine_note_use,
add_auto_inc_notes): Likewise.
* resource.c (mark_referenced_resources, mark_set_resources):
Likewise.
* rtlanal.c (rtx_unstable_p, rtx_varies_p, rtx_addr_varies_p,
reg_mentioned_p, regs_set_between_p, modified_between_p,
modified_in_p, refers_to_regno_p, reg_overlap_mentioned_p,
rtx_equal_p, volatile_insn_p, volatile_refs_p, side_effects_p,
may_trap_p, inequality_comparisons_p, replace_rtx, replace_regs,
jmp_uses_reg_or_mem, for_each_rtx, regno_use_in): Likewise.
* sched.c (sched_analyze_2, attach_deaths): Likewise.
* stupid.c (stupid_mark_refs): Likewise.
* unroll.c (remap_split_bivs): Likewise.
* varasm.c (mark_constants): Likewise.
* a29k/a29k.c (uses_local_reg_p): Likewise.
* alpha/alpha.c (summarize_insn): Likewise.
* arm/arm.c (symbol_mentioned_p, label_mentioned_p,
eliminate_lr2ip): Likewise.
* arm/thumb.c (symbol_mentioned_p, label_mentioned_p): Likewise.
* i386/i386.c (symbolic_reference_mentioned_p, copy_all_rtx,
reg_mentioned_in_mem): Likewise.
* ns32k/ns32k.c (global_symbolic_reference_mentioned_p,
symbolic_reference_mentioned_p): Likewise.
* romp/romp.c (unsigned_comparisons_p, hash_rtx): Likewise.
* sh/sh.c (regs_used, mark_use): Likewise.
* vax/vax.c (vax_rtx_cost): Likewise.
From-SVN: r28784
Kaveh R. Ghazi [Fri, 20 Aug 1999 22:44:50 +0000 (22:44 +0000)]
machmode.h (mode_name): Constify a char*.
* machmode.h (mode_name): Constify a char*.
* rtl.c (mode_name): Likewise.
* genopinit.c (gen_insn): Use accessor macro, not `mode_name'.
* optabs.c (init_libfuncs): Constify a char*.
* print-tree.c (mode_name): Remove redundant declaration.
(print_node): Use accessor macro, not `mode_name'.
* reload1.c (dump_needs): Constify a char*. Use accessor macro,
not `mode_name'.
(new_spill_reg): Constify a char*.
* tree.c (mode_name): Remove redundant declaration.
From-SVN: r28783
Kaveh R. Ghazi [Fri, 20 Aug 1999 22:32:54 +0000 (22:32 +0000)]
rtl.c (rtx_name): Constify a char*.
* rtl.c (rtx_name): Constify a char*.
* rtl.h (rtx_name, fix_sched_param): Likewise.
* gmicro/gmicro.c (rtx_name): Remove redundant declaration.
(mypr): Use accessor macro, not `rtx_name'.
* genemit.c (print_code): Constify a char*.
* genopinit.c (gen_insn): Use accessor macro, not `rtx_name'.
* genpeep.c (print_code): Constify a char*.
* genrecog.c (print_code): Likewise.
* graph.c (start_fct, start_bb, node_data, draw_edge, end_fct,
end_bb): Add static prototype.
(draw_edge): Constify a char*.
(end_bb): Remove unused parameter.
* haifa-sched.c (fix_sched_param, safe_concat, print_exp
print_block_visualization): Constify a char*.
From-SVN: r28782
Mark Mitchell [Fri, 20 Aug 1999 22:07:22 +0000 (22:07 +0000)]
semantics.c (finish_stmt_expr): Fix typo in comment.
* semantics.c (finish_stmt_expr): Fix typo in comment.
* tree.c (search_tree): Handle EXIT_EXPR, LOOP_EXPR.
(mapcar): Likewise.
* init.c (build_vec_delete_1): Make the children of a permanent
BIND_EXPR permanent.
* pt.c (register_specialization): Don't register a specialization
more than once.
From-SVN: r28781
Mark Mitchell [Fri, 20 Aug 1999 21:57:38 +0000 (21:57 +0000)]
* c-common.c (c_get_alias_set): Update comment.
From-SVN: r28780
Andrew Haley [Fri, 20 Aug 1999 15:30:47 +0000 (15:30 +0000)]
method.c (process_overload_item): Call build_mangled_C9x_name () for all integer parameter types larger than long...
1999-08-18 Andrew Haley <aph@cygnus.com>
* method.c (process_overload_item): Call build_mangled_C9x_name ()
for all integer parameter types larger than long long.
From-SVN: r28779
Andreas Jaeger [Fri, 20 Aug 1999 13:12:25 +0000 (13:12 +0000)]
linux.h (LIB_SPEC): Added.
1999-08-20 Andreas Jaeger <aj@arthur.rhein-neckar.de>
* linux.h (LIB_SPEC): Added.
From-SVN: r28778
Kresten Krab Thorup [Fri, 20 Aug 1999 11:40:35 +0000 (13:40 +0200)]
interpret.cc (continue1): Implement explicit dispatch table.
* interpret.cc (continue1): Implement explicit dispatch table.
insn_target: Explicit interpreter switch table.
SAVE_PC: New macro, moves pc saving code into instructions that
require so.
NEXT_INSN: New macro, replaces `goto next_insn' in all insns.
PC_REGISTER_ASM: New macro.
INLINE_SWITCH: New macro. Constrols dispatching strategy.
opcode: Remove local variable.
{i,l,f,d}{load,store}_{0,1,2,3}: Expand definitions.
(POKEI): Use _Jv_word.
(iinc): Use _Jv_word.
(dupx): Change reference argument (sp) to pointer.
(jvdump): Remove
* interpret.cc: Remove instruction timing instrumentation.
* java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): Changed
comment. Don't use _Jv_ClassNameSamePackage.
* gnu/gcj/util/path/{SearchPath,ZipFileEntry,DirectoryPathEntry,
URLPathEntry, CacheEntry}: Removed.
* Makefile.am (ordinary_java_source_files): Remove gnu/gcj/util/path
package.
(.java.lo): Rule removed.
* Makefile.in: Rebuilt.
From-SVN: r28777
Michael Hayes [Fri, 20 Aug 1999 10:34:20 +0000 (10:34 +0000)]
c4x.h (STARTFILE_SPEC): Don't define.
Fri Aug 20 22:32:17 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
* config/c4x/c4x.h (STARTFILE_SPEC): Don't define.
From-SVN: r28776
Jeff Law [Fri, 20 Aug 1999 07:45:15 +0000 (01:45 -0600)]
Daily bump.
From-SVN: r28775
Mark Mitchell [Fri, 20 Aug 1999 06:11:48 +0000 (06:11 +0000)]
pt.c (redeclare_class_template): Merge default template arguments in both directions.
* pt.c (redeclare_class_template): Merge default template
arguments in both directions.
* typeck.c (common_type): Undo 1999-08-18 change. Remove
compiler_error message.
From-SVN: r28774
Zack Weinberg [Fri, 20 Aug 1999 01:54:42 +0000 (01:54 +0000)]
tree.c (expr_check): Fix typo in last change.
1999-08-19 18:43 -0700 Zack Weinberg <zack@bitmover.com>
* tree.c (expr_check): Fix typo in last change.
From-SVN: r28773
Tom Tromey [Thu, 19 Aug 1999 22:58:27 +0000 (22:58 +0000)]
natThread.cc (class locker): New class.
* java/lang/natThread.cc (class locker): New class.
(join): Use a locker around _Jv_CondWait.
(sleep): Likewise.
From-SVN: r28770
Zack Weinberg [Thu, 19 Aug 1999 22:33:38 +0000 (22:33 +0000)]
rtl.def (NOTE): Change format to "iuu0n".
1999-08-19 14:44 -0700 Zack Weinberg <zack@bitmover.com>
* rtl.def (NOTE): Change format to "iuu0n".
(ADDR_DIFF_VEC): Change format to "eEee0".
(ADDRESSOF): Change format to "eit".
* rtl.h (rtvec): Make "elem" an array of rtx, not rtunion.
(RTVEC_ELT): Change to match.
(XVECEXP): Use XVEC and RTVEC_ELT.
(INSN_UID, INSN_CODE, CODE_LABEL_NUMBER, NOTE_LINE_NUMBER,
ADDRESSOF_REGNO, REGNO, SUBREG_WORD): Use XINT.
(PREV_INSN, NEXT_INSN, PATTERN, REG_NOTES,
CALL_INSN_FUNCTION_USAGE, SUBREG_REG, SET_SRC, SET_DEST,
TRAP_CONDITION, TRAP_CODE): Use XEXP.
(INTVAL): Use XWINT.
(ADDRESSOF_DECL): Use XTREE.
(SET_ADDRESSOF_DECL): Delete.
(NOTE_DECL_NAME, NOTE_DECL_CODE, NOTE_DECL_RTL,
NOTE_DECL_IDENTIFIER, NOTE_DECL_TYPE): Kill. These have been
ifdefed out since 2.6 at least.
(gen_rtvec_vv): Delete prototype.
* rtl.h (rtvec_alloc): rt->elem is now an array of rtx,
not rtunion.
(copy_most_rtx): Handle 't' format letter.
* emit-rtl.c (gen_rtvec_v): rt_val->elem is an array of rtx.
(gen_rtvec_vv): Delete function. All callers changed to use
gen_rtvec_v instead.
* print-rtl.c (print_rtx): Move special casing of NOTEs to
the '0' format letter.
* function.c (gen_mem_addressof): Don't use
SET_ADDRESSOF_DECL; provide `decl' to gen_rtx_ADDRESSOF
instead.
* integrate.c (copy_rtx_and_substitute): Likewise.
Copy 't' slots with XTREE.
(subst_constants): Treat 't' slots like '[swi]' slots.
* cse.c (canon_hash, exp_equiv_p): Treat 't' slots like '0' slots.
* jump.c (rtx_equal_for_thread_p): Likewise.
* rtlanal.c (rtx_equal_p): Likewise.
* stmt.c (expand_end_case): gen_rtx_ADDR_DIFF_VEC now takes
only four arguments.
* gengenrtl.c (type_from_format): Provide correct types for
'b' and 't' slots.
* tree.h [ENABLE_CHECKING] (TREE_CHECK, TREE_CLASS_CHECK):
If a recent gcc is in use (always in stage2 and beyond), use
statement expressions, so we don't make a function call unless
the check fails. Evaluate arguments exactly once.
(CHAIN_CHECK, DO_CHECK, DO_CHECK1, TREE_CHECK1,
TREE_CLASS_CHECK1, TYPE_CHECK1, DECL_CHECK1, CST_CHECK1):
Delete.
(CST_OR_CONSTRUCTOR_CHECK, EXPR_CHECK): Redefine such that
they evaluate their arguments exactly once, irrespective of
the compiler in use.
* tree.c [ENABLE_CHECKING]: Define whichever set of functions
is used by the currently-enabled check macros. This is:
(tree_check_failed, tree_class_check_failed): For gcc.
(tree_check, tree_class_check, cst_or_constructor_check,
expr_check): For other compilers.
* gencheck.c: Do not define any *_CHECK1 macros.
From-SVN: r28769
Mike Stump [Thu, 19 Aug 1999 21:39:04 +0000 (21:39 +0000)]
c-common.c (c_get_alias_set): Fix support for poitners and references.
* c-common.c (c_get_alias_set): Fix support for poitners and
references.
Co-Authored-By: Mark Mitchell <mark@codesourcery.com>
From-SVN: r28768
Jason Merrill [Thu, 19 Aug 1999 21:19:37 +0000 (21:19 +0000)]
cp-tree.h: Declare flag_use_repository.
* cp-tree.h: Declare flag_use_repository.
* pt.c (do_decl_instantiation): Don't complain about duplicate
instantiation with -frepo.
(do_type_instantiation): Likewise.
* pt.c (push_template_decl_real): Complain about everything
that isn't a valid template.
* decl2.c (import_export_decl): If -fnew-abi, class linkage doesn't
affect inlines.
From-SVN: r28767
Jason Merrill [Thu, 19 Aug 1999 21:18:22 +0000 (17:18 -0400)]
new
From-SVN: r28766
Alexandre Petit-Bianco [Thu, 19 Aug 1999 20:37:04 +0000 (20:37 +0000)]
re GNATS gcj/17 (Internal error: segfault on import-classname clash)
Thu Aug 19 10:26:18 1999 Alexandre Petit-Bianco <apbianco@cygnus.com>
* parse.y (method_header): Return a null pointer if the current
class node is null.
(finish_method_declaration): Return if the current function decl
is null.
(source_start_java_method): Likewise.
(java_method_add_stmt): Likewise.
This fixes the net PR #17.
From-SVN: r28765
Jason Merrill [Thu, 19 Aug 1999 18:45:07 +0000 (14:45 -0400)]
new
From-SVN: r28764
Jason Merrill [Thu, 19 Aug 1999 18:44:59 +0000 (14:44 -0400)]
tweak
From-SVN: r28763
John Wehle [Thu, 19 Aug 1999 15:53:10 +0000 (15:53 +0000)]
alias.c: Include tree.h.
* alias.c: Include tree.h.
(nonlocal_reference_p, mark_constant_function): New functions.
* flow.c (life_analysis): Call mark_constant_function.
* rtl.h (mark_constant_function): Declare it.
From-SVN: r28762
Nick Clifton [Thu, 19 Aug 1999 14:03:05 +0000 (14:03 +0000)]
Fix test for unrecognisable switches.
From-SVN: r28761
Mark Mitchell [Thu, 19 Aug 1999 08:06:17 +0000 (08:06 +0000)]
cp-tree.def (PSEUDO_DTOR_EXPR): New tree code.
* cp-tree.def (PSEUDO_DTOR_EXPR): New tree code.
* decl2.c (build_expr_from_tree): Handle it.
* error.c (dump_expr): Likewise.
* pt.c (for_each_template_parm): Likewise.
(tsubst_copy): Likewise.
* tree.c (search_tree): Likewise.
* semantics.c (finish_pseudo_destructor_call): Create it.
From-SVN: r28760
Jeff Law [Thu, 19 Aug 1999 07:45:08 +0000 (01:45 -0600)]
Daily bump.
From-SVN: r28759
Alexandre Petit-Bianco [Thu, 19 Aug 1999 00:53:20 +0000 (00:53 +0000)]
[multiple changes]
Wed Aug 18 13:17:15 1999 Alexandre Petit-Bianco <apbianco@cygnus.com>
* class.c (emit_register_class): Removed unnecessary call to
start_sequence.
* parse.y (labeled_block_contains_loop_p): Removed unused local
variable.
Tue Aug 17 22:51:44 1999 Alexandre Petit-Bianco <apbianco@cygnus.com>
* parse.y (java_refold): Added prototype.
Tue Aug 17 21:48:41 1999 Alexandre Petit-Bianco <apbianco@cygnus.com>
* parse.y (BINOP_COMPOUND_CANDIDATES): New macro.
(java_stabilize_reference): Removed unnecessary `else'.
(java_complete_lhs): Set flag to remember boolean. Call
java_refold. Added comments.
(java_decl_equiv): New function.
(binop_compound_p): Likewise.
(java_refold): Likewise.
(patch_unaryop): Striped static field access assigned to decl and
op. Changed promotion scheme for ++/-- operators.
(search_loop): New function.
(labeled_block_contains_loop_p): Likewise.
(patch_loop_statement): Call labeled_block_contains_loop_p. Added
comment.
(patch_bc_statement): Call search_loop. Fixed comment.
Mostly bug fixes in some forms of compound expressions and
break/continue target lookup.
From-SVN: r28758
J"orn Rennecke [Wed, 18 Aug 1999 22:35:14 +0000 (22:35 +0000)]
loop.c (recombine_givs): Set ix field after sorting.
* loop.c (recombine_givs): Set ix field after sorting.
(recombine_givs): Remove bogus index / giv lockstep looping.
From-SVN: r28757
Mark Mitchell [Wed, 18 Aug 1999 22:11:10 +0000 (22:11 +0000)]
search.c (setup_class_bindings): Robustify.
* search.c (setup_class_bindings): Robustify.
* typeck.c (common_type): Use same_type_p, not pointer equality,
to compare types.
From-SVN: r28756
Mark Mitchell [Wed, 18 Aug 1999 20:44:14 +0000 (20:44 +0000)]
cp-tree.h (build_lang_field_decl): Remove.
* cp-tree.h (build_lang_field_decl): Remove.
* class.c (build_vtable): Replace calls to build_lang_field_decl
with build_lang_decl.
(prepare_fresh_vtable): Likewise.
(finish_struct_1): Likewise.
(init_class_processing): Likewise.
* decl.c (push_using_decl): Likewise.
(init_decl_processsing): Likewise.
(grokvardecl): Likewise.
(build_ptrmemfunc_type): Likewise.
(grokdeclarator): Likewise.
(build_enumerator): Likewise.
* decl2.c (grok_x_components): Likewise.
(do_class_using_decl): Likewise.
* except.c (call_eh_info): Likewise.
* init.c (init_init_processing): Likewise.
* rtti.c (expand_class_decl): Likewise.
* tree.c (build_base_fields): Likewise.
(build_vbase_pointer_fields): Likewise.
* lex.c (build_lang_decl): Build declarations on the permanent
obstack if we're building statmeent trees.
(retrofit_lang_decl): Handle both the full lang_decl and also the
smaller lang_decl_flags here.
(build_lang_field_decl): Remove.
* pt.c (push_template_decl_real): Issue errors for variable
declarations that are not static members.
From-SVN: r28755
Richard Henderson [Wed, 18 Aug 1999 20:05:08 +0000 (13:05 -0700)]
tree.c (search_tree): Handle TRUTH_{AND,OR,XOR}_EXPR too.
* tree.c (search_tree): Handle TRUTH_{AND,OR,XOR}_EXPR too.
(mapcar): Likewise.
From-SVN: r28754
Tom Tromey [Wed, 18 Aug 1999 19:51:23 +0000 (19:51 +0000)]
ThreadGroup.java: Fixed now-erroneous comment.
* java/lang/ThreadGroup.java: Fixed now-erroneous comment.
* java/lang/natThread.cc (finish_): Call ThreadGroup.remove.
From-SVN: r28753
Bernd Schmidt [Wed, 18 Aug 1999 17:51:27 +0000 (17:51 +0000)]
Combined compare & jump infrastructure
From-SVN: r28752
Bernd Schmidt [Wed, 18 Aug 1999 17:16:40 +0000 (17:16 +0000)]
Indentation fixes
From-SVN: r28751
Bernd Schmidt [Wed, 18 Aug 1999 16:46:53 +0000 (16:46 +0000)]
Make insn-recog.c include function.h
From-SVN: r28750
Tom Tromey [Wed, 18 Aug 1999 16:34:28 +0000 (16:34 +0000)]
* include/javaprims.h ("Java"): Regenerated namespace decls.
From-SVN: r28749
Kresten Krab Thorup [Wed, 18 Aug 1999 14:16:42 +0000 (14:16 +0000)]
natClassLoader.cc (_Jv_PrepareCompiledClass): Renamed from _Jv_InternClassStrings.
* java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): Renamed
from _Jv_InternClassStrings.
* prims.cc (_Jv_RunMain): New function.
(JvRunMain): Remove gij-support.
* gij.cc (main): Use _Jv_RunMain.
* java/util/zip/ZipFile.java: Call readDirectory in constructor.
* interpret.cc (PUSHA, PUSHI, PUSHF, PUSHL, PUSHD): Don't store
argument in temp variable.
(continue1): For all op_x2y insns, use temp variable for
intermediate value. Also remove some comments.
* java/lang/natClass.cc (newInstance): Call _Jv_InitClass.
(forName): Don't call _Jv_InitClass.
* java/lang/Class.java (getResource,getResourceAsStream): Implement.
* java/util/zip/ZipEntry.java (ZipEntry(ZipEntry)): New construcor.
* java/util/jar/JarInputStream.java: New file.
* java/util/jar/JarEntry.java: New file.
* java/util/jar/JarFile.java: New file.
* java/net/URLClassLoader.java: New file.
* java/net/JarURLConnection.java: New file.
* gnu/gcj/protocol/jar/Handler.java: New file.
* gnu/gcj/protocol/jar/Connection.java: New file.
* java/security/SecureClassLoader.java: New file.
* java/lang/ClassLoader.java (parent): New variable.
(ClassLoader (ClassLoader)): new constructor.
(findClass): New method.
(loadClass): Add default 1.2 implementation.
(getSystemResourceAsBytes, getResourceAsBytes): Removed.
(readfully): Removed.
* gnu/gcj/runtime/VMClassLoader.java: Moved from java/lang.
(findSystemClass): New method.
(VMClassLoader): Constructor rewritten.
(init): New method.
All other methods removed.
* java/lang/natClassLoader.cc: Change use of java::lang::VMClassLoader
to gnu::gcj::runtime::VMClassLoader.
(_Jv_InternClassStrings): Use _Jv_ResolvePoolEntry. Also handle
class entries.
(VMClassLoader::findSystemClass): renamed from findBootClass.
* Makefile.am: Add new files.
(FirstThread.h, ThreadGroup.h): Add _Jv_Main friend.
* Makefile.in: Rebuilt.
From-SVN: r28748
Geoff Keating [Wed, 18 Aug 1999 10:43:26 +0000 (10:43 +0000)]
cse.c (cse_insn): Call never_reached_warning when a jump is changed to be unconditional.
* cse.c (cse_insn): Call never_reached_warning when a jump is
changed to be unconditional.
* flags.h: Declare warn_notreached.
* flow.c (delete_block): Call never_reached_warning when
a block is deleted.
* jump.c (delete_barrier_successors): Call never_reached_warning
when we delete everything after a BARRIER.
(never_reached_warning): New function.
* rtl.h: Declare never_reached_warning.
* toplev.c (warn_notreached): New variable.
(lang_independent_options): Set warn_notreached
when -Wunreachable-code.
(compile_file): We need line numbers for -Wunreachable-code.
Also modify documentation to suit.
From-SVN: r28747
Jeff Law [Wed, 18 Aug 1999 07:45:10 +0000 (01:45 -0600)]
Daily bump.
From-SVN: r28745
Jan Hubicka [Wed, 18 Aug 1999 05:06:43 +0000 (07:06 +0200)]
Jan Hubicka <hubicka@freesoft.cz>
* haifa-sched.c (insn_unit): Fix typo on out of range test.
* sched.c (insn_unit): Likewise.
From-SVN: r28744
Andreas Schwab [Wed, 18 Aug 1999 04:57:50 +0000 (04:57 +0000)]
* combine.c (distribute_notes): Handle REG_EH_RETHROW.
From-SVN: r28743
Tom Tromey [Wed, 18 Aug 1999 03:48:37 +0000 (03:48 +0000)]
natThread.cc (sleep): Turn 0 millis and 0 nanos into 1 nano.
* java/lang/natThread.cc (sleep): Turn 0 millis and 0 nanos into 1
nano.
* include/quick-threads.h (_Jv_CondWait): Don't round to 0
inappropriately.
From-SVN: r28742
Mark Mitchell [Tue, 17 Aug 1999 23:07:54 +0000 (23:07 +0000)]
cp-tree.h (back_end_hook): New variable.
* cp-tree.h (back_end_hook): New variable.
* decl2.c (back_end_hook): Define it.
(finish_file): If it's non-NULL, call it.
From-SVN: r28741
Rainer Orth [Tue, 17 Aug 1999 22:46:02 +0000 (22:46 +0000)]
gc_priv.h: Merged IRIX thread changes from include/private/gc_priv.h.
Tue Aug 10 00:08:29 1999 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
* gc_priv.h: Merged IRIX thread changes from
include/private/gc_priv.h.
From-SVN: r28740
Mark Mitchell [Tue, 17 Aug 1999 22:35:19 +0000 (22:35 +0000)]
decl.c (add_decl_to_level): New function.
* decl.c (add_decl_to_level): New function.
(push_local_binding): Use it.
(find_binding): Fix typo in comment.
(pushdecl): Use add_decl_to_level. Put templates on the
corresponding namespace-scope binding levels.
* dump.c (dequeue_and_dump): Print the specializations of a
template.
* pt.c (push_template_decl_real): Don't push a template multiple
times.
From-SVN: r28738
Tom Tromey [Tue, 17 Aug 1999 22:05:56 +0000 (22:05 +0000)]
From Bryce McKinlay:
* libjava.lang/Array_2.java: New file.
* libjava.lang/Array_2.out: New file.
From-SVN: r28737
Andrew MacLeod [Tue, 17 Aug 1999 21:44:26 +0000 (21:44 +0000)]
flow.c (create_edge_list): Use xmalloc, not malloc.
Tue Aug 17 17:39:43 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
* flow.c (create_edge_list): Use xmalloc, not malloc.
From-SVN: r28736
Loren J. Rittle [Tue, 17 Aug 1999 18:32:32 +0000 (18:32 +0000)]
Do not trash single-line C-style comments
From-SVN: r28735
Jeff Law [Tue, 17 Aug 1999 07:45:09 +0000 (01:45 -0600)]
Daily bump.
From-SVN: r28734
Mark Mitchell [Tue, 17 Aug 1999 07:20:23 +0000 (07:20 +0000)]
cp-tree.h (CALL_DECLARATOR_PARMS): New macro.
* cp-tree.h (CALL_DECLARATOR_PARMS): New macro.
(CALL_DECLARATOR_QUALS): Likewise.
(CALL_DECARATOR_EXCEPTION_SPEC): Likewise.
* decl.c (grokdeclarator): Adjust to use them.
* decl2.c (grokfield): Likewise.
(reparse_absdcl_as_casts): Likewise.
* lex.c (make_call_declarator): Likewise.
(set_quals_and_spec): Likewise.
* pt.c (tsubst): Likewise.
* tree.c (mapcar): Remove special hack to handle third operand of
a CALL_EXPR.
From-SVN: r28733
Andrew MacLeod [Mon, 16 Aug 1999 22:14:51 +0000 (22:14 +0000)]
basic-block.h (struct edge_list): Stucture to maintain a vector of edges.
* basic-block.h (struct edge_list): Stucture to maintain a vector
of edges.
(EDGE_INDEX_NO_EDGE, EDGE_INDEX, INDEX_EDGE_PRED_BB, INDEX_EDGE_SUCC_BB,
INDEX_EDGE, NUM_EDGES): New Macros for accessing edge list.
(create_edge_list, free_edge-List, print_edge_list, verify_edge_list):
New function prototypes.
* flow.c (create_edge_list): Function to create an edge list.
(free_edge_list): Discards memory used by an edge list.
(print_edge_list): Debug output showing an edge list.
(verify_edge_list): Internal consistency check for an edge list.
From-SVN: r28732
Mark Mitchell [Mon, 16 Aug 1999 22:08:42 +0000 (22:08 +0000)]
cp-tree.h (CAN_HAVE_FULL_LANG_DECL_P): New macro.
* cp-tree.h (CAN_HAVE_FULL_LANG_DECL_P): New macro.
* class.c (build_vtable): Use build_lang_field_decl to build the
VAR_DECLs for vtables.
(prepare_fresh_vtable): Likewise.
* decl.c (duplicate_decls): Only copy DECL_SAVED_TREE if
CAN_HAVE_FULL_LANG_DECL_P.
(push_using_decl): Use build_lang_decl to build USING_DECLs.
(grokdeclarator): Use build_lang_decl to build TYPE_DECLs.
* lex.c (retrofit_lang_decl): Check CAN_HAVE_FULL_LANG_DECL_P.
(build_lang_field_decl): Likewise.
(copy_lang_decl): Use CAN_HAVE_FULLLANG_DECL_P to decide how much
to copy.
From-SVN: r28731
Gavin Romig-Koch [Mon, 16 Aug 1999 21:43:19 +0000 (21:43 +0000)]
make me the mips maintainer, fix my name
From-SVN: r28730