Richard Kenner [Mon, 14 Mar 1994 13:13:43 +0000 (08:13 -0500)]
(bc_seg_write): Don't make unaligned reference to seg->data.
From-SVN: r6785
Richard Kenner [Mon, 14 Mar 1994 13:13:14 +0000 (08:13 -0500)]
(output_constant_def): Do hashing and make label even if bytecode.
From-SVN: r6784
Richard Kenner [Mon, 14 Mar 1994 13:12:41 +0000 (08:12 -0500)]
(bc_expand_start_cond): Set exit_label if not EXITFLAG.
(bc_expand_end_bindings): Only define exit_label if set.
Don't pop nesting_stack.
From-SVN: r6783
Richard Kenner [Mon, 14 Mar 1994 13:12:11 +0000 (08:12 -0500)]
(bc_expand_{binary,unary}_operation): Add missing args to call to
expand_expr.
From-SVN: r6782
Richard Kenner [Mon, 14 Mar 1994 13:11:32 +0000 (08:11 -0500)]
(expand_expr): Don't call bc_expand_expr if EXPAND_INITIALIZER.
From-SVN: r6781
Richard Kenner [Mon, 14 Mar 1994 11:18:52 +0000 (06:18 -0500)]
(fold, associate): If -ffast-math, associate FP mults.
(fold, case RDIV_EXPR): Split case; ignore division by 1.
If -ffast-math, convert to multply by reciprocal.
(fold, case *_DIV_EXPR): Simplify A/C1/C2.
From-SVN: r6780
Richard Kenner [Mon, 14 Mar 1994 10:11:28 +0000 (05:11 -0500)]
(fold): Call tree_int_cst_sgn.
(fold, case *_DIV_EXPR): Add missing conversion.
From-SVN: r6779
Richard Kenner [Mon, 14 Mar 1994 10:10:47 +0000 (05:10 -0500)]
(expand_builtin, case BUILT_IN_RETURN_ADDRESS): Call tree_int_cst_sgn.
From-SVN: r6778
Richard Kenner [Mon, 14 Mar 1994 10:09:52 +0000 (05:09 -0500)]
(convert_to_integer): Convert integer_one_node to proper type before
tree_int_cst_lt call.
From-SVN: r6777
Richard Kenner [Mon, 14 Mar 1994 10:09:19 +0000 (05:09 -0500)]
(build_binary_op, pop_init_level, output_pending_init_elements): Call
tree_int_cst_sgn.
From-SVN: r6776
Richard Kenner [Mon, 14 Mar 1994 10:08:06 +0000 (05:08 -0500)]
(finish_{decl,struct,enum}): Call tree_int_cst_sgn.
From-SVN: r6775
Richard Kenner [Mon, 14 Mar 1994 10:07:30 +0000 (05:07 -0500)]
(tree_int_cst_sgn): New function.
From-SVN: r6774
Richard Kenner [Mon, 14 Mar 1994 10:07:09 +0000 (05:07 -0500)]
(tree_int_cst_sgn): New declaration.
From-SVN: r6773
Richard Kenner [Mon, 14 Mar 1994 02:16:59 +0000 (21:16 -0500)]
(TRUTH_*_EXPR): Convert to integer_type_node.
From-SVN: r6772
Richard Kenner [Mon, 14 Mar 1994 02:16:38 +0000 (21:16 -0500)]
(convert_to_integer): When changing type of truthvalue operation,
change types of inputs too.
From-SVN: r6771
Richard Kenner [Sun, 13 Mar 1994 13:34:34 +0000 (08:34 -0500)]
Add OVERFLOW operand to CHECK_FLOAT_VALUE.
From-SVN: r6770
Richard Kenner [Sun, 13 Mar 1994 13:31:27 +0000 (08:31 -0500)]
(constant_expression_warning, overflow_warning): Handle REAL_CST and
COMPLEX_CST.
From-SVN: r6769
Richard Kenner [Sun, 13 Mar 1994 13:30:50 +0000 (08:30 -0500)]
(force_fit_value): Operate on REAL_CST as well.
(real_value_truncate): Don't use its own handler.
(const_binop): Set overflow on FP error and call force_fit_type.
(fold_convert): Likewise.
From-SVN: r6768
Richard Kenner [Sun, 13 Mar 1994 13:30:11 +0000 (08:30 -0500)]
(simplify_binary_operation): Protect real_value_truncate inside
handler.
From-SVN: r6767
Richard Kenner [Sun, 13 Mar 1994 13:29:32 +0000 (08:29 -0500)]
Include setjmp.h.
(build_real_from_int_cst): Propagate overflow flags and establish float
handler.
(build_complex): Propagate overflow flags.
From-SVN: r6766
Richard Kenner [Sun, 13 Mar 1994 13:28:55 +0000 (08:28 -0500)]
Update comments for TREE_OVERFLOW and TREE_CONSTANT_OVERFLOW.
From-SVN: r6765
Richard Kenner [Sun, 13 Mar 1994 11:45:59 +0000 (06:45 -0500)]
(do_spec_1): Don't duplicate a macro starting with '__'.
From-SVN: r6764
Richard Kenner [Sun, 13 Mar 1994 10:54:28 +0000 (05:54 -0500)]
(rtx_equal_for_thread_p): Correct error in previous change; add
missing arg in recursive call.
From-SVN: r6763
Richard Kenner [Sun, 13 Mar 1994 00:41:56 +0000 (19:41 -0500)]
(NO_IMPLICIT_EXTERN_C): Defined.
From-SVN: r6762
Richard Kenner [Sun, 13 Mar 1994 00:41:22 +0000 (19:41 -0500)]
(gxx_include_dir): Replacement for gxx_prefix.
From-SVN: r6761
Richard Kenner [Sat, 12 Mar 1994 21:59:18 +0000 (16:59 -0500)]
Don't define emit_float_lib_cmp now that no longer static.
From-SVN: r6760
Richard Kenner [Sat, 12 Mar 1994 21:58:58 +0000 (16:58 -0500)]
(emit_float_lib_cmp): Add declaration here.
From-SVN: r6759
Richard Kenner [Sat, 12 Mar 1994 12:41:55 +0000 (07:41 -0500)]
(stmp-fixproto): Work around a `make' bug in BSDI 1.1.
From-SVN: r6758
Richard Kenner [Sat, 12 Mar 1994 12:38:00 +0000 (07:38 -0500)]
Added \n to printf to shorten line for VAX-C.
From-SVN: r6757
Richard Kenner [Sat, 12 Mar 1994 12:37:03 +0000 (07:37 -0500)]
(do_include, hack-vms_include_specification): Change handling of
'#include filename' to be compatible with VAX-C.
From-SVN: r6756
Richard Kenner [Sat, 12 Mar 1994 12:36:32 +0000 (07:36 -0500)]
Properly test WORDS_BIG_ENDIAN.
From-SVN: r6755
Richard Kenner [Sat, 12 Mar 1994 12:35:56 +0000 (07:35 -0500)]
Properly test BYTES_BIG_ENDIAN.
From-SVN: r6754
Richard Kenner [Sat, 12 Mar 1994 11:42:18 +0000 (06:42 -0500)]
Add prototypes for static functions.
(jump_optimize, delete_insn): Use GET_RTX_CLASS to test for insns.
(mark_jump_label): Delete dead code.
(delete_computation, redirect_tablejump): No longer static.
From-SVN: r6753
Jim Wilson [Fri, 11 Mar 1994 19:54:59 +0000 (11:54 -0800)]
(sleu+4, sleu+7, extendsftf2, extenddftf2, trunctfsf2,
trunctfdf2, floatsitf2, fix_trunctfsi2, addtf3, subtf3, multf3,
divtf3, sqrttf2): Disable when -msoft-quad-float.
(beq, bne, bgt, blt, bge, ble): When -msoft-quad-float, account
for return value of SPARC ABI routines that differs from libgcc.
From-SVN: r6752
Jim Wilson [Fri, 11 Mar 1994 19:53:44 +0000 (11:53 -0800)]
(TARGET_HARD_QUAD): New macro.
(TARGET_SWITCHES): Add hard-quad-float, soft-quad-float.
(TARGET_DEFAULT): Use parentheses.
({ADDTF3,SUBTF3,MULTF3,DIVTF3,SQRTTF2,FLOATSITF2,FIX_TRUNCTFSI2,
EXTENDSFTF2,TRUNCTFSF2,EXTENDDFTF2,TRUNCTFDF2,EQTF2,NETF2,GTTF2,
GETF2,LTTF2,LETF2}_LIBCALL): New macros.
From-SVN: r6751
Jim Wilson [Fri, 11 Mar 1994 19:52:53 +0000 (11:52 -0800)]
(TARGET_DEFAULT): Use parentheses.
From-SVN: r6750
Jim Wilson [Fri, 11 Mar 1994 19:51:45 +0000 (11:51 -0800)]
(emit_float_lib_cmp): Make non static.
(init_optabs): Use {ADDTF3,SUBTF3,MULTF3,DIVTF3,SQRTTF2,FLOATSITF2,
FIX_TRUNCTFSI2,EXTENDSFTF2,TRUNCTFSF2,EXTENDDFTF2,TRUNCTFDF2,EQTF2,
NETF2,GTTF2,GETF2,LTTF2,LETF2}_LIBCALL macros.
From-SVN: r6749
Jim Wilson [Fri, 11 Mar 1994 19:50:38 +0000 (11:50 -0800)]
(libcall_dead_p): Fail not abort for libcall that returns
value via invisible pointer.
From-SVN: r6748
Jim Wilson [Fri, 11 Mar 1994 19:39:52 +0000 (11:39 -0800)]
(STARTING_FRAME_OFFSET): Depend on LONG_DOUBLE_TYPE_SIZE.
From-SVN: r6747
Richard Kenner [Fri, 11 Mar 1994 13:29:57 +0000 (08:29 -0500)]
(copy_rtx_if_shared, case LABEL_REF): Can't share.
From-SVN: r6746
Richard Kenner [Fri, 11 Mar 1994 13:29:36 +0000 (08:29 -0500)]
(jump_optimize): Delete REG_LABEL note if label no longer in insn.
From-SVN: r6745
Richard Kenner [Fri, 11 Mar 1994 13:01:45 +0000 (08:01 -0500)]
Use PVPROTO for varargs prototypes.
From-SVN: r6744
Richard Kenner [Fri, 11 Mar 1994 12:58:05 +0000 (07:58 -0500)]
(PVPROTO): New macro.
From-SVN: r6743
Richard Kenner [Fri, 11 Mar 1994 12:21:22 +0000 (07:21 -0500)]
(finish_decl): When preserving an initializer, ensure its type is on a
good obstack.
From-SVN: r6742
Richard Kenner [Thu, 10 Mar 1994 20:32:26 +0000 (15:32 -0500)]
(emit_reload_insns): When clearing reg_last_reload_reg, clear all hard
regs in reload_out.
From-SVN: r6741
Richard Kenner [Thu, 10 Mar 1994 20:23:01 +0000 (15:23 -0500)]
(dup2): Catch dup() failure. Return correct value.
From-SVN: r6740
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