Richard Kenner [Sun, 7 Aug 1994 12:52:03 +0000 (08:52 -0400)]
(find_reg) If CLASS_CANNOT_CHANGE_SIZE, avoid its registers if
reg_changes_size.
From-SVN: r7866
Richard Kenner [Sun, 7 Aug 1994 12:51:35 +0000 (08:51 -0400)]
(qty_changes_size): New variable.
(alloc_qty{,_for_scratch}, update_qty_class): Set it.
(local_alloc): Allocate it.
(find_free_reg): If CLASS_CANNOT_CHANGE_SIZE, avoid its registers if
qty_changes_size.
From-SVN: r7865
Richard Kenner [Sun, 7 Aug 1994 12:51:03 +0000 (08:51 -0400)]
(reg_changes_size): New variable.
(allocate_for_life_analysis): Allocate and initialize it.
(mark_used_regs, case SUBREG): Set it.
From-SVN: r7864
Richard Kenner [Sun, 7 Aug 1994 12:50:40 +0000 (08:50 -0400)]
(reg_changes_size): Add declaration.
From-SVN: r7863
Mike Stump [Fri, 5 Aug 1994 20:25:20 +0000 (20:25 +0000)]
45th Cygnus<->FSF merge
From-SVN: r7862
Jason Merrill [Fri, 5 Aug 1994 19:02:42 +0000 (19:02 +0000)]
(expand_expr...
(expand_expr, COND_EXPR case): Use truthvalue_conversion
to make the condition for running cleanups acceptable to
invert_truthvalue.
From-SVN: r7861
Jim Wilson [Fri, 5 Aug 1994 16:29:21 +0000 (09:29 -0700)]
(expand_mult): Accept DImode for synth_mult only if CONST_DOUBLE_HIGH is zero.
(expand_mult): Accept DImode for synth_mult only if
CONST_DOUBLE_HIGH is zero. Reject negative values for synth_mult
if the mode is larger than HOST_BITS_PER_INT. Don't do the
negate_variant if the mode is larger than HOST_BITS_PER_INT.
From-SVN: r7860
Jim Wilson [Fri, 5 Aug 1994 16:22:40 +0000 (09:22 -0700)]
(DO_GLOBAL_CTORS_BODY): Use long instead of
HOST_WIDE_INT.
From-SVN: r7859
Jim Wilson [Fri, 5 Aug 1994 16:14:36 +0000 (09:14 -0700)]
(distclean): Delete it.
From-SVN: r7858
Jason Merrill [Fri, 5 Aug 1994 01:49:31 +0000 (01:49 +0000)]
(defer_cleanups_to): Put back line which was mistakenly
removed.
From-SVN: r7857
Doug Evans [Thu, 4 Aug 1994 01:36:07 +0000 (01:36 +0000)]
(v9 va_start): Pass an arg to __builtin_next_arg.
(v9 va_arg): Advance over float's.
From-SVN: r7856
Doug Evans [Thu, 4 Aug 1994 01:34:34 +0000 (01:34 +0000)]
(v9 sparc_builtin_saveregs): Save quadword fp regs on 16 byte boundaries.
(v9 sparc_builtin_saveregs): Save quadword fp regs on
16 byte boundaries. Handle non-zero number of named fp args.
From-SVN: r7855
Ian Lance Taylor [Wed, 3 Aug 1994 15:13:59 +0000 (15:13 +0000)]
Various changes to avoid clobbering glibc header files
From-SVN: r7854
Richard Kenner [Tue, 2 Aug 1994 23:06:41 +0000 (19:06 -0400)]
(simplify_unary_operation): Clean up some mode and size checks with
CONST_DOUBLEs; TRUNCATE should do nothing.
From-SVN: r7853
Richard Kenner [Tue, 2 Aug 1994 22:38:10 +0000 (18:38 -0400)]
(subst_prev_insn): Remove variable and all uses.
From-SVN: r7852
Jim Wilson [Tue, 2 Aug 1994 18:53:35 +0000 (11:53 -0700)]
(V9_SWITCHES): Add -mmedlow, -mmedany.
(TARGET_OPTIONS): Delete.
(CONDITIONAL_REGISTER_USAGE): Don't unfix %g4 if -mmedany.
From-SVN: r7851
Jim Wilson [Tue, 2 Aug 1994 18:51:03 +0000 (11:51 -0700)]
(sparc_code_model): Delete.
(sparc_override_options): Code model flags only useable with v9.
From-SVN: r7850
Jim Wilson [Tue, 2 Aug 1994 18:44:45 +0000 (11:44 -0700)]
(all DF/TFmode patterns): Use `e' in contraint field
instead of `f'.
From-SVN: r7849
Jim Wilson [Tue, 2 Aug 1994 18:41:16 +0000 (11:41 -0700)]
(enum reg_class): New values EXTRA_FP_REGS,
GENERAL_OR_EXTRA_FP_REGS for the v9 case.
(REG_CLASS_NAMES): Likewise.
(REG_CLASS_CONTENTS): Likewise.
(REGNO_REG_CLASS): Handle EXTRA_FP_REGS.
(REG_CLASS_FROM_LETTER): Likewise, as `e'.
Treat `e' like `f' in v8 case.
(FP_REG_CLASS_P): New macro.
(PREFERRED_RELOAD_CLASS): Use it.
(SECONDARY_INPUT_RELOAD_CLASS, SECONDARY_OUTPUT_RELOAD_CLASS,
SECONDARY_MEMORY_NEEDED, CLASS_MAX_NREGS, REGISTER_MOVE_COST):
Likewise.
From-SVN: r7848
Richard Kenner [Tue, 2 Aug 1994 11:00:20 +0000 (07:00 -0400)]
(arith64_operand): Integer CONST_DOUBLE is DImode.
From-SVN: r7847
Roland McGrath [Tue, 2 Aug 1994 00:05:29 +0000 (00:05 +0000)]
Initial revision
From-SVN: r7846
Richard Kenner [Mon, 1 Aug 1994 23:27:34 +0000 (19:27 -0400)]
(permanent_allocation): When freeing to momentary_function_firstobj,
set momentary_firstobj to be the next available location (i.e.,
momentary_function_firstobj).
From-SVN: r7845
Richard Kenner [Mon, 1 Aug 1994 22:52:34 +0000 (18:52 -0400)]
Handle _BSD_WCHAR_T_ like _WCHAR_T_, since at least BSD/386 1.1 uses the former instead of the latter.
Handle _BSD_WCHAR_T_ like _WCHAR_T_, since at least BSD/386 1.1 uses
the former instead of the latter. If _BSD_RUNE_T_ is defined, then
define rune_t when we define wchar_t. Test definedness of _GCC_SIZE_T
as well as _GCC_SIZE_T_; likewise for _GCC_PTRDIFF_T and _GCC_WCHAR_T.
From-SVN: r7844
Jeff Law [Mon, 1 Aug 1994 09:21:48 +0000 (03:21 -0600)]
pa-ghpux.h, pa-hpux.h (LINK_SPEC): Any -g argument implies static linking.
* pa-ghpux.h, pa-hpux.h (LINK_SPEC): Any -g argument implies
static linking.
From-SVN: r7843
Jason Merrill [Sun, 31 Jul 1994 21:31:00 +0000 (21:31 +0000)]
(expand_inline_function): Don't fall down trying to
pass things by invisible reference.
From-SVN: r7842
Richard Kenner [Sun, 31 Jul 1994 10:56:29 +0000 (06:56 -0400)]
(my_strerror): New function.
(error_from_errno, perror_with_name): Use it.
From-SVN: r7841
Richard Kenner [Sat, 30 Jul 1994 23:01:48 +0000 (19:01 -0400)]
Fix typo.
From-SVN: r7840
Richard Kenner [Sat, 30 Jul 1994 22:18:55 +0000 (18:18 -0400)]
(fold_truthop): Apply masks to constants.
From-SVN: r7839
Richard Kenner [Sat, 30 Jul 1994 22:14:22 +0000 (18:14 -0400)]
(print_node{,_brief}): Use correct printf code to print INTEGER_CST if
HOST_WIDE_INT is wider than int.
From-SVN: r7838
Richard Kenner [Sat, 30 Jul 1994 22:09:27 +0000 (18:09 -0400)]
({store,extract}_bit_field): Don't use bitfield insn if OP0 is
register and bitfield spans it.
From-SVN: r7837
Richard Kenner [Sat, 30 Jul 1994 19:06:58 +0000 (15:06 -0400)]
(print_operand): Integer CONST_DOUBLE is DImode.
From-SVN: r7836
Richard Kenner [Sat, 30 Jul 1994 19:05:30 +0000 (15:05 -0400)]
(PRINT_OPERAND): Integer CONST_DOUBLE is DImode.
From-SVN: r7835
Richard Kenner [Sat, 30 Jul 1994 18:57:19 +0000 (14:57 -0400)]
(reg_or_0_operand): Integer CONST_DOUBLE is DImode.
From-SVN: r7834
Richard Kenner [Sat, 30 Jul 1994 18:53:45 +0000 (14:53 -0400)]
(PRINT_OPERAND): Integer CONST_DOUBLE is DImode.
From-SVN: r7833
Richard Kenner [Sat, 30 Jul 1994 16:58:42 +0000 (12:58 -0400)]
(fold_rtx, case MEM): Surround TRUNCATE for jump table entry with a CONST.
(fold_rtx, case '1'): Handle operand 0 of a CONST.
(fold_rtx, case PLUS): Handle (const (minus (label_ref) (label_ref))).
From-SVN: r7832
Richard Kenner [Sat, 30 Jul 1994 16:54:26 +0000 (12:54 -0400)]
(tablejump): Rework to look like normal add but verify that label is for next insn and is tablejump...
(tablejump): Rework to look like normal add but verify that label is
for next insn and is tablejump; look for ADDR_DIFF_ELT.
From-SVN: r7831
Richard Kenner [Sat, 30 Jul 1994 16:53:17 +0000 (12:53 -0400)]
(CASE_VECTOR_PC_RELATIVE): Define.
(ASM_OUTPUT_ADDR_VEC_ELT): Abort.
(ASM_OUTPUT_ADDR_DIFF_ELT): Now what used to be previous definition.
From-SVN: r7830
Richard Kenner [Fri, 29 Jul 1994 23:26:59 +0000 (19:26 -0400)]
(finish_decl): Preserve initialializer if iterator.
From-SVN: r7829
Richard Kenner [Fri, 29 Jul 1994 23:07:15 +0000 (19:07 -0400)]
(bc_output_constructor): Return type now rtx.
From-SVN: r7828
Richard Kenner [Fri, 29 Jul 1994 23:06:41 +0000 (19:06 -0400)]
(change_main_variant): Return type now void.
From-SVN: r7827
Richard Kenner [Fri, 29 Jul 1994 23:06:08 +0000 (19:06 -0400)]
(write_{l,r}brac): Specify return type of int.
From-SVN: r7826
Richard Kenner [Fri, 29 Jul 1994 23:05:12 +0000 (19:05 -0400)]
(bc_sym_write): Change %d to %lu in printf calls.
From-SVN: r7825
Richard Kenner [Fri, 29 Jul 1994 23:04:10 +0000 (19:04 -0400)]
Add declaration of ctime.
From-SVN: r7824
Richard Kenner [Fri, 29 Jul 1994 22:50:41 +0000 (18:50 -0400)]
(expand_function_start): Initialize VALUE_ADDRESS.
From-SVN: r7823
Richard Kenner [Fri, 29 Jul 1994 22:33:29 +0000 (18:33 -0400)]
(build_unary_op, case *INCREMENT_EXPR): Add size in bytes, not value
of sizeof.
From-SVN: r7822
Richard Kenner [Fri, 29 Jul 1994 21:50:14 +0000 (17:50 -0400)]
(tst?f): Use CONST0_RTX instead of incorrect call to
immed_real_const_1.
From-SVN: r7821
Richard Kenner [Fri, 29 Jul 1994 21:36:13 +0000 (17:36 -0400)]
(move_block_to_reg): Do nothing if NREGS == 0.
From-SVN: r7820
Richard Kenner [Fri, 29 Jul 1994 21:16:58 +0000 (17:16 -0400)]
(special_symbol, do_xifdef): Don't access value.defn of a T_CONST.
From-SVN: r7819
Jason Merrill [Fri, 29 Jul 1994 19:03:37 +0000 (19:03 +0000)]
(DO_GLOBAL_CTORS_BODY): Reverse order of execution
of constuctor lists.
From-SVN: r7818
Jason Merrill [Fri, 29 Jul 1994 19:03:37 +0000 (19:03 +0000)]
Reverse order of execution of
destructor lists.
From-SVN: r7817
Richard Kenner [Thu, 28 Jul 1994 23:56:18 +0000 (19:56 -0400)]
(output_decl...
(output_decl, case FUNCTION_DECL): Corrected and simplified code that
determined when to generate varargs or ANSI stdargs variable length
parameter list DWARF information.
From-SVN: r7816
Richard Kenner [Thu, 28 Jul 1994 23:48:33 +0000 (19:48 -0400)]
(expand_expr, case CONJ_EXPR): Use correct mode for parts of a complex
expression.
From-SVN: r7815
Richard Kenner [Thu, 28 Jul 1994 23:38:46 +0000 (19:38 -0400)]
(extv, extzv): In patterns that will use movb and movw, ensure size is
8 or 16.
From-SVN: r7814
Richard Kenner [Thu, 28 Jul 1994 23:28:18 +0000 (19:28 -0400)]
(expand_binop, case MULT [complex]) Fix typo.
From-SVN: r7813
Richard Kenner [Thu, 28 Jul 1994 23:21:33 +0000 (19:21 -0400)]
(FUNCTION_VALUE): New override.
From-SVN: r7812
Richard Kenner [Thu, 28 Jul 1994 23:16:20 +0000 (19:16 -0400)]
*** empty log message ***
From-SVN: r7811
Richard Kenner [Thu, 28 Jul 1994 21:34:53 +0000 (17:34 -0400)]
(compare_spill_regs): Simplify and return zero if registers are the same.
From-SVN: r7810
Richard Kenner [Thu, 28 Jul 1994 21:27:26 +0000 (17:27 -0400)]
(c-lex.o, distdir-start): Depend on $(srcdir)/c-gperf.h, not
c-gperf.h.
From-SVN: r7809
Jason Merrill [Thu, 28 Jul 1994 20:26:09 +0000 (20:26 +0000)]
#undef PCC_STATIC_STRUCT_RETURN
From-SVN: r7808
Jason Merrill [Thu, 28 Jul 1994 20:23:02 +0000 (20:23 +0000)]
#define NO_IMPLICIT_EXTERN_C
From-SVN: r7807
Doug Evans [Thu, 28 Jul 1994 18:39:05 +0000 (18:39 +0000)]
(LIBGCC2_CFLAGS): Undo last patch. HAVE_ATEXIT is defined in svr4.h.
From-SVN: r7806
Kresten Krab Thorup [Thu, 28 Jul 1994 16:56:52 +0000 (16:56 +0000)]
removed declaration of bzero
From-SVN: r7805
Richard Kenner [Thu, 28 Jul 1994 12:07:05 +0000 (08:07 -0400)]
(finish_struct): Don't look at alignment of error_mark_node.
From-SVN: r7804
Richard Kenner [Thu, 28 Jul 1994 11:11:09 +0000 (07:11 -0400)]
(try_combine): Don't make a MULT if none of the insns in our input had one.
From-SVN: r7803
Richard Kenner [Thu, 28 Jul 1994 03:33:05 +0000 (23:33 -0400)]
(expand_mult): Properly set ADD_TARGET for add_variant.
From-SVN: r7802
Richard Kenner [Thu, 28 Jul 1994 03:11:17 +0000 (23:11 -0400)]
(INITIAL_ELIMINATION_OFFSET): Properly compute offset between AP and SP when...
(INITIAL_ELIMINATION_OFFSET): Properly compute offset between AP and
SP when get_frame_size and current_function_pretend_args_size are not
a multiple of 16 bytes.
From-SVN: r7801
Richard Kenner [Wed, 27 Jul 1994 23:06:43 +0000 (19:06 -0400)]
(ASM_OUTPUT_ASCII): Fix bug when first character of string constant is
single quote.
From-SVN: r7800
Ian Lance Taylor [Wed, 27 Jul 1994 18:06:45 +0000 (18:06 +0000)]
Change i860 in #if to __i860__, as with other CPUs
From-SVN: r7799
Richard Kenner [Wed, 27 Jul 1994 18:06:24 +0000 (14:06 -0400)]
(expand_divmod): Don't make REG_NOTE if last insn's destination isn't
QUOTIENT.
From-SVN: r7798
Richard Kenner [Tue, 26 Jul 1994 23:45:11 +0000 (19:45 -0400)]
(expand_expr, case ARRAY_REF): Don't fold L"foo"[2].
From-SVN: r7797
Jim Wilson [Tue, 26 Jul 1994 17:56:03 +0000 (10:56 -0700)]
(process_init_element): Do not call push_init_level
if the value is error_mark_node.
From-SVN: r7796
Jim Wilson [Tue, 26 Jul 1994 17:48:56 +0000 (10:48 -0700)]
(NO_IMPLICIT_EXTERN_C): Define.
From-SVN: r7795
Michael Meissner [Mon, 25 Jul 1994 12:52:14 +0000 (12:52 +0000)]
Add BSDI support.
From-SVN: r7794
Doug Evans [Fri, 22 Jul 1994 18:33:37 +0000 (18:33 +0000)]
(andhi3, iorhi3, xorhi3): Change constraint on operand 2 from `i' to `n'.
From-SVN: r7793
Michael Meissner [Fri, 22 Jul 1994 13:55:40 +0000 (13:55 +0000)]
DJ patches for MSDOS
From-SVN: r7792
Michael Meissner [Fri, 22 Jul 1994 13:32:49 +0000 (13:32 +0000)]
Define NO_IMPLICIT_EXTERN_C
From-SVN: r7791
Steve Chamberlain [Fri, 22 Jul 1994 06:12:36 +0000 (06:12 +0000)]
*** empty log message ***
From-SVN: r7790
Jim Wilson [Thu, 21 Jul 1994 22:13:24 +0000 (15:13 -0700)]
(build_module_descriptor): Don't set DECL_EXTERNAL on
current_function_decl.
From-SVN: r7789
Jim Wilson [Thu, 21 Jul 1994 22:06:05 +0000 (15:06 -0700)]
(simplify_rtx): For (not (xor X C)) generate new rtx
instead of modifying old rtx.
From-SVN: r7788
Jim Wilson [Thu, 21 Jul 1994 21:55:22 +0000 (14:55 -0700)]
(start_function): If old_decl is NULL, then set it to the implicit decl if any.
(start_function): If old_decl is NULL, then set it to
the implicit decl if any. Delete superfluous test from warn missing
prototypes code. For warn missing declarations code, only warn if
previous decl is implicit.
From-SVN: r7787
Jim Wilson [Thu, 21 Jul 1994 21:46:32 +0000 (14:46 -0700)]
(fold): Don't fold X-X to 0 if X is floating point
and !flag_fast_math.
From-SVN: r7786
Doug Evans [Thu, 21 Jul 1994 06:07:22 +0000 (06:07 +0000)]
(stmp-multilib): Rework to handle make -n.
(stmp-multilib-sub): New target.
From-SVN: r7785
Doug Evans [Wed, 20 Jul 1994 02:17:55 +0000 (02:17 +0000)]
(clean): Remove multilib build dirs.
From-SVN: r7784
Doug Evans [Wed, 20 Jul 1994 00:32:31 +0000 (00:32 +0000)]
(print_operand, default case): Handle SFmode regs.
From-SVN: r7783
Jim Wilson [Tue, 19 Jul 1994 02:17:24 +0000 (19:17 -0700)]
(call_operand): Use symbolic_operand not CONSTANT_P.
(call_operand_address): Likewise.
From-SVN: r7782
Jim Wilson [Tue, 19 Jul 1994 02:16:28 +0000 (19:16 -0700)]
(call*): Use symbolic_operand not immediate_operand.
Use 's' constraint not 'i' constraint.
From-SVN: r7781
Jim Wilson [Tue, 19 Jul 1994 02:08:23 +0000 (19:08 -0700)]
(rest_of_compilation): Clear DECL_ABSTRACT_ORIGIN if
clear DECL_INLINE.
From-SVN: r7780
Jim Wilson [Tue, 19 Jul 1994 02:05:10 +0000 (19:05 -0700)]
(process_command): When have -BstageN option, pass include
not stageN/../include to preprocessor.
From-SVN: r7779
Jim Wilson [Tue, 19 Jul 1994 02:02:32 +0000 (19:02 -0700)]
(find_reg): Store divide results in temporary variables.
From-SVN: r7778
Jim Wilson [Tue, 19 Jul 1994 01:58:06 +0000 (18:58 -0700)]
(move_movables): Aviod lossage when CALL_INSN_FUNCTION_USAGE
is NULL.
From-SVN: r7777
Ian Lance Taylor [Tue, 19 Jul 1994 00:54:49 +0000 (00:54 +0000)]
Rework required loop to avoid crash on decstation
From-SVN: r7776
Doug Evans [Mon, 18 Jul 1994 07:59:43 +0000 (07:59 +0000)]
(LIBGCC2_CFLAGS): Define HAVE_ATEXIT.
From-SVN: r7775
Jason Merrill [Sun, 17 Jul 1994 04:12:39 +0000 (04:12 +0000)]
*** empty log message ***
From-SVN: r7774
Doug Evans [Sat, 16 Jul 1994 20:45:33 +0000 (20:45 +0000)]
Add libgcc copyright.
From-SVN: r7773
Richard Kenner [Thu, 14 Jul 1994 16:58:37 +0000 (12:58 -0400)]
Initial revision
From-SVN: r7772
Richard Kenner [Thu, 14 Jul 1994 13:42:18 +0000 (09:42 -0400)]
(force_reg): Don't make a REG_EQUAL note for an insn that doesn't set
TEMP.
From-SVN: r7771
Richard Kenner [Wed, 13 Jul 1994 22:48:24 +0000 (18:48 -0400)]
(distdir-start): Make tmp/ginclude and copy its files.
(distdir-finish): Don't use -f Makefile.in.
From-SVN: r7770
Richard Kenner [Wed, 13 Jul 1994 22:34:17 +0000 (18:34 -0400)]
(gcc.xtar.gz): Add --best.
From-SVN: r7769
Torbjorn Granlund [Wed, 13 Jul 1994 20:55:07 +0000 (20:55 +0000)]
(expand_divmod, case CEIL_DIV_EXPR): Handle emit_store_flag returning 0.
From-SVN: r7768
Jim Wilson [Wed, 13 Jul 1994 20:35:03 +0000 (13:35 -0700)]
(store_field): Set MEM_IN_STRUCT_P on object and
blk_object.
From-SVN: r7767