Commit Graph

6845 Commits

Author SHA1 Message Date
Richard Kenner b1f99e2f89 (stmp-fixproto): Work around a `make' bug in BSDI 1.1.
From-SVN: r6758
1994-03-12 07:41:55 -05:00
Richard Kenner a558d86409 Added \n to printf to shorten line for VAX-C.
From-SVN: r6757
1994-03-12 07:38:00 -05:00
Richard Kenner fe701b404f (do_include, hack-vms_include_specification): Change handling of
'#include filename' to be compatible with VAX-C.

From-SVN: r6756
1994-03-12 07:37:03 -05:00
Richard Kenner a32b8cbac8 Properly test WORDS_BIG_ENDIAN.
From-SVN: r6755
1994-03-12 07:36:32 -05:00
Richard Kenner d62d64da54 Properly test BYTES_BIG_ENDIAN.
From-SVN: r6754
1994-03-12 07:35:56 -05:00
Richard Kenner 8cd2aff2d1 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
1994-03-12 06:42:18 -05:00
Jim Wilson ef903ecaa9 (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
1994-03-11 11:54:59 -08:00
Jim Wilson 8248e2bc36 (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
1994-03-11 11:53:44 -08:00
Jim Wilson 7c699529a5 (TARGET_DEFAULT): Use parentheses.
From-SVN: r6750
1994-03-11 11:52:53 -08:00
Jim Wilson 4754348d79 (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
1994-03-11 11:51:45 -08:00
Jim Wilson 761a5bcdf4 (libcall_dead_p): Fail not abort for libcall that returns
value via invisible pointer.

From-SVN: r6748
1994-03-11 11:50:38 -08:00
Jim Wilson 7238ce3ab6 (STARTING_FRAME_OFFSET): Depend on LONG_DOUBLE_TYPE_SIZE.
From-SVN: r6747
1994-03-11 11:39:52 -08:00
Richard Kenner 86be1e79df (copy_rtx_if_shared, case LABEL_REF): Can't share.
From-SVN: r6746
1994-03-11 08:29:57 -05:00
Richard Kenner 484c392430 (jump_optimize): Delete REG_LABEL note if label no longer in insn.
From-SVN: r6745
1994-03-11 08:29:36 -05:00
Richard Kenner d18225c493 Use PVPROTO for varargs prototypes.
From-SVN: r6744
1994-03-11 08:01:45 -05:00
Richard Kenner bdea67faf3 (PVPROTO): New macro.
From-SVN: r6743
1994-03-11 07:58:05 -05:00
Richard Kenner 7d49f92a42 (finish_decl): When preserving an initializer, ensure its type is on a
good obstack.

From-SVN: r6742
1994-03-11 07:21:22 -05:00
Richard Kenner 36281332fc (emit_reload_insns): When clearing reg_last_reload_reg, clear all hard
regs in reload_out.

From-SVN: r6741
1994-03-10 15:32:26 -05:00
Richard Kenner eadbc96110 (dup2): Catch dup() failure. Return correct value.
From-SVN: r6740
1994-03-10 15:23:01 -05:00
Richard Kenner 4b19dee8c6 ([__MSDOS__]): Use #ifdef, not #if.
From-SVN: r6739
1994-03-10 15:18:00 -05:00
Richard Kenner 53e52f00a4 (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
1994-03-10 15:02:45 -05:00
Doug Evans cd86f81df5 (extraclean): Remove djefoo cruft.
From-SVN: r6737
1994-03-10 17:44:12 +00:00
Richard Kenner 09b58bbd8b (movqi): Disable special-case of stack push if operand one is an
address register.

From-SVN: r6736
1994-03-09 20:38:31 -05:00
Richard Kenner 281bb5e4ea (target_negative): -0 counts as negative.
From-SVN: r6735
1994-03-09 18:47:18 -05:00
Richard Kenner b9b5c1b376 (fold, case MULT_EXPR): Simplify MULT_EXPR of an EXACT_DIV_EXPR with
the same divisor as our multiplicand.

From-SVN: r6734
1994-03-09 16:50:25 -05:00
Richard Kenner 6946afd3a5 (pointer_int_sum): Multiplication should be done signed.
(pointer_diff): Likewise the division.

From-SVN: r6733
1994-03-09 16:49:14 -05:00
Richard Kenner 7a3b13d103 (rtx_equal_for_tmemref_p): Commutative operations are identical if the
operands match in the opposite order.

From-SVN: r6732
1994-03-09 15:31:49 -05:00
Richard Kenner 413c72c289 (rtx_equal_for_thread_p): Commutative operations are identical if the
operands match in the opposite order.

From-SVN: r6731
1994-03-09 15:31:06 -05:00
Richard Kenner 1a7c818bd6 (simplify_relational_operation): Fix typos; use
ARG_POINTER_REGNUM and FRAME_POINTER_REGNUM in condtionals.

From-SVN: r6730
1994-03-09 12:07:12 -05:00
Richard Kenner 2cca6e3f3d (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
1994-03-08 16:12:01 -05:00
Jim Wilson 2fe204da02 (write_vtable_entries, finish_file): Likewise.
From-SVN: r6728
1994-03-08 12:56:07 -08:00
Jim Wilson 0a3732d1de (finish_function): Likewise.
From-SVN: r6727
1994-03-08 12:54:14 -08:00
Jim Wilson 96bcb120c4 (permanent_allocation): Add prototype.
From-SVN: r6726
1994-03-08 12:53:39 -08:00
Jim Wilson 2b417d3cca (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
1994-03-08 12:53:01 -08:00
Jim Wilson b810045319 (struct function): Add momentary_function_firstobj
field.

From-SVN: r6724
1994-03-08 12:51:59 -08:00
Jim Wilson f030d6e652 (compile_file): Likewise.
From-SVN: r6723
1994-03-08 12:51:13 -08:00
Jim Wilson 3e755d23ce (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
1994-03-08 12:49:11 -08:00
Jim Wilson bb98bc58b6 (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
1994-03-07 17:48:08 -08:00
Jim Wilson 3f40de7333 (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
1994-03-07 17:47:22 -08:00
Jim Wilson 4065d1d2ef (ASM_SPEC, LINK_SPEC): Delete.
From-SVN: r6719
1994-03-07 17:46:59 -08:00
Jim Wilson a274efa37f (LINK_SPEC): Delete.
From-SVN: r6718
1994-03-07 17:46:43 -08:00
Jim Wilson ae6b7a9db0 (LINK_SPEC): Likewise.
(ASM_SPEC): Likewise.
(SIZE_TYPE): Delete.
(MAX_WCHAR_TYPE_SIZE): Define.

From-SVN: r6717
1994-03-07 17:46:14 -08:00
Jim Wilson bc9082a22c (LINK_SPEC): Pass all normal linker options to gld.
(ASM_SPEC): Pass all normal assembler options to gas.

From-SVN: r6716
1994-03-07 17:43:22 -08:00
Jim Wilson 68869126d3 (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
1994-03-07 17:39:43 -08:00
Jim Wilson 22cb6fe8cc Initial revision.
From-SVN: r6714
1994-03-07 17:30:31 -08:00
Jim Wilson 3b780899f9 (expand_call): For pcc_struct_value case, set
MEM_IN_STRUCT_P correctly on target.

From-SVN: r6713
1994-03-07 17:19:20 -08:00
Jim Wilson 813fc11c29 (mostlyclean): Don't explicitly delete ld.
From-SVN: r6712
1994-03-07 17:10:40 -08:00
Jim Wilson 338f21bef3 (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
1994-03-07 17:06:13 -08:00
Richard Kenner d71cf0ca69 (GPLUSPLUS_INCLUDE_DIR): Deleted.
(STARTFILE_SPEC): Remove "-nojump".

From-SVN: r6710
1994-03-07 17:42:29 -05:00
Richard Kenner 08824e9e24 (gxx_prefix): New; default to $(libdir).
(GPLUSPLUS_INCLUDE_DIR): Change to $(gxx_prefix)/g++-include.

From-SVN: r6709
1994-03-07 17:41:38 -05:00