Richard Henderson [Sat, 30 Oct 1999 06:41:19 +0000 (23:41 -0700)]
* jump.c, reg-stack.c, toplev.c: Revert Oct 27 change.
From-SVN: r30271
Jim Wilson [Sat, 30 Oct 1999 00:18:23 +0000 (00:18 +0000)]
Fix mn10200-elf libio build failure, and minor performance regression.
* stor-layout.c (layout_type): When compute TYPE_SIZE_UNIT from
TYPE_SIZE, convert type of result to sizetype.
From-SVN: r30270
Richard Henderson [Fri, 29 Oct 1999 21:45:05 +0000 (14:45 -0700)]
flow.c (count_or_remove_death_notes): Equate NULL with the universal set.
* flow.c (count_or_remove_death_notes): Equate NULL with the
universal set.
* jump.c, reg-stack.c, toplev.c: Revert Oct 27 change.
* toplev.c (rest_of_compilation): Rebuild CFG immediately before
dbr_schedule.
* i386.c (pic_label_no): Delete.
(ix86_attr_length_default): Don't use single_set to peek
inside a parallel.
* recog.c (peephole2_optimize): Allow recog_next_insn to index
the first insn after bb->end.
* i386.md (push mem peeps): Scratch is live after evaluation
of the memory.
(cmp mem peep): Similarly.
From-SVN: r30269
Alexandre Petit-Bianco [Fri, 29 Oct 1999 21:37:51 +0000 (14:37 -0700)]
class.c (add_method_1): Set DECL_INLINE to 1 for private, static and final method.
Fri Oct 29 14:35:18 1999 Alexandre Petit-Bianco <apbianco@cygnus.com>
* class.c (add_method_1): Set DECL_INLINE to 1 for private, static
and final method.
From-SVN: r30268
Alexandre Petit-Bianco [Fri, 29 Oct 1999 21:32:28 +0000 (21:32 +0000)]
parse.y (expression_statement:): Call function to report improper invocation of a constructor.
Fri Oct 29 14:23:32 1999 Alexandre Petit-Bianco <apbianco@cygnus.com>
* parse.y (expression_statement:): Call function to report
improper invocation of a constructor.
(parse_ctor_invocation_error): New function.
From-SVN: r30267
Catherine Moore [Fri, 29 Oct 1999 18:53:46 +0000 (14:53 -0400)]
*** empty log message ***
From-SVN: r30266
Catherine Moore [Fri, 29 Oct 1999 18:49:29 +0000 (14:49 -0400)]
Fix up last patch.
From-SVN: r30265
Kaveh R. Ghazi [Fri, 29 Oct 1999 17:56:19 +0000 (17:56 +0000)]
alpha-protos.h (literal_section): Add prototype.
* alpha/alpha-protos.h (literal_section): Add prototype.
(alpha_need_linkage, alpha_start_function,alpha_end_function):
Constify a char*.
* alpha/alpha.c (alpha_ra_ever_killed, set_frame_related_p): Add
prototype.
(alpha_start_function, alpha_end_function, float_strings,
alpha_need_linkage): Constify a char*
* alpha/alpha.h (ASM_OUTPUT_ASCII, ASM_OUTPUT_MI_THUNK): Likewise.
* alpha/alpha32.h (ASM_OUTPUT_MI_THUNK): Likewise.
* alpha/elf.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
* alpha/vms.h (ASM_OUTPUT_SECTION_NAME): Likewise.
From-SVN: r30264
Kaveh R. Ghazi [Fri, 29 Oct 1999 17:51:38 +0000 (17:51 +0000)]
flow.c (debug_flow_info): Add prototype.
* flow.c (debug_flow_info): Add prototype.
* gcc.c (main): Likewise.
* gcse.c (expr_reaches_here_p_work, pre_expr_reaches_here_p_work):
Likewise.
* reload1.c (failed_reload, set_reload_reg): Likewise.
* mips-tfile.c (main): Likewise.
(pfatal_with_name, fancy_abort, botch, fatal, catch_signal): Mark
with ATTRIBUTE_NORETURN.
From-SVN: r30262
Andrew Haley [Fri, 29 Oct 1999 17:34:54 +0000 (17:34 +0000)]
i386.h (ENCODE_SECTION_INFO): Don't do anything if DECL is not a memory ref.
Fri Oct 29 18:16:03 1999 Andrew Haley <aph@cygnus.com>
* config/i386/i386.h (ENCODE_SECTION_INFO): Don't do anything if
DECL is not a memory ref.
From-SVN: r30261
Catherine Moore [Fri, 29 Oct 1999 17:11:16 +0000 (13:11 -0400)]
Remove stray comment.
From-SVN: r30260
Catherine Moore [Fri, 29 Oct 1999 16:13:23 +0000 (16:13 +0000)]
i386.h (ix86_cpu): Remove extern attribute.
* config/i386/i386.h (ix86_cpu): Remove extern attribute.
* config/i386/i386.c (ix86_cpu): Add extern attribute.
From-SVN: r30259
Andrew Haley [Fri, 29 Oct 1999 15:36:21 +0000 (15:36 +0000)]
elf.h: remove NAME__MAIN and SYMBOL__MAIN.
Fri Oct 29 16:30:04 1999 Andrew Haley <aph@cygnus.com>
* config/mips/elf.h: remove NAME__MAIN and SYMBOL__MAIN.
* config/mips/elf64.h: ditto.
From-SVN: r30258
Catherine Moore [Fri, 29 Oct 1999 15:23:41 +0000 (15:23 +0000)]
expr.c (emit_push_insn): New argument alignment_pad.
* expr.c (emit_push_insn): New argument alignment_pad.
Update all callers. Adjust stack pointer based on alignment pad.
* function.c (pad_to_arg_alignment): New argument alignment_pad.
Update all callers. Track alignment_pad if boundary > PARM_BOUNDARY.
(locate_and_pad_parm): New argument alignment_pad. Update all
callers.
* expr.h (emit_push_insn): Update prototype.
(locate_and_pad_parm): Update prototype.
* calls.c (arg_data): Add new field alignment_pad.
(initialize_argument_information): Initialize alignment_pad.
From-SVN: r30257
Mark Mitchell [Fri, 29 Oct 1999 09:49:23 +0000 (09:49 +0000)]
except.c (free_eh_nesting_info): Free the info itself.
* except.c (free_eh_nesting_info): Free the info itself.
* function.c (free_after_compilation): Don't free NULL.
* gcse.c (alloc_pre_mem): Free the temp_bitmap, too.
(pre_edge_insert): Free inserted.
* stmt.c (free_stmt_status): Don't free NULL.
From-SVN: r30255
Mark Mitchell [Fri, 29 Oct 1999 09:35:38 +0000 (09:35 +0000)]
cp-tree.h (make_typename_type): Change prototype.
* cp-tree.h (make_typename_type): Change prototype.
* decl.c (make_typename_type): Only complain if so requested.
* parse.y (nested_name_specifier): Adjust calls.
(typename_sub0): Likewise.
(typename_sub1): Likewise.
* parse.c: Regenerated.
* pt.c (convert_template_argument): Pass complain to
make_typename_type.
(tsubst): Likewise.
From-SVN: r30254
Jeff Law [Fri, 29 Oct 1999 07:45:06 +0000 (01:45 -0600)]
Daily bump.
From-SVN: r30253
Zack Weinberg [Fri, 29 Oct 1999 04:31:14 +0000 (04:31 +0000)]
cpplib.h (struct cpp_buffer: fname, [...]): Mark const.
1999-10-28 21:27 -0700 Zack Weinberg <zack@bitmover.com>
* cpplib.h (struct cpp_buffer: fname, nominal_fname,
last_nominal_fname): Mark const.
(struct include_hash: name, nshort, control_macro): Mark
const.
(struct macrodef: symnam): Mark const.
(struct if_stack: fname): Mark const.
(is_idchar, is_idstart, is_hor_space, trigraph_table): Delete.
(IStable): New character-syntax array which encompasses all
the old is_foo arrays.
(is_idchar, is_numchar, is_idstart, is_numstart, is_hspace,
is_space): New macros for interrogating IStable.
(check_macro_name): Kill last argument. All callers changed.
* cppinit.c (initialize_char_syntax): Delete.
(is_idchar, is_idstart, is_hor_space, is_space,
trigraph_table): Delete.
(IStable): New. Initialize with clever macros to avoid
information duplication.
(builtin_array): Table of builtins to get rid of explicit list
in initialize_builtins.
(initialize_builtins): Use builtins_array.
(cpp_start_read): Call init_IStable, and set IStable['$'] if
opts->dollars_in_ident.
* cppexp.c: Change all refs to is_xyz[] arrays to use new
is_xyz() macros.
(cpp_parse_expr): Avoid 'format string is not constant'
warning. Use ISGRAPH to identify printable chars.
* cppfiles.c: Change all refs to is_xyz[] arrays to use new
is_xyz() macros.
(read_and_prescan): Map trigraphs to chars with open-coded
if-else-if-... sequence, not a lookup table.
* cpphash.c: Change all refs to is_xyz[] arrays to use new
is_xyz() macros.
* cpplib.c: Change all refs to is_xyz[] arrays to use new
is_xyz() macros. Kill SKIP_ALL_WHITE_SPACE (unused).
(check_macro_name): Remove ability to report an invalid
assertion name, which is never used.
(do_line): Constify a couple of char *'s.
* cppmain.c (main): Call cpp_cleanup before returning.
From-SVN: r30252
Mark Mitchell [Fri, 29 Oct 1999 04:17:33 +0000 (04:17 +0000)]
ggc.h (struct ggc_statistics): New type.
* ggc.h (struct ggc_statistics): New type.
(ggc_get_size): New function.
(ggc_print_statistics): Likewise.
* ggc-common.c (ggc_stats): New variable.
(ggc_mark_rtx_children): Keep statistics.
(ggc_mark_tree_children): Likewise.
(ggc_print_statistics): New function.
* ggc-page.c (struct globals): Add bytes_mapped field.
(alloc_anon): Update it.
(release_pages): Likewise.
(ggc_get_size): New function.
(ggc_page_print_statistics): New function.
* ggc-simple.c (ggc_get_size): New function.
From-SVN: r30251
Mark Mitchell [Fri, 29 Oct 1999 02:34:31 +0000 (02:34 +0000)]
semantics.c (finish_handler): End the scope of the handler before attaching it to the statement-tree.
* semantics.c (finish_handler): End the scope of the handler
before attaching it to the statement-tree.
From-SVN: r30250
Ian Lance Taylor [Thu, 28 Oct 1999 23:59:08 +0000 (23:59 +0000)]
improve ChangeLog message
From-SVN: r30249
Ian Lance Taylor [Thu, 28 Oct 1999 23:55:28 +0000 (23:55 +0000)]
rtti.c (build_dynamic_cast_1): Give a better error message for an attempt to dynamic_cast a polymorphic type.
* rtti.c (build_dynamic_cast_1): Give a better error message for
an attempt to dynamic_cast a polymorphic type.
From-SVN: r30248
Geoff Keating [Thu, 28 Oct 1999 20:37:37 +0000 (20:37 +0000)]
flow.c (propagate_block): When the last reference to a label before an ADDR_VEC is deleted because the...
* flow.c (propagate_block): When the last reference to a label
before an ADDR_VEC is deleted because the reference is a dead
store, delete the ADDR_VEC.
From-SVN: r30247
Richard Henderson [Thu, 28 Oct 1999 19:30:02 +0000 (12:30 -0700)]
resource.c (find_free_register): Don't use the frame pointer if frame_pointer_needed.
* resource.c (find_free_register): Don't use the frame pointer
if frame_pointer_needed.
From-SVN: r30246
Jim Wilson [Thu, 28 Oct 1999 18:29:10 +0000 (18:29 +0000)]
Fix stdarg bugs with MIPS EABI that caused newlib/libstdc++ build failures.
* config/mips/mips.c (mips_va_arg): Delete gen_jump as emit_jump arg.
(function_arg_pass_by_reference): Check for a NULL pointer in cum.
From-SVN: r30245
Jim Wilson [Thu, 28 Oct 1999 17:14:59 +0000 (17:14 +0000)]
Fix i960 varargs/stdarg build failures.
* config/i960/i960.c (i960_va_start): New locals base, num.
Use INDIRECT_REF instead of ARRAY_REF on valist.
(i960_va_arg): Use INDIRECT_REF instead of ARRAY_REF on valist.
From-SVN: r30244
Mark Mitchell [Thu, 28 Oct 1999 16:42:14 +0000 (16:42 +0000)]
gcse.c (delete_null_pointer_checks): Fix typo in this change: Thu Oct 28 02:15:22 1999 Jeffrey A Law (law@cygnus.com).
* gcse.c (delete_null_pointer_checks): Fix typo in this change:
Thu Oct 28 02:15:22 1999 Jeffrey A Law (law@cygnus.com).
From-SVN: r30243
Peter Gerwinski [Thu, 28 Oct 1999 11:39:31 +0000 (11:39 +0000)]
* tree.def (PLACEHOLDER_EXPR): Update comments.
From-SVN: r30241
Kaveh R. Ghazi [Thu, 28 Oct 1999 10:53:12 +0000 (10:53 +0000)]
c-common.c (check_format_info): Avoid non-literal format string warnings when `first_arg_num' is zero.
* c-common.c (check_format_info): Avoid non-literal format string
warnings when `first_arg_num' is zero.
From-SVN: r30240
Bernd Schmidt [Thu, 28 Oct 1999 10:36:01 +0000 (10:36 +0000)]
Remove prev/next/up pointers in node definitions
From-SVN: r30239
Richard Earnshaw [Thu, 28 Oct 1999 10:29:38 +0000 (10:29 +0000)]
* arm.md (*casesi_insn): Add a clobber of the condition-code register.
From-SVN: r30238
Fred Fish [Thu, 28 Oct 1999 09:34:40 +0000 (09:34 +0000)]
Document that CC1_SPEC is used by cc1plus
From-SVN: r30236
Nick Clifton [Thu, 28 Oct 1999 09:28:04 +0000 (09:28 +0000)]
Allow netbsd target to also set structure size boundary
From-SVN: r30234
David Starner [Thu, 28 Oct 1999 09:13:40 +0000 (09:13 +0000)]
c-pragma.c (push_alignment): Don't check the return value of xmalloc.
* c-pragma.c (push_alignment): Don't check the return value
of xmalloc.
From-SVN: r30233
Matteo Frigo [Thu, 28 Oct 1999 09:10:29 +0000 (09:10 +0000)]
* sparc.h (ADJUST_COST): Fix thinko.
From-SVN: r30232
Jeffrey A Law [Thu, 28 Oct 1999 09:08:43 +0000 (09:08 +0000)]
gcse.c (delete_null_pointer_checks): Only record non-null info for pseudos when examining stores.
* gcse.c (delete_null_pointer_checks): Only record non-null info
for pseudos when examining stores.
From-SVN: r30231
Glen Nakamura [Thu, 28 Oct 1999 08:45:37 +0000 (08:45 +0000)]
cccp.c (rescan): Fixed obp pointer handling around call to check_expand subroutine.
* cccp.c (rescan): Fixed obp pointer handling around call to
check_expand subroutine.
From-SVN: r30230
Nathan Sidwell [Thu, 28 Oct 1999 08:26:42 +0000 (08:26 +0000)]
Makefile.in (SUBDIRS): New macro.
* Makefile.in (SUBDIRS): New macro.
(mostlyclean, clean, distclean, maintainer-clean): Adjust to
avoid multiple subdirectory cleaning.
(*-subdir): Use SUBDIRS.
From-SVN: r30229
Jeffrey A Law [Thu, 28 Oct 1999 08:22:34 +0000 (08:22 +0000)]
arm.md (adddi3, [...]): Add splitters for these patterns.
* arm.md (adddi3, adddi_sesidi_di, adddi_sesidi_di): Add
splitters for these patterns. Use "#" for output templates.
(addsi3_carryin_shift): New pattern.
From-SVN: r30227
Jeff Law [Thu, 28 Oct 1999 07:45:08 +0000 (01:45 -0600)]
Daily bump.
From-SVN: r30226
Mark Mitchell [Thu, 28 Oct 1999 05:10:05 +0000 (05:10 +0000)]
cp-tree.h (make_temp_vec): Remove.
* cp-tree.h (make_temp_vec): Remove.
(make_scratch_vec): Likewise.
* call.c (add_function_candidate): Use make_tree_vec.
(add_conv_candidate): Likewise.
(build_builtin_candidate): Likewise.
(add_template_candidate_real): Likewise.
* class.c (resolve_address_of_overloaded_function): Likewise.
* decl.c (start_function): Don't fool with the momentary obstack.
(finish_function): Likewise.
* init.c (expand_direct_vtbls_init): Likewise.
(begin_init_stmts): Likewise.
(finish_init_stmts): Likewise.
* pt.c (add_to_template_args): Use make_tree_vec.
(check_explicit_specialization): Likewise.
(coerce_template_parms): Likewise.
(lookup_template_class): Don't fool with the momentary obstack.
(instantiate_class_template): Likewise.
(tsubst_template_arg_vector): Use make_tree_vec.
(tsubst_aggr_type): Don't fool with the momentary obstack.
(tsubst_decl): Likewise. Use make_tree_vec.
(try_one_overload): Likewise.
(try_class_unification): Don't fool with the momentary obstack.
(get_bindings_real): Use make_tree_vec.
(set_mangled_name_for_template_decl): Likewise.
* rtti.c (synthesize_tinfo_fn): Don't fool with the momentary obstack.
* semantics.c (finish_expr_stmt): Likewise.
(finish_do_stmt): Likewise.
(finish_for_expr): Likewise.
(finish_switch_cond): Likewise.
(do_pushlevel): Likewise.
(do_poplevel): Likewise.
* tree.c (make_temp_vec): Remove.
From-SVN: r30225
Geoff Keating [Thu, 28 Oct 1999 00:24:32 +0000 (00:24 +0000)]
rs6000.md (movsf): Don't convert a SUBREG of the function return register into a plain REG until...
* config/rs6000/rs6000.md (movsf): Don't convert a SUBREG
of the function return register into a plain REG until
after function inlining is done.
From-SVN: r30224
Richard Henderson [Wed, 27 Oct 1999 22:22:34 +0000 (15:22 -0700)]
jump.c (jump_optimize_1): If we did cross-jumping, and the data will matter, rebuild the CFG.
* jump.c (jump_optimize_1): If we did cross-jumping, and
the data will matter, rebuild the CFG.
* reg-stack.c (reg_to_stack): Only (re)build the CFG if
not optimizing. Don't run shorten_branches.
* toplev.c (rest_of_compilation): Run shorten_branches after
reg_to_stack.
From-SVN: r30223
Jason Eckhardt [Wed, 27 Oct 1999 21:29:24 +0000 (21:29 +0000)]
Add myself to list with write after approval access.
From-SVN: r30222
Mark Mitchell [Wed, 27 Oct 1999 19:27:41 +0000 (19:27 +0000)]
rtl.h (note_stores): Add additional paramter.
* rtl.h (note_stores): Add additional paramter.
* rtlanal.c (reg_set_p_1): Take additional paramter.
(reg_set_last_1): Likewise.
(reg_set_p): Adjust call to note_stores.
(reg_set_last): Likewise.
(note_stores): Pass data parameter to worker function.
* alias.c (record_set): Take additional parameter.
(init_alias_analysis): Pass it.
* caller-save.c (mark_set_regs): Take additional parameter.
(save_call_clobbered_regs): Pass NULL to note_stores.
* combine.c (set_nonzero_bits_and_sign_copies): Take additional
parameter.
(record_dead_and_set_regs_1): Likewise.
(reg_dead_at_p_1): Likewise.
(combine_instructions): Adjust calls to note_stores.
(try_combine): Likewise.
(record_dead_insn): Remove.
(record_dead_and_set_regs): Adjust calls to note_stores.
(reg_dead_at_p): Likewise.
* cse.c (invalidate_skipped_set): Take additional parameter.
(cse_check_loop_start): Likewise.
(cse_check_loop_start_value): Remove.
(cse_set_around_loop): Adjust calls to note_stores.
* flow.c (notice_stack_pointer_modification): Take additional
parameter. Remove duplicate declaration.
(record_volatile_insns): Adjust calls to note_stores.
* gcse.c (record_set_info): Take additional parameter.
(record_last_set_info): Likewise.
(invalidate_nonnull_info): Likewise.
(record_set_insn): Remove.
(compute_sets): Adjust calls to note_stores.
(last_set_insn): Remove.
(compute_hash_table): Adjust calls to note_stores.
(insert_insn_end_bb): Likewise.
(delete_null_pointer_checks): Likewise.
* global.c (mark_reg_store): Take additional parameter.
(mark_reg_clobber): Likewise.
(reg_becomes_live): Likewise.
(global_conflicts): Adjust calls to note_stores.
(build_insn_chain): Likewise.
* integrate.c (note_modified_parmregs): Take additional parameter.
(mark_stores): Likewise. Make it static.
(save_for_inline_nocopy): Adjust calls to note_stores.
(try_constants): Likewise.
* integrate.h (mark_stores): Remove declaration.
* jump.c (mark_modified_reg): Take additional parameter.
(thread_jumps): Adjust calls to note_stores.
* local-alloc.c (validate_equiv_mem_from_store): Take additional
parameter.
(no_equiv): Likewise.
(reg_is_set): Likewise.
(validate_equiv_mem): Adjust calls to note_stores.
(update_equiv_regs): Likewise.
(block_alloc): Likewise.
* loop.c (note_set_pseudo_multiple_uses_retval): Remove.
(note_addr_stored): Take additional parameter.
(note_set_pseudo_multiple_uses): Likewise.
(record_initial): Likewise.
(prescan_loop): Adjust calls to note_stores.
(strength_reduce): Likewise.
(check_dbra_loop): Likewise.
* regmove.c (flags_set_1): Take additional paramter.
(mark_flags_life_zones): Adjust calls to note_stores.
* reload1.c (mark_not_eliminable): Take additional parameter.
(forget_old_reloads_1): Likewise.
(reload_cse_invalidate_rtx): Likewise.
(reload_cse_check_clobber): Likewise.
(reload_combine_note_store): Likewise.
(move2add_note_store): Likewise.
(reload): Adjust calls to note_stores.
(reload_as_needed): Likewise.
(emit_reload_insns): Likewise.
(reload_cse_regs_1): Likewise.
(reload_cse_record_set): Adjust calls to reload_cse_invalidate_rtx.
(reload_combine): Adjust calls to note_stores.
* resource.c (update_live_status): Take additional paramter.
(mark_target_live_regs): Adjust calls to note_stores.
* stupid.c (find_clobbered_regs): Take additional parameter.
(stupid_life_analysis): Adjust calls to note_stores.
From-SVN: r30221
Nick Clifton [Wed, 27 Oct 1999 18:31:35 +0000 (18:31 +0000)]
allow all arm targets to use -mstructure-size-boundary=XX
From-SVN: r30220
Mark Mitchell [Wed, 27 Oct 1999 18:19:17 +0000 (18:19 +0000)]
dump.c (dequeue_and_dump): Dump HANDLERs and SAVE_EXPRs.
* dump.c (dequeue_and_dump): Dump HANDLERs and SAVE_EXPRs. Dump
CLEANUP_P for a TRY_BLOCK.
* ir.texi: Document SAVE_EXPR.
From-SVN: r30218
Mark Mitchell [Wed, 27 Oct 1999 17:34:59 +0000 (17:34 +0000)]
alias.c (init_alias_analysis): Allocate reg_known_value and reg_known_equiv_p on the heap.
* alias.c (init_alias_analysis): Allocate reg_known_value and
reg_known_equiv_p on the heap. Likewise for new_reg_base_value
and reg_seen.
(end_alias_analysis): Free reg_known_value and reg_known_equiv_p.
* cse.c (cse_main): Call end_alias_analysis.
* haifa-sched.c (schedule_insns): Likewise.
* local-alloc. (update_equiv_regs): Likewise.
* reload1.c (reload_cse_regs): Likewise.
From-SVN: r30217
Rainer Orth [Wed, 27 Oct 1999 08:49:39 +0000 (01:49 -0700)]
Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
* sparc/sparc.c (sparc_override_options): Clear MASK_FPU_SET.
* sparc/sparc.h (TARGET_SWITCHES): Add "fpu" entry for reverse
mapping from MASK_FPU.
From-SVN: r30215
Scott Christley [Wed, 27 Oct 1999 08:43:23 +0000 (08:43 +0000)]
Scott Christley <scottc@net-community.com>
* sparc.md (call): Don't bound structure return size to 0xfff.
From-SVN: r30214
Alan Modra [Wed, 27 Oct 1999 08:14:18 +0000 (08:14 +0000)]
Alan Modra <alan@SPRI.Levels.UniSA.Edu.Au>
* Makefile.in (config.status): Fix leading whitespace.
(clean): Remove libchill.a.
From-SVN: r30213
Richard Henderson [Wed, 27 Oct 1999 07:57:32 +0000 (00:57 -0700)]
resource.c (mark_target_live_regs): Check that the target insn wasn't created after compute_bb_for_insn.
* resource.c (mark_target_live_regs): Check that the target
insn wasn't created after compute_bb_for_insn.
From-SVN: r30212
Jeff Law [Wed, 27 Oct 1999 07:45:07 +0000 (01:45 -0600)]
Daily bump.
From-SVN: r30211
Jeffrey A Law [Wed, 27 Oct 1999 06:18:11 +0000 (06:18 +0000)]
alias.c: Update comments for ADDRESS.
* alias.c: Update comments for ADDRESS.
(nonlocal_reference_p): Look inside the ADDRESS to determine if
it is a local memory reference.
From-SVN: r30210
Mark Mitchell [Wed, 27 Oct 1999 06:12:31 +0000 (06:12 +0000)]
* ggc-page.c (poison_pages): Don't be overzealous.
From-SVN: r30209
Jeffrey A Law [Wed, 27 Oct 1999 05:32:43 +0000 (05:32 +0000)]
c-typeck.c (build_function_call): Check that the built-in function is of class BUILT_IN_NORMAL before trying to...
* c-typeck.c (build_function_call): Check that the built-in
function is of class BUILT_IN_NORMAL before trying to recongize
it as BUILT_IN_ABS.
* calls.c (calls_function_1): Similarly for BUILT_IN_ALLOCA.
* stmt.c (expand_end_cae): Similarly for BUILT_IN_CLASSIFY_TYPE.
* call.c (build_over_call): Check that the built-in function is
of class BUILT_IN_NORMAL before trying to recongize it as BUILT_IN_ABS.
* typeck.c (build_function_call_real): Similarly.
From-SVN: r30208
Robert Lipe [Wed, 27 Oct 1999 05:16:12 +0000 (05:16 +0000)]
gcse.c (expr_reaches_here_p): Use xcalloc and explit free instead of alloca.
* gcse.c (expr_reaches_here_p): Use xcalloc and explit free instead
of alloca.
(pre_gcse): Likewise.
(hoist_expr_reaches_here_p): Likewise.
(hoist_code): Likewise.
(pre_expr_reaches_here_p): Replace alloca with xcalloc. Move core
code to ...
(pre_expr_reaches_here_p_work): ... here.
(expr_reaches_here_p): Replace alloca with xcalloc. Move core
code to ...
(expr_reaches_here_p_work): ... here.
From-SVN: r30207
Richard Henderson [Wed, 27 Oct 1999 03:44:08 +0000 (20:44 -0700)]
resource.c (find_basic_block): Delete.
* resource.c (find_basic_block): Delete.
(mark_target_live_regs, incr_ticks_for_insn): Use BLOCK_NUM instead.
(init_resource_info): Call compute_bb_for_insn.
From-SVN: r30206
Richard Henderson [Wed, 27 Oct 1999 03:26:12 +0000 (20:26 -0700)]
* gcc.c-torture/compile/991026-2.c: New test.
From-SVN: r30205
Richard Henderson [Wed, 27 Oct 1999 03:24:38 +0000 (20:24 -0700)]
toplev.c (rest_of_compilation): Open jump1 dump file before jump and close after, as opposed to just using dump_rtl.
* toplev.c (rest_of_compilation): Open jump1 dump file before
jump and close after, as opposed to just using dump_rtl.
From-SVN: r30204
Richard Henderson [Wed, 27 Oct 1999 03:24:24 +0000 (20:24 -0700)]
flow.c (merge_blocks_move_predecessor_nojumps): Cope with already adjacent blocks, but no fallthru.
* flow.c (merge_blocks_move_predecessor_nojumps): Cope
with already adjacent blocks, but no fallthru.
(merge_blocks_move_successor_nojumps): Simplify.
(debug_flow_info): New.
From-SVN: r30203
J"orn Rennecke [Wed, 27 Oct 1999 02:14:12 +0000 (02:14 +0000)]
reload.h (earlyclobber_operand_p): Declare.
* reload.h (earlyclobber_operand_p): Declare.
* reload.c (earlyclobber_operand_p): Don't declare. No longer static.
* reload1.c (reload_reg_free_for_value_p): RELOAD_OTHER reloads with
an earlyclobbered output conflict with RELOAD_INPUT reloads - handle
case where the RELOAD_OTHER reload is new. Use earlyclobber_operand_p.
From-SVN: r30202
Jan Hubicka [Wed, 27 Oct 1999 01:25:13 +0000 (03:25 +0200)]
Reorg reg-stack to use the standard CFG.
Co-Authored-By: Richard Henderson <rth@cygnus.com>
From-SVN: r30201
Richard Henderson [Tue, 26 Oct 1999 20:31:33 +0000 (13:31 -0700)]
alpha.h (TARGET_MEM_FUNCTIONS): Define here.
* alpha.h (TARGET_MEM_FUNCTIONS): Define here.
* linux.h, netbsd.h, vms.h: Not here.
From-SVN: r30200
Gavin Romig-Koch [Tue, 26 Oct 1999 20:29:35 +0000 (20:29 +0000)]
mips.h (ISA_HAS_64BIT_REGS,ISA_HAS_BRANCHLIKELY, [...]): New.
* config/mips/mips.h (ISA_HAS_64BIT_REGS,ISA_HAS_BRANCHLIKELY,
ISA_HAS_FP4,ISA_HAS_CONDMOVE): New.
(GENERATE_BRANCHLIKELY,HAVE_SQRT_P,
CONDITIONAL_REGISTER_USEAGE): Use them.
* config/mips/mips.c (mips_move_1word,mips_move_2words,
gen_conditional_branch,override_options) : Use them.
* config/mips/mips.md : Use them.
From-SVN: r30199
Richard Henderson [Tue, 26 Oct 1999 20:10:28 +0000 (13:10 -0700)]
* i386.md (zero_extendqihi2): Use SImode register name with andl.
From-SVN: r30198
Richard Henderson [Tue, 26 Oct 1999 19:36:18 +0000 (12:36 -0700)]
integrate.c (function_cannot_inline_p): Don't allow inlining if setjmp is used.
* integrate.c (function_cannot_inline_p): Don't allow inlining
if setjmp is used.
From-SVN: r30197
Kaveh R. Ghazi [Tue, 26 Oct 1999 18:13:38 +0000 (18:13 +0000)]
c-parse.in (cast_expr): Constify.
* c-parse.in (cast_expr): Constify.
* cccp.c (special_symbol): Likewise.
* cse.c (hash_cse_reg_info, cse_reg_info_equal_p): Likewise.
* dwarf2out.c (base_type_die): Likewise.
* global.c (allocno_compare): Likewise.
* local-alloc.c (qty_compare_1, qty_sugg_compare_1): Likewise.
* regclass.c (fix_register): Likewise.
* rtl.h (fix_register): Likewise.
* stupid.c (stupid_reg_compare): Likewise.
* toplev.c (decode_f_option): Likewise.
* tree.c (build_complex_type): Likewise.
From-SVN: r30196
Richard Earnshaw [Tue, 26 Oct 1999 17:44:42 +0000 (17:44 +0000)]
* output.h: Don't unnecessarily conditionalize prototypes on TREE_CODE.
From-SVN: r30195
Bernd Schmidt [Tue, 26 Oct 1999 13:45:31 +0000 (13:45 +0000)]
Small reload cleanups
From-SVN: r30193
Marc Espie [Tue, 26 Oct 1999 08:51:50 +0000 (08:51 +0000)]
Makefile.in (AR_FOR_TARGET, [...]): Fix target name substitution.
* Makefile.in (AR_FOR_TARGET, RANLIB_FOR_TARGET): Fix target name
substitution.
From-SVN: r30190
Mark Mitchell [Tue, 26 Oct 1999 08:34:46 +0000 (08:34 +0000)]
tree.h (BLOCK_TYPE_TAGS): Remove.
* tree.h (BLOCK_TYPE_TAGS): Remove.
(BLOCK_END_NOTE): Likewise.
(BLOCK_LIVE_RANGE_FLAG): Likewise.
(BLOCK_LIVE_RANGE_START): Likewise.
(BLOCK_LIVE_RANGE_END): Likewise.
(tree_block): Remove live_range_flag, live_range_var_flag, and
type_tags. Remove end_note, live_range_start, and live_range_end.
(remember_end_note): Remove prototype.
* tree.c (build_block): Don't set BLOCK_TYPE_TAGS.
* c-decl.c (poplevel): Don't set BLOCK_TYPE_TAGS or call
remember_end_note.
* ggc-common.c (ggc_mark_tree_children): Don't mark
BLOCK_TYPE_TAGS or BLOCK_END_NOTE.
* integrate.c (adjust_copied_decl_tree): Remove.
* print-tree.c (print_node): Don't print BLOCK_TYPE_TAGS.
* stmt.c (last_block_end_note): Remove.
(init_stmt): Don't add a GC root for it.
(expand_fixup): Don't set it.
(remember_end_note): Remove.
(expand_end_bindings): Don't set last_block_end_note.
* ch-tree.h (remember_end_note): Remove prototype.
* decl.c (poplevel): Don't call remember_end_note.
* decl.c (poplevel): Don't set BLOCK_TYPE_TAGS. Don't call
remember_end_note.
* com.c (poplevel): Don't call remember_end_note.
* decl.c (poplevel): Don't set BLOCK_TYPE_TAGS or call
remember_end_note.
From-SVN: r30188
Jeff Law [Tue, 26 Oct 1999 07:45:07 +0000 (01:45 -0600)]
Daily bump.
From-SVN: r30187
Jeff Law [Tue, 26 Oct 1999 06:59:43 +0000 (00:59 -0600)]
Also make sure to define DIR_SEPARATOR if it wasn't previously defined.
From-SVN: r30186
Geoff Keating [Tue, 26 Oct 1999 06:48:38 +0000 (06:48 +0000)]
expmed.c (extract_bit_field): Allow for the case of non-integer objects that are smaller than a word (like...
* expmed.c (extract_bit_field): Allow for the case of non-integer
objects that are smaller than a word (like SFmode on a 64-bit
machine).
From-SVN: r30185
Jeffrey A Law [Tue, 26 Oct 1999 06:47:05 +0000 (06:47 +0000)]
* gcc.c-torture/compile/991026-1.c: New test.
From-SVN: r30184
Bernd Schmidt [Tue, 26 Oct 1999 06:43:36 +0000 (06:43 +0000)]
reload1.c (reload_reg_free_for_value_p): Show RELOAD_FOR_OTHER_ADDRESS reloads can conflict with RELOAD_OTHER reloads.
* reload1.c (reload_reg_free_for_value_p): Show
RELOAD_FOR_OTHER_ADDRESS reloads can conflict with RELOAD_OTHER
reloads.
From-SVN: r30183
Jeffrey A Law [Tue, 26 Oct 1999 06:03:19 +0000 (06:03 +0000)]
collect2.c (IS_DIR_SEPARATOR): Define.
* collect2.c (IS_DIR_SEPARATOR): Define.
(prefix_from_string): Use IS_DIR_SEPARATOR and DIR_SEPARATOR.
From-SVN: r30182
Geoff Keating [Tue, 26 Oct 1999 05:56:15 +0000 (05:56 +0000)]
loop.c (basic_induction_var): A non-integer variable which is being set by a paradoxical subreg is probably...
* loop.c (basic_induction_var): A non-integer variable which is
being set by a paradoxical subreg is probably not a biv.
From-SVN: r30181
Herman A.J. ten Brugge [Tue, 26 Oct 1999 05:54:13 +0000 (07:54 +0200)]
* prefix.c (translate_name) Check for empty prefix string.
From-SVN: r30180
Andreas Schwab [Tue, 26 Oct 1999 05:47:42 +0000 (05:47 +0000)]
* configure: Fix quoting inside arguments of eval.
From-SVN: r30179
Jeffrey A Law [Tue, 26 Oct 1999 05:43:52 +0000 (05:43 +0000)]
som.h (ASM_DECLARE_FUNCTION_NAME): Set PRIV_LEV for static functions too.
* som.h (ASM_DECLARE_FUNCTION_NAME): Set PRIV_LEV for static
functions too.
From-SVN: r30178
Andreas Schwab [Tue, 26 Oct 1999 05:12:14 +0000 (05:12 +0000)]
Makefile.in (CPP_CROSS_NAME): New variable.
* Makefile.in (CPP_CROSS_NAME): New variable.
(install-cpp): Use it instead of CPP_INSTALL_NAME for the cross
xcpp.
(uninstall-cpp): Use CPP_INSTALL_NAME and CPP_CROSS_NAME for the
names of the files to be uninstalled.
From-SVN: r30177
Jeffrey A Law [Tue, 26 Oct 1999 05:05:00 +0000 (05:05 +0000)]
haifa-sched.c (add_dependence): Update the true dependency cache the first time we add a true dependence to the...
* haifa-sched.c (add_dependence): Update the true dependency
cache the first time we add a true dependence to the LOG_LINKS chain.
From-SVN: r30176
Jim Kingdon [Tue, 26 Oct 1999 04:30:08 +0000 (22:30 -0600)]
cplus-dem.c: Move declarations of standard_symbol_characters and hp_symbol_characters inside...
* cplus-dem.c: Move declarations of standard_symbol_characters and
hp_symbol_characters inside #ifdef MAIN to avoid compiler
warnings.
From-SVN: r30175
Jim Kingdon [Tue, 26 Oct 1999 04:27:50 +0000 (22:27 -0600)]
* fold-const.c (fold): Fix comment.
From-SVN: r30174
Kaveh R. Ghazi [Tue, 26 Oct 1999 02:54:22 +0000 (02:54 +0000)]
dbxout.c (lastfile, [...]): Constify a char*.
* dbxout.c (lastfile, cwd, dbxout_type_method_1,
dbxout_symbol_location, dbxout_symbol_name, dbxout_init,
dbxout_start_new_source_file, dbxout_source_file,
dbxout_source_line, dbxout_finish, dbxout_type_fields,
dbxout_type_methods, dbxout_symbol, dbxout_prepare_symbol):
Constify a char*.
(dbxout_types, dbxout_args, dbxout_symbol): Delete prototypes.
(dbxout_symbol): Mark parameter `local' with ATTRIBUTE_UNUSED.
(dbxout_block): Initialize variable `blocknum'.
* dbxout.h (dbxout_init, dbxout_finish,
dbxout_start_new_source_file, dbxout_source_file, dbxout_types,
dbxout_args, dbxout_source_line): Constify a char*.
* dwarfout.c (dwarf_tag_name, dwarf_attr_name,
dwarf_stack_op_name, dwarf_typemod_name, dwarf_fmt_byte_name,
dwarf_fund_type_name, name_attribute, stmt_list_attribute,
low_pc_attribute, high_pc_attribute, body_begin_attribute,
body_end_attribute, comp_dir_attribute, sf_names_attribute,
src_info_attribute, mac_info_attribute, producer_attribute,
lookup_filename, generate_macinfo_entry, fundamental_type_code,
dwarfout_line, dwarfout_start_new_source_file, dwarfout_define,
dwarfout_undef): Constify a char*.
(add_incomplete_type, retry_incomplete_types): Add prototypes.
* dwarfout.h (dwarfout_define, dwarfout_undef,
dwarfout_start_new_source_file, dwarfout_line): Constify a char*.
From-SVN: r30173
Gavin Romig-Koch [Mon, 25 Oct 1999 21:44:39 +0000 (21:44 +0000)]
mips.h (MIPS_ISA_DEFAULT): Insure it's defined.
* config/mips/mips.h (MIPS_ISA_DEFAULT): Insure it's defined.
(MULTILIB_ISA_DEFAULT): New.
(MULTILIB_DEFAULTS): Use it.
* config/mips/mips.c (): Remove the now unnecessary definition
of MIPS_ISA_DEFAULT.
* config/mips/elf64.h (MULTILIB_DEFAULTS): Remove the now
unnecessary definition.
From-SVN: r30171
Richard Earnshaw [Mon, 25 Oct 1999 21:11:18 +0000 (21:11 +0000)]
* arm.md (pic_load_addr): Add constraints to operand 1.
From-SVN: r30170
Jeffrey A Law [Mon, 25 Oct 1999 19:24:40 +0000 (19:24 +0000)]
arm.c (arm_override_options): Correct initialization of arm_fast_multiply...
* arm.c (arm_override_options): Correct initialization of
arm_fast_multiply, arm_arch4, arm_arch5, arm_ld_sched,
arm_is_strong, and arm_is_6_or_7.
From-SVN: r30169
Bruce Korb [Mon, 25 Oct 1999 16:11:12 +0000 (16:11 +0000)]
oops - typo
From-SVN: r30166
Bruce Korb [Mon, 25 Oct 1999 16:05:08 +0000 (16:05 +0000)]
Provide a means for specifying -D options to AutoGen
From-SVN: r30165
Jeff Law [Mon, 25 Oct 1999 07:45:06 +0000 (01:45 -0600)]
Daily bump.
From-SVN: r30163
Jeffrey A Law [Mon, 25 Oct 1999 06:44:04 +0000 (06:44 +0000)]
loop.c (note_set_pseudo_multiple_uses_retval): New variable.
* loop.c (note_set_pseudo_multiple_uses_retval): New variable.
(note_set_pseudo_multiple_uses): New function.
(check_dbra_loop): Use not_set_pseudo_multiple_uses to determine
if a pseudo set in the loop exit is used elsewhere.
From-SVN: r30155
Mark Mitchell [Mon, 25 Oct 1999 06:38:42 +0000 (06:38 +0000)]
decl.c (push_overloaded_decl_1): Use pushdecl.
* decl.c (push_overloaded_decl_1): Use pushdecl.
* decl.c (auto_function): Replace #ifdef'd __inline with just
plain inline.
* lex.c (my_get_run_time): Likeise.
(yyprint): Likewise.
(identifier_type): Likewise.
* method.c (start_squangling): Likewise.
(end_squangling): Likewise.
(icat): Likewise.
(old_backref_index): Likewise.
(flush_repeats): Likewise.
(issue_ktype): Likewise.
* parse.y (empty_parms): Likewise.
* parse.c: Regenerated.
From-SVN: r30154
Mark Mitchell [Mon, 25 Oct 1999 06:30:37 +0000 (06:30 +0000)]
* i386.md (mulsi3): Tweak to work with SCO OSR5 COFF assembler.
From-SVN: r30153
Richard Henderson [Mon, 25 Oct 1999 04:04:49 +0000 (21:04 -0700)]
i386.md (*lea_0): Collapse addsi_0, addsi_lea_[123] into a single load-address pattern.
* i386.md (*lea_0): Collapse addsi_0, addsi_lea_[123] into
a single load-address pattern.
From-SVN: r30152
Mark Mitchell [Mon, 25 Oct 1999 01:34:16 +0000 (01:34 +0000)]
haifa-sched.c (schedule_insns): Don't assign LUIDs differently depending on whether or not line-number notes...
* haifa-sched.c (schedule_insns): Don't assign LUIDs differently
depending on whether or not line-number notes are present.
From-SVN: r30151
Kaveh R. Ghazi [Mon, 25 Oct 1999 00:33:56 +0000 (00:33 +0000)]
cccp.c (progname, [...]): Constify a char*.
* cccp.c (progname, file_buf, default_include, include_file,
macrodef, definition, hashval, wchar_type, user_label_prefix,
directive, out_fname, if_stack, safe_write, index0, get_lintcmd,
expand_to_temp_buffer, is_system_include, base_name,
absolute_filename, read_name_map, open_include_file,
record_control_macro, check_precompiled, check_preconditions,
pcfinclude, pass_thru_directive, create_definition,
check_macro_name, comp_def_part, collect_expansion,
check_assertion, read_token_list, assertion_install,
assertion_lookup, eval_if_expression, conditional_skip,
validate_else, skip_quoted_string, quote_string, macarg1,
error_from_errno, install, lookup, hashf, dump_defn_1,
perror_with_name, pfatal_with_name, main, trigraph_pcp,
check_white_space, rescan, handle_directive, monthnames,
special_symbol, do_include, remap_include_file, write_output,
arglist, do_assert, do_unassert, do_line, do_error, do_once,
do_ident, do_sccs, do_xifdef, skip_if_group,
output_line_directive, macroexpand, macarg, change_newlines,
initialize_builtins, make_definition): Constify a char*.
* pcp.h (stringdef): Likewise.
From-SVN: r30150
Richard Henderson [Sun, 24 Oct 1999 20:31:26 +0000 (13:31 -0700)]
unroll.c (copy_loop_body): Examine SET_DEST of single_set not of pattern.
* unroll.c (copy_loop_body): Examine SET_DEST of single_set
not of pattern.
From-SVN: r30149