Richard Kenner
8e2b13c322
(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
1994-03-14 08:12:41 -05:00
Richard Kenner
542ed971f4
(bc_expand_{binary,unary}_operation): Add missing args to call to
...
expand_expr.
From-SVN: r6782
1994-03-14 08:12:11 -05:00
Richard Kenner
1d556704ce
(expand_expr): Don't call bc_expand_expr if EXPAND_INITIALIZER.
...
From-SVN: r6781
1994-03-14 08:11:32 -05:00
Richard Kenner
e9aaa5a553
(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
1994-03-14 06:18:52 -05:00
Richard Kenner
d0cb4c6591
(fold): Call tree_int_cst_sgn.
...
(fold, case *_DIV_EXPR): Add missing conversion.
From-SVN: r6779
1994-03-14 05:11:28 -05:00
Richard Kenner
153c149bec
(expand_builtin, case BUILT_IN_RETURN_ADDRESS): Call tree_int_cst_sgn.
...
From-SVN: r6778
1994-03-14 05:10:47 -05:00
Richard Kenner
ab29fdfc6f
(convert_to_integer): Convert integer_one_node to proper type before
...
tree_int_cst_lt call.
From-SVN: r6777
1994-03-14 05:09:52 -05:00
Richard Kenner
ff3225e75c
(build_binary_op, pop_init_level, output_pending_init_elements): Call
...
tree_int_cst_sgn.
From-SVN: r6776
1994-03-14 05:09:19 -05:00
Richard Kenner
6aa10371a5
(finish_{decl,struct,enum}): Call tree_int_cst_sgn.
...
From-SVN: r6775
1994-03-14 05:08:06 -05:00
Richard Kenner
6d9cb074bf
(tree_int_cst_sgn): New function.
...
From-SVN: r6774
1994-03-14 05:07:30 -05:00
Richard Kenner
40c9a5496f
(tree_int_cst_sgn): New declaration.
...
From-SVN: r6773
1994-03-14 05:07:09 -05:00
Richard Kenner
18c0f6759f
(TRUTH_*_EXPR): Convert to integer_type_node.
...
From-SVN: r6772
1994-03-13 21:16:59 -05:00
Richard Kenner
c9529354a0
(convert_to_integer): When changing type of truthvalue operation,
...
change types of inputs too.
From-SVN: r6771
1994-03-13 21:16:38 -05:00
Richard Kenner
2e15b172de
Add OVERFLOW operand to CHECK_FLOAT_VALUE.
...
From-SVN: r6770
1994-03-13 08:34:34 -05:00
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