Richard Kenner
c05f751c24
(constant_expression_warning, overflow_warning): Handle REAL_CST and
...
COMPLEX_CST.
From-SVN: r6769
1994-03-13 08:31:27 -05:00
Richard Kenner
649ff3b44f
(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
1994-03-13 08:30:50 -05:00
Richard Kenner
831522a46e
(simplify_binary_operation): Protect real_value_truncate inside
...
handler.
From-SVN: r6767
1994-03-13 08:30:11 -05:00
Richard Kenner
53d74c3c5d
Include setjmp.h.
...
(build_real_from_int_cst): Propagate overflow flags and establish float
handler.
(build_complex): Propagate overflow flags.
From-SVN: r6766
1994-03-13 08:29:32 -05:00
Richard Kenner
ae202b5602
Update comments for TREE_OVERFLOW and TREE_CONSTANT_OVERFLOW.
...
From-SVN: r6765
1994-03-13 08:28:55 -05:00
Richard Kenner
54a88f9251
(do_spec_1): Don't duplicate a macro starting with '__'.
...
From-SVN: r6764
1994-03-13 06:45:59 -05:00
Richard Kenner
c5ea5f3b33
(rtx_equal_for_thread_p): Correct error in previous change; add
...
missing arg in recursive call.
From-SVN: r6763
1994-03-13 05:54:28 -05:00
Richard Kenner
7b70a020c3
(NO_IMPLICIT_EXTERN_C): Defined.
...
From-SVN: r6762
1994-03-12 19:41:56 -05:00
Richard Kenner
89b3e3b406
(gxx_include_dir): Replacement for gxx_prefix.
...
From-SVN: r6761
1994-03-12 19:41:22 -05:00
Richard Kenner
c31049fdc1
Don't define emit_float_lib_cmp now that no longer static.
...
From-SVN: r6760
1994-03-12 16:59:18 -05:00
Richard Kenner
cb2cab79eb
(emit_float_lib_cmp): Add declaration here.
...
From-SVN: r6759
1994-03-12 16:58:58 -05:00
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