OSDN Git Service
law [Wed, 16 Mar 1994 17:06:39 +0000 (17:06 +0000)]
* pa.h (INITIALIZE_TRAMPOLINE): Do not mask off high
bits of address passed to icacheflush.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6801
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Wed, 16 Mar 1994 17:05:24 +0000 (17:05 +0000)]
* pa.h (WCHAR_TYPE): Use "unsigned int" by default.
(WCHAR_TYPE_SIZE): Change appropriately.
* pa-ghiux.h, pa-ghpux.h, pa-gux7.h, pa-hiux.h, pa-hpux.h,
pa-hpux7.h (WCHAR_TYPE): Delete definition.
(WCHAR_TYPE_SIZE): Likewise.
* pa-osf.h (WCHAR_TYPE): Override appropriately for OSF1.
(WCHAR_TYPE_SIZE): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6800
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Wed, 16 Mar 1994 17:03:01 +0000 (17:03 +0000)]
* pa.md (DImode lo_sum): Add earlyclobber for alternative one.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6799
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Wed, 16 Mar 1994 17:01:27 +0000 (17:01 +0000)]
* pa.h (ASM_OUTPUT_ADDR_DIFF_ELT): Rewrite to match
ASM_OUTPUT_ADDR_VEC_ELT which is PIC-safe.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6798
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Wed, 16 Mar 1994 14:07:29 +0000 (14:07 +0000)]
(FUNCTION_PROLOGUE): Load sb through r0 if TARGET_REGPARM is false.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6797
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Wed, 16 Mar 1994 14:07:11 +0000 (14:07 +0000)]
(global_symbolic_reference_mentioned_p): Recurse only
if GET_CODE (op) == CONST.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6796
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Wed, 16 Mar 1994 14:01:34 +0000 (14:01 +0000)]
(gen_lowpart_common, gen_highpart, operand_subword): Test input
against RTX for FP, AP, and SP, not same register number.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6795
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Wed, 16 Mar 1994 13:24:29 +0000 (13:24 +0000)]
(expand_expr): Update comments and fix formatting.
(expand_expr, case VAR_DECL, STRING_CST, CONSTRUCTOR): If flag_force_addr, put
address in register unless REG.
(expand_expr, case CONSTRUCTOR, CONVERT_EXPR): Make TARGET with TMODE, if
specified.
(expand_expr, case IN_EXPR): Clean up. Allow INDEX to be an unsigned type.
Always evaluate SET and INDEX in case of side effects.
(expand_expr, case CONVERT_EXPR): Use convert_modes to handle consts.
(expand_expr, case ABS_EXPR): Simplify processing of COMPLEX.
Compare with zero word-by-word if required.
(expand_expr, case ABS_EXPR, MIN_EXPR, COND_EXPR): Don't use TARGET if
not MODE.
(expand_expr, case TRUTH_*_EXPR): Modes of input and output must agree.
(expand_expr, case CONJ_EXPR): Remove redundant def of MODE.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6794
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Wed, 16 Mar 1994 11:57:14 +0000 (11:57 +0000)]
(layout_record): If the place where we were going to put a field
changed, lay it out again.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6793
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Tue, 15 Mar 1994 12:53:28 +0000 (12:53 +0000)]
(stmp-fixproto): Add missing "-" in front of "if".
(install-headers-tar, gcc.xtar): Use "-" in front of tar options.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6792
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Mon, 14 Mar 1994 22:31:43 +0000 (22:31 +0000)]
(assign_parms, expand_function_start): Properly set MEM_IN_STRUCT_P
for DECL_RTL of function result.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6791
138bc75d-0d04-0410-961f-
82ee72b054a4
ian [Mon, 14 Mar 1994 21:55:07 +0000 (21:55 +0000)]
Insert newlines for sed 'a' and 'i' commands.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6790
138bc75d-0d04-0410-961f-
82ee72b054a4
ian [Mon, 14 Mar 1994 20:47:18 +0000 (20:47 +0000)]
Don't name variables in mmap prototype.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6789
138bc75d-0d04-0410-961f-
82ee72b054a4
dje [Mon, 14 Mar 1994 20:15:59 +0000 (20:15 +0000)]
(*.o): Add explicit dependencies for Sun's VPATH.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6788
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Mon, 14 Mar 1994 13:47:18 +0000 (13:47 +0000)]
(grokdeclarator): Convert to sizetype when manipulating size of array
and use care to avoid mixed-type operations.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6787
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Mon, 14 Mar 1994 13:14:17 +0000 (13:14 +0000)]
(compile_file): Call bc_write_file here and pass asm_out_file, not stdout.
(main): Don't call bc_write_file here.
Fix wording on error if -fbytecode specified on unsupported target.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6786
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Mon, 14 Mar 1994 13:13:43 +0000 (13:13 +0000)]
(bc_seg_write): Don't make unaligned reference to seg->data.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6785
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Mon, 14 Mar 1994 13:13:14 +0000 (13:13 +0000)]
(output_constant_def): Do hashing and make label even if bytecode.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6784
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Mon, 14 Mar 1994 13:12:41 +0000 (13:12 +0000)]
(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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6783
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Mon, 14 Mar 1994 13:12:11 +0000 (13:12 +0000)]
(bc_expand_{binary,unary}_operation): Add missing args to call to
expand_expr.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6782
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Mon, 14 Mar 1994 13:11:32 +0000 (13:11 +0000)]
(expand_expr): Don't call bc_expand_expr if EXPAND_INITIALIZER.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6781
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Mon, 14 Mar 1994 11:18:52 +0000 (11:18 +0000)]
(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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6780
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Mon, 14 Mar 1994 10:11:28 +0000 (10:11 +0000)]
(fold): Call tree_int_cst_sgn.
(fold, case *_DIV_EXPR): Add missing conversion.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6779
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Mon, 14 Mar 1994 10:10:47 +0000 (10:10 +0000)]
(expand_builtin, case BUILT_IN_RETURN_ADDRESS): Call tree_int_cst_sgn.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6778
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Mon, 14 Mar 1994 10:09:52 +0000 (10:09 +0000)]
(convert_to_integer): Convert integer_one_node to proper type before
tree_int_cst_lt call.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6777
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Mon, 14 Mar 1994 10:09:19 +0000 (10:09 +0000)]
(build_binary_op, pop_init_level, output_pending_init_elements): Call
tree_int_cst_sgn.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6776
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Mon, 14 Mar 1994 10:08:06 +0000 (10:08 +0000)]
(finish_{decl,struct,enum}): Call tree_int_cst_sgn.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6775
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Mon, 14 Mar 1994 10:07:30 +0000 (10:07 +0000)]
(tree_int_cst_sgn): New function.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6774
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Mon, 14 Mar 1994 10:07:09 +0000 (10:07 +0000)]
(tree_int_cst_sgn): New declaration.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6773
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Mon, 14 Mar 1994 02:16:59 +0000 (02:16 +0000)]
(TRUTH_*_EXPR): Convert to integer_type_node.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6772
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Mon, 14 Mar 1994 02:16:38 +0000 (02:16 +0000)]
(convert_to_integer): When changing type of truthvalue operation,
change types of inputs too.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6771
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Sun, 13 Mar 1994 13:34:34 +0000 (13:34 +0000)]
Add OVERFLOW operand to CHECK_FLOAT_VALUE.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6770
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Sun, 13 Mar 1994 13:31:27 +0000 (13:31 +0000)]
(constant_expression_warning, overflow_warning): Handle REAL_CST and
COMPLEX_CST.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6769
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Sun, 13 Mar 1994 13:30:50 +0000 (13:30 +0000)]
(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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6768
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Sun, 13 Mar 1994 13:30:11 +0000 (13:30 +0000)]
(simplify_binary_operation): Protect real_value_truncate inside
handler.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6767
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Sun, 13 Mar 1994 13:29:32 +0000 (13:29 +0000)]
Include setjmp.h.
(build_real_from_int_cst): Propagate overflow flags and establish float
handler.
(build_complex): Propagate overflow flags.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6766
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Sun, 13 Mar 1994 13:28:55 +0000 (13:28 +0000)]
Update comments for TREE_OVERFLOW and TREE_CONSTANT_OVERFLOW.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6765
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Sun, 13 Mar 1994 11:45:59 +0000 (11:45 +0000)]
(do_spec_1): Don't duplicate a macro starting with '__'.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6764
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Sun, 13 Mar 1994 10:54:28 +0000 (10:54 +0000)]
(rtx_equal_for_thread_p): Correct error in previous change; add
missing arg in recursive call.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6763
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Sun, 13 Mar 1994 00:41:56 +0000 (00:41 +0000)]
(NO_IMPLICIT_EXTERN_C): Defined.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6762
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Sun, 13 Mar 1994 00:41:22 +0000 (00:41 +0000)]
(gxx_include_dir): Replacement for gxx_prefix.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6761
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Sat, 12 Mar 1994 21:59:18 +0000 (21:59 +0000)]
Don't define emit_float_lib_cmp now that no longer static.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6760
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Sat, 12 Mar 1994 21:58:58 +0000 (21:58 +0000)]
(emit_float_lib_cmp): Add declaration here.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6759
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Sat, 12 Mar 1994 12:41:55 +0000 (12:41 +0000)]
(stmp-fixproto): Work around a `make' bug in BSDI 1.1.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6758
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Sat, 12 Mar 1994 12:38:00 +0000 (12:38 +0000)]
Added \n to printf to shorten line for VAX-C.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6757
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Sat, 12 Mar 1994 12:37:03 +0000 (12:37 +0000)]
(do_include, hack-vms_include_specification): Change handling of
'#include filename' to be compatible with VAX-C.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6756
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Sat, 12 Mar 1994 12:36:32 +0000 (12:36 +0000)]
Properly test WORDS_BIG_ENDIAN.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6755
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Sat, 12 Mar 1994 12:35:56 +0000 (12:35 +0000)]
Properly test BYTES_BIG_ENDIAN.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6754
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Sat, 12 Mar 1994 11:42:18 +0000 (11:42 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6753
138bc75d-0d04-0410-961f-
82ee72b054a4
wilson [Fri, 11 Mar 1994 19:54:59 +0000 (19:54 +0000)]
(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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6752
138bc75d-0d04-0410-961f-
82ee72b054a4
wilson [Fri, 11 Mar 1994 19:53:44 +0000 (19:53 +0000)]
(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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6751
138bc75d-0d04-0410-961f-
82ee72b054a4
wilson [Fri, 11 Mar 1994 19:52:53 +0000 (19:52 +0000)]
(TARGET_DEFAULT): Use parentheses.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6750
138bc75d-0d04-0410-961f-
82ee72b054a4
wilson [Fri, 11 Mar 1994 19:51:45 +0000 (19:51 +0000)]
(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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6749
138bc75d-0d04-0410-961f-
82ee72b054a4
wilson [Fri, 11 Mar 1994 19:50:38 +0000 (19:50 +0000)]
(libcall_dead_p): Fail not abort for libcall that returns
value via invisible pointer.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6748
138bc75d-0d04-0410-961f-
82ee72b054a4
wilson [Fri, 11 Mar 1994 19:39:52 +0000 (19:39 +0000)]
(STARTING_FRAME_OFFSET): Depend on LONG_DOUBLE_TYPE_SIZE.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6747
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Fri, 11 Mar 1994 13:29:57 +0000 (13:29 +0000)]
(copy_rtx_if_shared, case LABEL_REF): Can't share.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6746
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Fri, 11 Mar 1994 13:29:36 +0000 (13:29 +0000)]
(jump_optimize): Delete REG_LABEL note if label no longer in insn.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6745
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Fri, 11 Mar 1994 13:01:45 +0000 (13:01 +0000)]
Use PVPROTO for varargs prototypes.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6744
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Fri, 11 Mar 1994 12:58:05 +0000 (12:58 +0000)]
(PVPROTO): New macro.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6743
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Fri, 11 Mar 1994 12:21:22 +0000 (12:21 +0000)]
(finish_decl): When preserving an initializer, ensure its type is on a
good obstack.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6742
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Thu, 10 Mar 1994 20:32:26 +0000 (20:32 +0000)]
(emit_reload_insns): When clearing reg_last_reload_reg, clear all hard
regs in reload_out.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6741
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Thu, 10 Mar 1994 20:23:01 +0000 (20:23 +0000)]
(dup2): Catch dup() failure. Return correct value.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6740
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Thu, 10 Mar 1994 20:18:00 +0000 (20:18 +0000)]
([__MSDOS__]): Use #ifdef, not #if.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6739
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Thu, 10 Mar 1994 20:02:45 +0000 (20:02 +0000)]
(main, finclude, check_precompiled): When safe_read returns a partial
buffer, this means EOF has been reached; don't try to read any more.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6738
138bc75d-0d04-0410-961f-
82ee72b054a4
dje [Thu, 10 Mar 1994 17:44:12 +0000 (17:44 +0000)]
(extraclean): Remove djefoo cruft.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6737
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Thu, 10 Mar 1994 01:38:31 +0000 (01:38 +0000)]
(movqi): Disable special-case of stack push if operand one is an
address register.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6736
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Wed, 9 Mar 1994 23:47:18 +0000 (23:47 +0000)]
(target_negative): -0 counts as negative.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6735
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Wed, 9 Mar 1994 21:50:25 +0000 (21:50 +0000)]
(fold, case MULT_EXPR): Simplify MULT_EXPR of an EXACT_DIV_EXPR with
the same divisor as our multiplicand.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6734
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Wed, 9 Mar 1994 21:49:14 +0000 (21:49 +0000)]
(pointer_int_sum): Multiplication should be done signed.
(pointer_diff): Likewise the division.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6733
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Wed, 9 Mar 1994 20:31:49 +0000 (20:31 +0000)]
(rtx_equal_for_tmemref_p): Commutative operations are identical if the
operands match in the opposite order.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6732
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Wed, 9 Mar 1994 20:31:06 +0000 (20:31 +0000)]
(rtx_equal_for_thread_p): Commutative operations are identical if the
operands match in the opposite order.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6731
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Wed, 9 Mar 1994 17:07:12 +0000 (17:07 +0000)]
(simplify_relational_operation): Fix typos; use
ARG_POINTER_REGNUM and FRAME_POINTER_REGNUM in condtionals.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6730
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Tue, 8 Mar 1994 21:12:01 +0000 (21:12 +0000)]
(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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6729
138bc75d-0d04-0410-961f-
82ee72b054a4
wilson [Tue, 8 Mar 1994 20:56:07 +0000 (20:56 +0000)]
(write_vtable_entries, finish_file): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6728
138bc75d-0d04-0410-961f-
82ee72b054a4
wilson [Tue, 8 Mar 1994 20:54:14 +0000 (20:54 +0000)]
(finish_function): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6727
138bc75d-0d04-0410-961f-
82ee72b054a4
wilson [Tue, 8 Mar 1994 20:53:39 +0000 (20:53 +0000)]
(permanent_allocation): Add prototype.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6726
138bc75d-0d04-0410-961f-
82ee72b054a4
wilson [Tue, 8 Mar 1994 20:53:01 +0000 (20:53 +0000)]
(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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6725
138bc75d-0d04-0410-961f-
82ee72b054a4
wilson [Tue, 8 Mar 1994 20:51:59 +0000 (20:51 +0000)]
(struct function): Add momentary_function_firstobj
field.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6724
138bc75d-0d04-0410-961f-
82ee72b054a4
wilson [Tue, 8 Mar 1994 20:51:13 +0000 (20:51 +0000)]
(compile_file): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6723
138bc75d-0d04-0410-961f-
82ee72b054a4
wilson [Tue, 8 Mar 1994 20:49:11 +0000 (20:49 +0000)]
(finish_decl): When saving/discarding initializers,
don't check TREE_PERMANENT and TREE_STATIC.
(finish_decl, finish_function): Pass new argument to
permanent_allocation.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6722
138bc75d-0d04-0410-961f-
82ee72b054a4
wilson [Tue, 8 Mar 1994 01:48:08 +0000 (01:48 +0000)]
(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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6721
138bc75d-0d04-0410-961f-
82ee72b054a4
wilson [Tue, 8 Mar 1994 01:47:22 +0000 (01:47 +0000)]
(LINK_SPEC): Do not depend on gas. Don't interpret -EB
and -EL options, but do pass them.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6720
138bc75d-0d04-0410-961f-
82ee72b054a4
wilson [Tue, 8 Mar 1994 01:46:59 +0000 (01:46 +0000)]
(ASM_SPEC, LINK_SPEC): Delete.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6719
138bc75d-0d04-0410-961f-
82ee72b054a4
wilson [Tue, 8 Mar 1994 01:46:43 +0000 (01:46 +0000)]
(LINK_SPEC): Delete.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6718
138bc75d-0d04-0410-961f-
82ee72b054a4
wilson [Tue, 8 Mar 1994 01:46:14 +0000 (01:46 +0000)]
(LINK_SPEC): Likewise.
(ASM_SPEC): Likewise.
(SIZE_TYPE): Delete.
(MAX_WCHAR_TYPE_SIZE): Define.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6717
138bc75d-0d04-0410-961f-
82ee72b054a4
wilson [Tue, 8 Mar 1994 01:43:22 +0000 (01:43 +0000)]
(LINK_SPEC): Pass all normal linker options to gld.
(ASM_SPEC): Pass all normal assembler options to gas.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6716
138bc75d-0d04-0410-961f-
82ee72b054a4
wilson [Tue, 8 Mar 1994 01:39:43 +0000 (01:39 +0000)]
(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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6715
138bc75d-0d04-0410-961f-
82ee72b054a4
wilson [Tue, 8 Mar 1994 01:30:31 +0000 (01:30 +0000)]
Initial revision.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6714
138bc75d-0d04-0410-961f-
82ee72b054a4
wilson [Tue, 8 Mar 1994 01:19:20 +0000 (01:19 +0000)]
(expand_call): For pcc_struct_value case, set
MEM_IN_STRUCT_P correctly on target.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6713
138bc75d-0d04-0410-961f-
82ee72b054a4
wilson [Tue, 8 Mar 1994 01:10:40 +0000 (01:10 +0000)]
(mostlyclean): Don't explicitly delete ld.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6712
138bc75d-0d04-0410-961f-
82ee72b054a4
wilson [Tue, 8 Mar 1994 01:06:13 +0000 (01:06 +0000)]
(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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6711
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Mon, 7 Mar 1994 22:42:29 +0000 (22:42 +0000)]
(GPLUSPLUS_INCLUDE_DIR): Deleted.
(STARTFILE_SPEC): Remove "-nojump".
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6710
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Mon, 7 Mar 1994 22:41:38 +0000 (22:41 +0000)]
(gxx_prefix): New; default to $(libdir).
(GPLUSPLUS_INCLUDE_DIR): Change to $(gxx_prefix)/g++-include.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6709
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Mon, 7 Mar 1994 18:26:52 +0000 (18:26 +0000)]
(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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6708
138bc75d-0d04-0410-961f-
82ee72b054a4
rms [Mon, 7 Mar 1994 02:49:06 +0000 (02:49 +0000)]
Accept freebsd as OS.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6707
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Sun, 6 Mar 1994 22:18:11 +0000 (22:18 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6706
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Sun, 6 Mar 1994 21:16:08 +0000 (21:16 +0000)]
(stupid_mark_refs): If setting reg_where_dead, set regs_live so we
don't later clobber it.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6705
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Sun, 6 Mar 1994 20:17:55 +0000 (20:17 +0000)]
(constrain_operands): Properly handle '#' in constraint.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6704
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Sun, 6 Mar 1994 19:39:37 +0000 (19:39 +0000)]
(subst): Split into five functions.
(simplify_{rtx,if_then_else,set,logical}): New functions.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6703
138bc75d-0d04-0410-961f-
82ee72b054a4
jrv [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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6702
138bc75d-0d04-0410-961f-
82ee72b054a4