Richard Kenner [Sun, 27 Feb 1994 15:48:25 +0000 (10:48 -0500)]
(execute): Initialize PROG.
From-SVN: r6644
Richard Kenner [Sun, 27 Feb 1994 15:47:55 +0000 (10:47 -0500)]
(final_scan_insn): Always set OPS and use alloca.
From-SVN: r6643
Richard Kenner [Sun, 27 Feb 1994 15:47:10 +0000 (10:47 -0500)]
(emit_move_insn): Delete unused vars.
(emit_move_insn_1): Don't set SUBMODE unless used.
(expand_builtin, case BUILT_IN_SAVEREGS): Clean up uses of VALREG
and SAVED_VALREG.
From-SVN: r6642
Richard Kenner [Sun, 27 Feb 1994 15:46:21 +0000 (10:46 -0500)]
(main, args case 'D'): Rewrite to avoid uninitialized var.
(main, args case 'A'): Delete unused var P1.
(rescan): Initialize STR.
(do_xifdef, do_endif): Initialize arg to skip_to_end_of_comment.
From-SVN: r6641
Richard Kenner [Sun, 27 Feb 1994 15:45:15 +0000 (10:45 -0500)]
(expand_call): Initialize OLD_PENDING_ADJ.
From-SVN: r6640
Richard Kenner [Sun, 27 Feb 1994 15:44:32 +0000 (10:44 -0500)]
(type_lists_compatible_p): Initialize NEWVAL.
(pop_init_level): Initialize SIZE.
(output_pending_init_elements): Initialize NEXTPOS_TREE.
From-SVN: r6639
Richard Kenner [Sun, 27 Feb 1994 15:44:00 +0000 (10:44 -0500)]
(readescape): Initialize FIRSTDIG.
From-SVN: r6638
Richard Kenner [Sun, 27 Feb 1994 15:43:17 +0000 (10:43 -0500)]
(store_parm_decls): Initialize some vars.
From-SVN: r6637
Richard Kenner [Sun, 27 Feb 1994 15:42:51 +0000 (10:42 -0500)]
(binary_op_error): Initialize OPNAME.
From-SVN: r6636
Richard Kenner [Sat, 26 Feb 1994 23:01:47 +0000 (18:01 -0500)]
(movsi): If -mno-sum-in-toc, do addition of symbol + const.
From-SVN: r6635
Richard Kenner [Sat, 26 Feb 1994 23:01:08 +0000 (18:01 -0500)]
(MASK_NO_SUM_IN_TOC, TARGET_NO_SUM_IN_TOC): New macros.
(MASK_MINIMAL_TOC): Change bit value.
(TARGET_SWITCHES): Add -mno-sum-in-toc; use -mfull-toc instead of
-mnormal-toc, other minor changes.
From-SVN: r6634
Richard Kenner [Sat, 26 Feb 1994 21:35:38 +0000 (16:35 -0500)]
(rtx_renumbered_equal_p): Fix bug in comparing SUBREGs and REGs.
Two commutative operations are equal if the operands are in the opposite order.
From-SVN: r6633
Richard Kenner [Sat, 26 Feb 1994 21:12:46 +0000 (16:12 -0500)]
(fixup_var_refs_insn): Delete CLOBBER of VAR.
(fixup_var_refs_insn): Delete CLOBBER of VAR. If VAR is being
assigned into by a libcall sequence, remove the libcall notes.
From-SVN: r6632
Richard Kenner [Sat, 26 Feb 1994 21:11:04 +0000 (16:11 -0500)]
(count_reg_usage, case SET): If SRC has side-effects, count a usage of
DEST in it.
From-SVN: r6631
Richard Kenner [Sat, 26 Feb 1994 21:09:05 +0000 (16:09 -0500)]
(store_expr): In promoted TARGET case, if EXP is a volatile MEM and WANT_VALUE is nonzero, only reference the MEM once.
(store_expr): In promoted TARGET case, if EXP is a volatile MEM and
WANT_VALUE is nonzero, only reference the MEM once.
Return TARGET if it is a hard register; clean up return code.
From-SVN: r6630
Doug Evans [Sat, 26 Feb 1994 18:09:13 +0000 (18:09 +0000)]
* mips-tfile.c (fatal, error): Don't use prototypes ifndef HAVE_VPRINTF.
From-SVN: r6629
Doug Evans [Sat, 26 Feb 1994 18:07:52 +0000 (18:07 +0000)]
fixincludes: Fix including of machine/r3_cpu.h and machine/r4_cpu.h in machine/cpu.h on...
* fixincludes: Fix including of machine/r3_cpu.h and machine/r4_cpu.h
in machine/cpu.h on Ultrix 4.3.
From-SVN: r6628
Richard Kenner [Sat, 26 Feb 1994 12:13:48 +0000 (07:13 -0500)]
(substitute_in_type, case REAL_TYPE): Fix typo in previous change.
From-SVN: r6627
Richard Kenner [Fri, 25 Feb 1994 23:32:13 +0000 (18:32 -0500)]
(substitute_in_type, case REAL_TYPE): Allow TYPE_{MIN,MAX}_VALUE to be
unassigned.
From-SVN: r6626
Mike Stump [Fri, 25 Feb 1994 20:56:59 +0000 (20:56 +0000)]
back out of 29th merge
From-SVN: r6625
Richard Kenner [Fri, 25 Feb 1994 14:00:07 +0000 (09:00 -0500)]
(if_then_else_cond): Fix typo in narrowing of a SUBREG.
From-SVN: r6624
Richard Kenner [Fri, 25 Feb 1994 12:34:38 +0000 (07:34 -0500)]
(neg[sd]f2): Use %R1 consistently.
From-SVN: r6623
Richard Kenner [Fri, 25 Feb 1994 12:19:23 +0000 (07:19 -0500)]
(find_reloads): Don't restrict class of multiword operand to preferred class.
(find_reloads_address_1): Rework to use `switch'.
Reload a SUBREG of a hard reg as a unit.
From-SVN: r6622
Richard Kenner [Fri, 25 Feb 1994 11:42:11 +0000 (06:42 -0500)]
(mul*): Disallow multiply by constant.
From-SVN: r6621
Ian Lance Taylor [Fri, 25 Feb 1994 02:20:56 +0000 (02:20 +0000)]
In <prototypes.h>, fix prototypes of getcwd and link.
From-SVN: r6620
Richard Stallman [Thu, 24 Feb 1994 18:06:41 +0000 (18:06 +0000)]
Don't force os=-hpux for hp9k2... and hp9k3...
From-SVN: r6619
Richard Kenner [Thu, 24 Feb 1994 13:54:21 +0000 (08:54 -0500)]
(LIB_SPEC, LINK_SPEC): Add missing blanks.
From-SVN: r6618
Richard Kenner [Thu, 24 Feb 1994 13:42:01 +0000 (08:42 -0500)]
(HANDLE_SYSV_PRAGMA): Define.
From-SVN: r6617
Richard Kenner [Thu, 24 Feb 1994 12:46:32 +0000 (07:46 -0500)]
(maybe_eliminate_biv_1): Ignore GIV if it isn't always computed.
From-SVN: r6616
Richard Kenner [Thu, 24 Feb 1994 12:31:30 +0000 (07:31 -0500)]
(scan_loop, strength_reduce): Go back to LOOP_TOP, not its NEXT_INSN
(in case SCAN_START == LOOP_TOP).
From-SVN: r6615
Mike Stump [Thu, 24 Feb 1994 01:05:58 +0000 (01:05 +0000)]
29th Cygnus<->FSF merge. Includes cp-* --> cp/* relocation.
From-SVN: r6614
Mike Stump [Thu, 24 Feb 1994 01:02:37 +0000 (01:02 +0000)]
Initial revision
From-SVN: r6613
Richard Kenner [Wed, 23 Feb 1994 13:13:48 +0000 (08:13 -0500)]
(choose_reload_regs): If EQUIV is a SUBREG, make a new REG.
From-SVN: r6612
Richard Kenner [Wed, 23 Feb 1994 12:30:04 +0000 (07:30 -0500)]
(expand_call): Functions may be const or volatile from their type.
From-SVN: r6611
Richard Kenner [Wed, 23 Feb 1994 12:29:42 +0000 (07:29 -0500)]
(decl_attributes): Warn if attribute will be ignored.
Allow `noreturn', `volatile', and `const' on object of type pointer to
function.
Always give decl with error or warning.
From-SVN: r6610
Ian Lance Taylor [Tue, 22 Feb 1994 16:03:44 +0000 (16:03 +0000)]
Put double underscores around M32, m88k, pdp11, tower[_0-9]*, u370, u3b[0-9]*
From-SVN: r6609
Ian Lance Taylor [Tue, 22 Feb 1994 16:01:26 +0000 (16:01 +0000)]
Fix prototype declaration of utime in <sys/times.h>.
From-SVN: r6608
Richard Kenner [Tue, 22 Feb 1994 13:14:21 +0000 (08:14 -0500)]
Added peephole patterns for stack adjustments followed by QI/HI pushes.
(movsi): Use output_move_dconst for TARGET_32532.
(ffs): New patterns.
From-SVN: r6607
Richard Kenner [Tue, 22 Feb 1994 13:13:00 +0000 (08:13 -0500)]
(output_move_dconst): New function.
(global_symbolic_reference_mentioned_p): New function.
(print_operand_address): Allow pc-relative mode not only
for {LABEL, SYMBOL}_REF but for CONST too. If compiling PIC,
transform "symbol+const(Rx)" to "const(symbol(sb))[Rx:b]".
From-SVN: r6606
Richard Kenner [Tue, 22 Feb 1994 13:11:40 +0000 (08:11 -0500)]
(FRAME_POINTER_REQUIRED): Moved to here.
(DEFAULT_PCC_STRUCT_RETURN): Deleted; redundant.
From-SVN: r6605
Richard Kenner [Tue, 22 Feb 1994 13:10:42 +0000 (08:10 -0500)]
(FRAME_POINTER_REQUIRED): Deleted.
From-SVN: r6604
Richard Kenner [Tue, 22 Feb 1994 13:09:58 +0000 (08:09 -0500)]
(FUNCTION_{PROLOGUE,EPILOGUE}): %$ is not supported in fprintf.
(ADJSP): New macro to resolve %$.
(output_move_dconst): New declaration.
(OVERRIDE_OPTIONS): New macro to support PIC.
(FUNCTION_PROLOGUE): Save/Load sb when compiling PIC.
(FUNCTION_EPILOGUE): Restore sb when compiling PIC.
(INITIAL_FRAME_POINTER_OFFSET): Take saved sb into account when PIC.
(LEGITIMATE_CONSTANT_P, GO_IF_LEGITIMATE_ADDRESS): Set
current_function_uses_pic_offset_table if P uses a global symbolic reference.
(ENCODE_SECTION_INFO): New macro to support PIC.
From-SVN: r6603
Torbjorn Granlund [Tue, 22 Feb 1994 12:58:56 +0000 (12:58 +0000)]
(divsi3): Emit all RTL from RTL template.
(udivsi3, modsi3, umodsi3, divdi3, udivdi3, moddi3, umoddi3): Likewise.
From-SVN: r6602
Richard Kenner [Tue, 22 Feb 1994 12:31:05 +0000 (07:31 -0500)]
(LINK_SPEC): Add "/nol".
From-SVN: r6601
Richard Kenner [Tue, 22 Feb 1994 12:21:24 +0000 (07:21 -0500)]
(PATH_SEPARATOR): Add to here.
From-SVN: r6600
Richard Kenner [Tue, 22 Feb 1994 12:21:03 +0000 (07:21 -0500)]
(LINK_SPEC, LIB_SPEC): New macros.
(PATH_SEPARATOR): Delete from here.
From-SVN: r6599
Jim Wilson [Mon, 21 Feb 1994 22:48:20 +0000 (14:48 -0800)]
(fatal, error): Add ! HAVE_VPRINTF versions.
From-SVN: r6598
Jim Wilson [Sun, 20 Feb 1994 21:50:13 +0000 (13:50 -0800)]
(mips_move_2words): Check for TARGET_FLOAT64 != TARGET_64BIT.
(override_options): Don't override MASK_64BIT; don't allow -gp64
without -mips3.
From-SVN: r6597
Jim Wilson [Sun, 20 Feb 1994 21:49:07 +0000 (13:49 -0800)]
Update mips3 comments.
(TARGET_OPTIONS): Add gp64 and gp32.
(SECONDARY_MEMORY_NEEDED): Don't allow fp<->gp copy if TARGET_FLOAT64
!= TARGET_64BIT.
(CC1_SPEC): Generate correct -mfp* and -mgp* from -mips*
From-SVN: r6596
Jim Wilson [Sun, 20 Feb 1994 21:47:37 +0000 (13:47 -0800)]
(movdf_internal1): Disable if TARGET_FLOAT64 != TARGET_64BIT.
(movdf_internal1a): New pattern.
From-SVN: r6595
Jim Wilson [Sun, 20 Feb 1994 21:43:56 +0000 (13:43 -0800)]
(CC1_SPEC): Generate correct -mfp* and -mgp* from -mips*
From-SVN: r6594
Jim Wilson [Sun, 20 Feb 1994 20:47:44 +0000 (12:47 -0800)]
(HARD_REGNO_MODE_OK): Update comment.
From-SVN: r6593
Jim Wilson [Sun, 20 Feb 1994 20:39:12 +0000 (12:39 -0800)]
(OBJECT_FORMAT_ELF): Add comments.
From-SVN: r6592
Ian Lance Taylor [Sat, 19 Feb 1994 19:26:35 +0000 (19:26 +0000)]
Permit upper case characters in typedef of size_t in <sys/types.h>.
From-SVN: r6591
Doug Evans [Thu, 17 Feb 1994 23:00:57 +0000 (23:00 +0000)]
(ASM_OUTPUT_SECTION_NAME): Fix typo.
From-SVN: r6590
Doug Evans [Thu, 17 Feb 1994 22:58:07 +0000 (22:58 +0000)]
(ASM_OUTPUT_SECTION_NAME): Define.
(ASM_OUTPUT_SECTION): Delete.
From-SVN: r6589
Doug Evans [Thu, 17 Feb 1994 22:54:34 +0000 (22:54 +0000)]
h8300.h (ASM_OUTPUT_SECTION_NAME): Define.
* h8300/h8300.h (ASM_OUTPUT_SECTION_NAME): Define.
(EXTRA_SECTIONS, EXTRA_SECTION_FUNCTIONS, SELECT_SECTION): Delete.
(ASM_OUTPUT_LABELREF): Call fprintf directly.
From-SVN: r6588
Doug Evans [Thu, 17 Feb 1994 22:53:45 +0000 (22:53 +0000)]
(asm_output_labelref): Delete.
From-SVN: r6587
Doug Evans [Thu, 17 Feb 1994 22:52:52 +0000 (22:52 +0000)]
(ASM_OUTPUT_SECTION_NAME): Define.
From-SVN: r6586
Doug Evans [Thu, 17 Feb 1994 22:51:33 +0000 (22:51 +0000)]
(IN_NAMED_SECTION): New macro.
(named_section): New function.
(enum in_section): New value `in_named'.
(in_named_name): New global.
(make_function_rtl, make_decl_rtl, output_constant_def): Fix comment
regarding ASM_OUTPUT_LABELREF.
(make_decl_rtl): Warn if section attribute used with uninitialized
variable declaration.
(assemble_start_function, assemble_variable, output_constant_def):
Change to named section if given.
From-SVN: r6585
Doug Evans [Thu, 17 Feb 1994 22:50:36 +0000 (22:50 +0000)]
(DECL_SECTION_NAME): New macro.
(struct tree_decl): New member `section_name'.
From-SVN: r6584
Doug Evans [Thu, 17 Feb 1994 22:49:29 +0000 (22:49 +0000)]
(duplicate_decls): Merge section name into new decl.
From-SVN: r6583
Doug Evans [Thu, 17 Feb 1994 22:48:50 +0000 (22:48 +0000)]
(decl_attributes): Decode section attribute.
From-SVN: r6582
Doug Evans [Thu, 17 Feb 1994 22:48:19 +0000 (22:48 +0000)]
(attrib): Handle attribute ((section ("string"))).
From-SVN: r6581
Doug Evans [Thu, 17 Feb 1994 02:46:09 +0000 (02:46 +0000)]
(i960_function_prologue): Put register save area before outgoing arg block.
From-SVN: r6580
Jim Wilson [Wed, 16 Feb 1994 21:01:02 +0000 (13:01 -0800)]
(get_pointer_alignment): ALIGN is alignment of innermost
object, not the MAX of alignment of all objects.
From-SVN: r6579
Jim Wilson [Wed, 16 Feb 1994 20:57:27 +0000 (12:57 -0800)]
(group_insns): Delete.
(emit_move_insn_1, expand_expr): Use emit_no_conflict_block
instead of group_insns.
From-SVN: r6578
Jim Wilson [Wed, 16 Feb 1994 20:50:51 +0000 (12:50 -0800)]
(end_final): Pass BIGGEST_ALIGNMENT not align to
ASM_OUTPUT_ALIGNED_LOCAL.
From-SVN: r6577
Jim Wilson [Wed, 16 Feb 1994 20:42:34 +0000 (12:42 -0800)]
(alpha_builtin_saveregs): Don't include current_function_arg_offset_rtx in argsize.
(alpha_builtin_saveregs): Don't include
current_function_arg_offset_rtx in argsize. Subtract 48 from arg
base address when no int registers stored on the stack.
From-SVN: r6576
Jim Wilson [Wed, 16 Feb 1994 20:39:39 +0000 (12:39 -0800)]
(expand_units): Fix blockage calculation.
From-SVN: r6575
Jim Wilson [Wed, 16 Feb 1994 20:33:00 +0000 (12:33 -0800)]
(scan_loop): Add no_labels_between_p call to tests which decide if...
(scan_loop): Add no_labels_between_p call to tests which
decide if an invariant reg can be safely replaced with its SET_SRC.
From-SVN: r6574
Ian Lance Taylor [Wed, 16 Feb 1994 05:55:34 +0000 (05:55 +0000)]
Fix uses of new in Xm/Traversal.h.
From-SVN: r6573
Per Bothner [Wed, 16 Feb 1994 03:57:04 +0000 (19:57 -0800)]
Remove unneeded test for STRING_TYPE.
From-SVN: r6572
Per Bothner [Wed, 16 Feb 1994 03:52:30 +0000 (19:52 -0800)]
New macro TYPE_STRING_FLAG.
From-SVN: r6571
Per Bothner [Wed, 16 Feb 1994 03:52:30 +0000 (19:52 -0800)]
Use new flag TYPE_STRING_FLAG instead of STRING_TYPE.
From-SVN: r6570
Per Bothner [Wed, 16 Feb 1994 03:52:30 +0000 (19:52 -0800)]
Removed un-used STRING_TYPE.
From-SVN: r6569
Richard Kenner [Wed, 16 Feb 1994 00:36:35 +0000 (19:36 -0500)]
(real_value_truncate): If requested mode is not supported, return the
unmodified input instead of aborting.
From-SVN: r6568
Richard Kenner [Wed, 16 Feb 1994 00:30:29 +0000 (19:30 -0500)]
(expand_increment): Handle both BAD_SUBREG and POST.
From-SVN: r6567
Ian Lance Taylor [Tue, 15 Feb 1994 23:28:03 +0000 (23:28 +0000)]
Make byteorder.h a here document, rather than copying it from the
source directory.
From-SVN: r6566
Ian Lance Taylor [Tue, 15 Feb 1994 23:23:23 +0000 (23:23 +0000)]
Don't install <sys/byteorder.h>.
From-SVN: r6565
Ian Lance Taylor [Tue, 15 Feb 1994 22:04:22 +0000 (22:04 +0000)]
fixincludes no longer depends on cpp.
fixincludes no longer depends on cpp. Remove fixinc.ready, don't pass
xgcc to fixincludes
From-SVN: r6564
Ian Lance Taylor [Tue, 15 Feb 1994 22:03:40 +0000 (22:03 +0000)]
Use __SIZE_TYPE__ for size_t type, rather than running gcc to get it.
From-SVN: r6563
Ian Lance Taylor [Tue, 15 Feb 1994 16:11:51 +0000 (16:11 +0000)]
(output_prolog): Use RS6000_ITRUNC and RS6000_UITRUNC, not "itrunc" and
"uitrunc".
From-SVN: r6562
Ian Lance Taylor [Tue, 15 Feb 1994 16:10:58 +0000 (16:10 +0000)]
(fix_truncdfsi2, fixuns_truncdfsi2): Use RS6000_ITRUNC and RS6000_UITRUNC,
not "itrunc" and "uitrunc".
From-SVN: r6561
Ian Lance Taylor [Tue, 15 Feb 1994 16:10:25 +0000 (16:10 +0000)]
Define RS6000_ITRUNC and RS6000_UITRUNC
From-SVN: r6560
Stan Cox [Tue, 15 Feb 1994 15:13:26 +0000 (15:13 +0000)]
(TM_RCS_ID) Removed ANSI C dependency.
From-SVN: r6559
Richard Kenner [Tue, 15 Feb 1994 00:21:28 +0000 (19:21 -0500)]
(lang_options): Add -W{no,}extern-inline.
From-SVN: r6558
Richard Kenner [Tue, 15 Feb 1994 00:19:02 +0000 (19:19 -0500)]
(main): Move unused arg ++i out of call to printf.
From-SVN: r6557
Richard Kenner [Tue, 15 Feb 1994 00:18:27 +0000 (19:18 -0500)]
(main): Remove unused args in call to fprintf.
From-SVN: r6556
Richard Kenner [Tue, 15 Feb 1994 00:16:58 +0000 (19:16 -0500)]
(optimize_reg_copy): A register that dies in a CALL_INSN doesn't cross
that call.
From-SVN: r6555
Richard Kenner [Tue, 15 Feb 1994 00:14:45 +0000 (19:14 -0500)]
(eifrac): If FIXUNS_TRUNC_LIKE_FIX_TRUNC, convert on positive overflow
as if unsigned.
From-SVN: r6554
Richard Kenner [Tue, 15 Feb 1994 00:13:05 +0000 (19:13 -0500)]
(default_compilers): Generate and use .ii files in the intermediate
stage of compiling C++ source.
From-SVN: r6553
Richard Kenner [Tue, 15 Feb 1994 00:08:15 +0000 (19:08 -0500)]
(simplify_shift_const, case AND): When remaking binary operation, do
it in SHIFT_MODE.
From-SVN: r6552
Ian Lance Taylor [Mon, 14 Feb 1994 04:50:40 +0000 (04:50 +0000)]
(output_epilog): Don't output a traceback table if
flag_inhibit_size_directive is set.
From-SVN: r6551
Richard Kenner [Sun, 13 Feb 1994 22:47:06 +0000 (17:47 -0500)]
(ADJUST_COST): Call rs6000_adjust_cost.
From-SVN: r6550
Richard Kenner [Sun, 13 Feb 1994 22:46:39 +0000 (17:46 -0500)]
(rs6000_adjust_cost): Renamed from ppc_adjust_cost.
From-SVN: r6549
Ian Lance Taylor [Sun, 13 Feb 1994 22:25:55 +0000 (22:25 +0000)]
Use ASM_GENERATE_INTERNAL_LABEL rather than assuming what it does
From-SVN: r6548
Ian Lance Taylor [Sun, 13 Feb 1994 22:08:06 +0000 (22:08 +0000)]
Clean up some X11 header files for C++; problems found on RS/6000.
From-SVN: r6547
Michael Meissner [Sun, 13 Feb 1994 18:40:02 +0000 (18:40 +0000)]
Include stdio.h to get STDIO_PROTO correct.
From-SVN: r6546
Doug Evans [Sun, 13 Feb 1994 07:34:55 +0000 (07:34 +0000)]
(fatal, error): Fix declarations (make dependant on HAVE_VPRINTF).
From-SVN: r6545