Richard Kenner [Thu, 10 Mar 1994 20:18:00 +0000 (15:18 -0500)]
([__MSDOS__]): Use #ifdef, not #if.
From-SVN: r6739
Richard Kenner [Thu, 10 Mar 1994 20:02:45 +0000 (15:02 -0500)]
(main, finclude, check_precompiled): When safe_read returns a partial buffer, this means EOF has been reached...
(main, finclude, check_precompiled): When safe_read returns a partial
buffer, this means EOF has been reached; don't try to read any more.
From-SVN: r6738
Doug Evans [Thu, 10 Mar 1994 17:44:12 +0000 (17:44 +0000)]
(extraclean): Remove djefoo cruft.
From-SVN: r6737
Richard Kenner [Thu, 10 Mar 1994 01:38:31 +0000 (20:38 -0500)]
(movqi): Disable special-case of stack push if operand one is an
address register.
From-SVN: r6736
Richard Kenner [Wed, 9 Mar 1994 23:47:18 +0000 (18:47 -0500)]
(target_negative): -0 counts as negative.
From-SVN: r6735
Richard Kenner [Wed, 9 Mar 1994 21:50:25 +0000 (16:50 -0500)]
(fold, case MULT_EXPR): Simplify MULT_EXPR of an EXACT_DIV_EXPR with
the same divisor as our multiplicand.
From-SVN: r6734
Richard Kenner [Wed, 9 Mar 1994 21:49:14 +0000 (16:49 -0500)]
(pointer_int_sum): Multiplication should be done signed.
(pointer_diff): Likewise the division.
From-SVN: r6733
Richard Kenner [Wed, 9 Mar 1994 20:31:49 +0000 (15:31 -0500)]
(rtx_equal_for_tmemref_p): Commutative operations are identical if the
operands match in the opposite order.
From-SVN: r6732
Richard Kenner [Wed, 9 Mar 1994 20:31:06 +0000 (15:31 -0500)]
(rtx_equal_for_thread_p): Commutative operations are identical if the
operands match in the opposite order.
From-SVN: r6731
Richard Kenner [Wed, 9 Mar 1994 17:07:12 +0000 (12:07 -0500)]
(simplify_relational_operation): Fix typos; use
ARG_POINTER_REGNUM and FRAME_POINTER_REGNUM in condtionals.
From-SVN: r6730
Richard Kenner [Tue, 8 Mar 1994 21:12:01 +0000 (16:12 -0500)]
(break_out_memory_refs): Don't call mark_reg_pointer here.
(memory_address): Call it here if X changed and is now a REG or REG +
CONST_INT.
From-SVN: r6729
Jim Wilson [Tue, 8 Mar 1994 20:56:07 +0000 (12:56 -0800)]
(write_vtable_entries, finish_file): Likewise.
From-SVN: r6728
Jim Wilson [Tue, 8 Mar 1994 20:54:14 +0000 (12:54 -0800)]
(finish_function): Likewise.
From-SVN: r6727
Jim Wilson [Tue, 8 Mar 1994 20:53:39 +0000 (12:53 -0800)]
(permanent_allocation): Add prototype.
From-SVN: r6726
Jim Wilson [Tue, 8 Mar 1994 20:53:01 +0000 (12:53 -0800)]
(momentary_function_firstobj): New variable.
(init_obstack): Set it.
(save_tree_status): Save it and set it.
(restore_tree_status): Use it and restore it.
(permanent_allocation): New parameter function_end. Clear
momentary_obstack to momentary_function_firstobj if true.
(preserve_initializer): Set base field of every momentary
level on the momentary stack to new momentary_firstobj.
(pop_momentary): Only free back to previous base.
From-SVN: r6725
Jim Wilson [Tue, 8 Mar 1994 20:51:59 +0000 (12:51 -0800)]
(struct function): Add momentary_function_firstobj
field.
From-SVN: r6724
Jim Wilson [Tue, 8 Mar 1994 20:51:13 +0000 (12:51 -0800)]
(compile_file): Likewise.
From-SVN: r6723
Jim Wilson [Tue, 8 Mar 1994 20:49:11 +0000 (12:49 -0800)]
(finish_decl): When saving/discarding initializers,
don't check TREE_PERMANENT and TREE_STATIC.
(finish_decl, finish_function): Pass new argument to
permanent_allocation.
From-SVN: r6722
Jim Wilson [Tue, 8 Mar 1994 01:48:08 +0000 (17:48 -0800)]
(LINK_SPEC): Do not depend on gas.
(LINK_SPEC): Do not depend on gas. Don't interpret -EB
and -EL options, but do pass them.
(ASM_SPEC): Make definition depend on whether or
not the default assembler is gas. Pass all normal assembler
options to gas.
(ASM_FINAL_SPEC): Cross compiling does not presume gas.
From-SVN: r6721
Jim Wilson [Tue, 8 Mar 1994 01:47:22 +0000 (17:47 -0800)]
(LINK_SPEC): Do not depend on gas.
(LINK_SPEC): Do not depend on gas. Don't interpret -EB
and -EL options, but do pass them.
From-SVN: r6720
Jim Wilson [Tue, 8 Mar 1994 01:46:59 +0000 (17:46 -0800)]
(ASM_SPEC, LINK_SPEC): Delete.
From-SVN: r6719
Jim Wilson [Tue, 8 Mar 1994 01:46:43 +0000 (17:46 -0800)]
(LINK_SPEC): Delete.
From-SVN: r6718
Jim Wilson [Tue, 8 Mar 1994 01:46:14 +0000 (17:46 -0800)]
(LINK_SPEC): Likewise.
(ASM_SPEC): Likewise.
(SIZE_TYPE): Delete.
(MAX_WCHAR_TYPE_SIZE): Define.
From-SVN: r6717
Jim Wilson [Tue, 8 Mar 1994 01:43:22 +0000 (17:43 -0800)]
(LINK_SPEC): Pass all normal linker options to gld.
(ASM_SPEC): Pass all normal assembler options to gas.
From-SVN: r6716
Jim Wilson [Tue, 8 Mar 1994 01:39:43 +0000 (17:39 -0800)]
(ASM_SPEC): Make definition depend on whether or not the default assembler is gas.
(ASM_SPEC): Make definition depend on whether or
not the default assembler is gas. Pass all normal assembler
options to gas. Pass -O0 if the assembler is not gas.
From-SVN: r6715
Jim Wilson [Tue, 8 Mar 1994 01:30:31 +0000 (17:30 -0800)]
Initial revision.
From-SVN: r6714
Jim Wilson [Tue, 8 Mar 1994 01:19:20 +0000 (17:19 -0800)]
(expand_call): For pcc_struct_value case, set
MEM_IN_STRUCT_P correctly on target.
From-SVN: r6713
Jim Wilson [Tue, 8 Mar 1994 01:10:40 +0000 (17:10 -0800)]
(mostlyclean): Don't explicitly delete ld.
From-SVN: r6712
Jim Wilson [Tue, 8 Mar 1994 01:06:13 +0000 (17:06 -0800)]
(print_symbol): The index field of a global symbol is the symbol table index of the corresponding local symbol...
(print_symbol): The index field of a global symbol
is the symbol table index of the corresponding local symbol, not
an index into the aux table.
(print_file_desc): Print out size of line number
information rather than repeating line number count.
(print_file_desc): The cbLineOffset field of a PDR
is relative to the cbLineOffset field of the FDR. Also, when
computing line_end of the last PDR, use cbLineOffset, not
ilineBase.
From-SVN: r6711
Richard Kenner [Mon, 7 Mar 1994 22:42:29 +0000 (17:42 -0500)]
(GPLUSPLUS_INCLUDE_DIR): Deleted.
(STARTFILE_SPEC): Remove "-nojump".
From-SVN: r6710
Richard Kenner [Mon, 7 Mar 1994 22:41:38 +0000 (17:41 -0500)]
(gxx_prefix): New; default to $(libdir).
(GPLUSPLUS_INCLUDE_DIR): Change to $(gxx_prefix)/g++-include.
From-SVN: r6709
Richard Kenner [Mon, 7 Mar 1994 18:26:52 +0000 (13:26 -0500)]
(no_record_file): New variable.
(main): Set it for -imacros and -include files.
(do_endif): Don't call record_control_macro for -include or -imacros files or
files included from -imacros.
From-SVN: r6708
Richard Stallman [Mon, 7 Mar 1994 02:49:06 +0000 (02:49 +0000)]
Accept freebsd as OS.
From-SVN: r6707
Richard Kenner [Sun, 6 Mar 1994 22:18:11 +0000 (17:18 -0500)]
Add prototypes for static functions.
(last_{jump,label}_suid): Deleted; all uses deleted.
(reg_crosses_blocks): Likewise.
(stupid_life_analysis): Only allocate MAX_SUID entries of after_insn_hard_regs.
Use GET_RTX_CLASS when possible.
Initialize all of reg_renumber.
Use reg_alternate_class when reg not available in preferred class.
(stupid_find_reg): Delete argument CROSSES_BLOCKS.
From-SVN: r6706
Richard Kenner [Sun, 6 Mar 1994 21:16:08 +0000 (16:16 -0500)]
(stupid_mark_refs): If setting reg_where_dead, set regs_live so we
don't later clobber it.
From-SVN: r6705
Richard Kenner [Sun, 6 Mar 1994 20:17:55 +0000 (15:17 -0500)]
(constrain_operands): Properly handle '#' in constraint.
From-SVN: r6704
Richard Kenner [Sun, 6 Mar 1994 19:39:37 +0000 (14:39 -0500)]
(subst): Split into five functions.
(simplify_{rtx,if_then_else,set,logical}): New functions.
From-SVN: r6703
James Van Artsdalen [Sun, 6 Mar 1994 19:14:32 +0000 (19:14 +0000)]
(find_blocks): Undo previous change to block delineation algorithm.
(reg_to_stack): Make algorithm identical to that in find_blocks.
From-SVN: r6702
Richard Kenner [Sun, 6 Mar 1994 00:39:23 +0000 (19:39 -0500)]
(build_nt, build_parse_node): Remove `register' from decl of CODE.
From-SVN: r6701
Richard Kenner [Sun, 6 Mar 1994 00:38:51 +0000 (19:38 -0500)]
(attr_printf): Remove `register' from decl of FMT.
From-SVN: r6700
Richard Kenner [Sun, 6 Mar 1994 00:18:05 +0000 (19:18 -0500)]
(output_{pro,epi}log): Round var size to quadword boundary.
From-SVN: r6699
Richard Kenner [Sun, 6 Mar 1994 00:17:43 +0000 (19:17 -0500)]
(SECONDARY_MEMORY_NEEDED_MODE): New macro.
From-SVN: r6698
Richard Kenner [Sun, 6 Mar 1994 00:17:12 +0000 (19:17 -0500)]
(get_secondary_mem): Call SECONDARY_MEMORY_NEEDED_MODE if it is
defined.
From-SVN: r6697
Richard Kenner [Sat, 5 Mar 1994 21:27:45 +0000 (16:27 -0500)]
(unaligned_{load,store}hi): Clear low bit of address before using as operand to extwl, mskwl, and inswl.
(unaligned_{load,store}hi): Clear low bit of address before using as operand
to extwl, mskwl, and inswl.
(movhi, reload_inhi, reload_outhi): Pass extra scratch value.
From-SVN: r6696
Richard Kenner [Fri, 4 Mar 1994 22:19:06 +0000 (17:19 -0500)]
(ASM_FINISH_DECLARE_OBJECT): Set size_directive_output to 1.
From-SVN: r6695
Richard Kenner [Fri, 4 Mar 1994 22:16:16 +0000 (17:16 -0500)]
Delete gperf-generated source from here.
From-SVN: r6694
Richard Kenner [Fri, 4 Mar 1994 22:15:44 +0000 (17:15 -0500)]
(c-gperf.h): New rule.
(c-lex.o): Depends on c-gperf.h.
(realclean): Delete c-gperf.h.
(distdir): Build c-gperf.h.
(diff): Omit differences in c-gperf.h.
From-SVN: r6693
Richard Kenner [Fri, 4 Mar 1994 11:35:10 +0000 (06:35 -0500)]
(emit_reload_insns): Don't call gen_input_reload if src and dest are
identical.
From-SVN: r6692
Richard Kenner [Thu, 3 Mar 1994 23:11:36 +0000 (18:11 -0500)]
(mskXl): Add missing NOT in patterns.
From-SVN: r6691
Richard Kenner [Thu, 3 Mar 1994 20:32:44 +0000 (15:32 -0500)]
Remove added realclean rule.
From-SVN: r6690
Doug Evans [Wed, 2 Mar 1994 00:41:51 +0000 (00:41 +0000)]
(all floating point): If -msoft-float, don't allow any
floating point builtin operations.
From-SVN: r6689
Richard Kenner [Wed, 2 Mar 1994 00:36:00 +0000 (19:36 -0500)]
(ASM_OUTPUT_ADDR_DIFF_ELT): Use ASM_OUTPUT_INTERNAL_LABEL instead of
ASM_GENERATE_INTERNAL_LABEL.
From-SVN: r6688
Doug Evans [Wed, 2 Mar 1994 00:30:45 +0000 (00:30 +0000)]
(TARGET_SOFT_FLOAT): Define.
(TARGET_SWITCHES): Add -msoft-float.
From-SVN: r6687
Jim Wilson [Wed, 2 Mar 1994 00:29:08 +0000 (16:29 -0800)]
(JUMP_TABLES_IN_TEXT_SECTION): Add.
From-SVN: r6686
Jim Wilson [Wed, 2 Mar 1994 00:28:41 +0000 (16:28 -0800)]
(JUMP_TABLES_IN_TEXT_SECTION): Delete.
From-SVN: r6685
Jim Wilson [Wed, 2 Mar 1994 00:26:06 +0000 (16:26 -0800)]
(build_binary_op): Pass TREE_TYPE (orig_op0) not
orig_op0 to TREE_UNSIGNED.
From-SVN: r6684
Richard Kenner [Tue, 1 Mar 1994 23:33:22 +0000 (18:33 -0500)]
(output_constant): Strip off some NOP_EXPRs before further processing.
From-SVN: r6683
Stan Cox [Tue, 1 Mar 1994 17:08:55 +0000 (17:08 +0000)]
(GO_IF_LEGITIMATE_ADDRESS) Reject invalid PIC addresses.
From-SVN: r6682
Stan Cox [Tue, 1 Mar 1994 17:08:21 +0000 (17:08 +0000)]
(legitimize_address, print_operand): Make -fPIC work
From-SVN: r6681
Stan Cox [Tue, 1 Mar 1994 17:07:57 +0000 (17:07 +0000)]
Two new patterns, to match (HIGH (UNSPEC (..)))
From-SVN: r6680
Doug Evans [Tue, 1 Mar 1994 15:59:45 +0000 (15:59 +0000)]
Move comment to proper place.
From-SVN: r6679
Doug Evans [Mon, 28 Feb 1994 23:31:01 +0000 (23:31 +0000)]
(convert_move): Change name of truncsipsi to truncsipsi2
to conform to existing convention, same with extendpsisi.
From-SVN: r6678
Doug Evans [Mon, 28 Feb 1994 23:22:31 +0000 (23:22 +0000)]
(ASM_OUTPUT_ASCII): Fix typo.
From-SVN: r6677
Richard Kenner [Mon, 28 Feb 1994 13:43:23 +0000 (08:43 -0500)]
(eliminate_regs, case MULT): New case, to apply distributive law, when
needed.
From-SVN: r6676
Richard Kenner [Mon, 28 Feb 1994 13:11:38 +0000 (08:11 -0500)]
(check_precompiled): Delete unused var dollar_loc.
(pcstring_used): Delete unused var TMP.
(write_output): Delete unused var WRITTEN.
(assertion_lookup): Delete unused var BP.
(pedwarn_with_file_and_line): Delete unused var I.
From-SVN: r6675
Richard Kenner [Mon, 28 Feb 1994 12:37:26 +0000 (07:37 -0500)]
(variable_size): If global_bindings_p < 0, don't even make the
SAVE_EXPR.
From-SVN: r6674
Richard Kenner [Mon, 28 Feb 1994 12:12:17 +0000 (07:12 -0500)]
(READONLY_DATA_SECTION, LEGITIMATE_PIC_OPERAND_P): Defined.
(FUNCTION_PROLOGUE): Emit PIC prologue.
From-SVN: r6673
Richard Kenner [Mon, 28 Feb 1994 12:11:31 +0000 (07:11 -0500)]
(call): Change HPUX_ASM case.
From-SVN: r6672
Richard Kenner [Mon, 28 Feb 1994 11:30:24 +0000 (06:30 -0500)]
(reg_to_stack): Use GET_RTX_CLASS.
Clear LABEL_REFs here.
(find_blocks): Make algorithm identical to that inreg_to_stack.
Use GET_RTX_CLASS.
Don't clear LABEL_REFs here.
Build a list of labels referenced by other than jumps.
If computed jump, mark using that list and forced_labels.
(uses_reg_or_mem): New function, copied from flow.c.
From-SVN: r6671
Richard Kenner [Mon, 28 Feb 1994 11:21:06 +0000 (06:21 -0500)]
(expand_binop): Use expand_divmod to do integer division for DIV of
MODE_COMPLEX_INT operands.
From-SVN: r6670
Richard Kenner [Mon, 28 Feb 1994 01:24:17 +0000 (20:24 -0500)]
(process_aux_info_file): Properly start over on file error.
From-SVN: r6669
Jim Wilson [Mon, 28 Feb 1994 00:55:33 +0000 (16:55 -0800)]
(store_split_bit_field): If OP0 is a SUBREG, then compute WORD from the base register, instead of from the SUBREG.
(store_split_bit_field): If OP0 is a SUBREG, then
compute WORD from the base register, instead of from the SUBREG.
(extract_split_bit_field): Likewise.
(extract_bit_field): Sign-extend multiword bitfield if necessary.
From-SVN: r6668
Jim Wilson [Mon, 28 Feb 1994 00:52:03 +0000 (16:52 -0800)]
(subreg_realpart_p): New function.
From-SVN: r6667
Jim Wilson [Mon, 28 Feb 1994 00:51:33 +0000 (16:51 -0800)]
((subreg_realpart_p): New function.
(copy_rtx_and_substitute): Use subreg_realpart_p
instead of subreg_lowpart_p for CONCAT.
From-SVN: r6666
Jim Wilson [Mon, 28 Feb 1994 00:47:28 +0000 (16:47 -0800)]
(HANDLE_PRAGMA_WEAK): Depend on ASM_OUTPUT_DEF not
SET_ASM_OP when defining it.
From-SVN: r6665
Jim Wilson [Mon, 28 Feb 1994 00:45:49 +0000 (16:45 -0800)]
(ASM_OUTPUT_DEF): Delete definition.
From-SVN: r6664
Jim Wilson [Mon, 28 Feb 1994 00:45:17 +0000 (16:45 -0800)]
(ASM_OUTPUT_DEF): Add it here.
From-SVN: r6663
Jim Wilson [Mon, 28 Feb 1994 00:44:31 +0000 (16:44 -0800)]
(handle_pragma_weak): Depend on ASM_OUTPUT_DEF not SET_ASM_OP when defining it.
(handle_pragma_weak): Depend on ASM_OUTPUT_DEF not
SET_ASM_OP when defining it. Use ASM_OUTPUT_DEF to output value
instead of SET_ASM_OP and explicit ASM_OUTPUT_LABELREF calls.
From-SVN: r6662
Richard Kenner [Sun, 27 Feb 1994 23:36:32 +0000 (18:36 -0500)]
(expand_inline_function): Allow extra arguments and force their
evaluation for side-effects.
From-SVN: r6661
Jim Wilson [Sun, 27 Feb 1994 23:19:49 +0000 (15:19 -0800)]
(expand_call): Set nregs to -1 for BLKmode parameter,
then before move_block_to_reg call set it to the type size.
From-SVN: r6660
Jim Wilson [Sun, 27 Feb 1994 23:16:22 +0000 (15:16 -0800)]
(try_merge_delay_insns): Success when SLOT_NUMBER ==
NUM_SLOTS not when NEXT_TO_MATCH == 0.
From-SVN: r6659
Jim Wilson [Sun, 27 Feb 1994 22:46:49 +0000 (14:46 -0800)]
(store_fixed_bit_field): Adjust BITPOS so that it
fits inside MODE before adjusting OFFSET to get an aligned address.
From-SVN: r6658
Jim Wilson [Sun, 27 Feb 1994 22:44:49 +0000 (14:44 -0800)]
(store_fixed_bit_field): Move float mode to integral
mode conversion from near end of function to top of function.
From-SVN: r6657
Jim Wilson [Sun, 27 Feb 1994 22:41:53 +0000 (14:41 -0800)]
(process_init_element): Check for constructor_type
set before dereferencing it in the string cst code.
From-SVN: r6656
Richard Kenner [Sun, 27 Feb 1994 22:27:53 +0000 (17:27 -0500)]
(TARGET_DEFAULT): Default to 68020-40.
(ASM_SPEC): New macro.
(FUNCTION_VALUE, FUNCTION_VALUE_REGNO_P): Return pointer in a0.
(*_LIBCALL): Use functions from sysV68's library.
(INIT_CUMULATIVE_ARGS, FUNCTION_ARG*): Some libcalls pass parameters in
registers.
From-SVN: r6655
Richard Kenner [Sun, 27 Feb 1994 20:20:28 +0000 (15:20 -0500)]
(declare_hidden_char_array): Build new type if warn_larger_than.
From-SVN: r6654
Richard Kenner [Sun, 27 Feb 1994 20:19:57 +0000 (15:19 -0500)]
(finish_decl, finish_function): Issue warning for large objects, if
requested.
From-SVN: r6653
Richard Kenner [Sun, 27 Feb 1994 20:19:23 +0000 (15:19 -0500)]
(id_clash_len): Now unsigned.
(warn_larger_than, larger_than_size): New variables.
(main): Support -Wlarger-than-NN.
From-SVN: r6652
Richard Kenner [Sun, 27 Feb 1994 20:18:57 +0000 (15:18 -0500)]
(id_clash_len): Now unsigned.
(warn_larger_than, larger_than_size): New variables.
From-SVN: r6651
Richard Kenner [Sun, 27 Feb 1994 16:30:14 +0000 (11:30 -0500)]
(allocno_compare): Give multi-word regs higher priority, as stated in
the comments.
From-SVN: r6650
Richard Kenner [Sun, 27 Feb 1994 16:29:35 +0000 (11:29 -0500)]
(qty_compare{,_1}): Give multi-word regs higher priority, as stated in
the comments.
From-SVN: r6649
Richard Kenner [Sun, 27 Feb 1994 15:50:41 +0000 (10:50 -0500)]
(make_decl_rtl): Initialize NAME and abort if not reset.
From-SVN: r6648
Richard Kenner [Sun, 27 Feb 1994 15:50:11 +0000 (10:50 -0500)]
(make_node, stabilize_reference_1): Abort if unknown class.
From-SVN: r6647
Richard Kenner [Sun, 27 Feb 1994 15:49:44 +0000 (10:49 -0500)]
(expand_start_bindings): Properly set NOTE if bytecode.
From-SVN: r6646
Richard Kenner [Sun, 27 Feb 1994 15:49:00 +0000 (10:49 -0500)]
(emit_float_lib_cmp): Init LIBFUNC; abort if not reset.
From-SVN: r6645
Richard Kenner [Sun, 27 Feb 1994 15:48:25 +0000 (10:48 -0500)]
(execute): Initialize PROG.
From-SVN: r6644
Richard Kenner [Sun, 27 Feb 1994 15:47:55 +0000 (10:47 -0500)]
(final_scan_insn): Always set OPS and use alloca.
From-SVN: r6643
Richard Kenner [Sun, 27 Feb 1994 15:47:10 +0000 (10:47 -0500)]
(emit_move_insn): Delete unused vars.
(emit_move_insn_1): Don't set SUBMODE unless used.
(expand_builtin, case BUILT_IN_SAVEREGS): Clean up uses of VALREG
and SAVED_VALREG.
From-SVN: r6642
Richard Kenner [Sun, 27 Feb 1994 15:46:21 +0000 (10:46 -0500)]
(main, args case 'D'): Rewrite to avoid uninitialized var.
(main, args case 'A'): Delete unused var P1.
(rescan): Initialize STR.
(do_xifdef, do_endif): Initialize arg to skip_to_end_of_comment.
From-SVN: r6641
Richard Kenner [Sun, 27 Feb 1994 15:45:15 +0000 (10:45 -0500)]
(expand_call): Initialize OLD_PENDING_ADJ.
From-SVN: r6640