Commit Graph

7883 Commits

Author SHA1 Message Date
Roland McGrath
f82b3ad0e1 Initial revision
From-SVN: r7846
1994-08-02 00:05:29 +00:00
Richard Kenner
c61f7d6959 (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
1994-08-01 19:27:34 -04:00
Richard Kenner
73c8c157ad 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
1994-08-01 18:52:34 -04:00
Jeff Law
b93f0d4924 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
1994-08-01 03:21:48 -06:00
Jason Merrill
9175051cae (expand_inline_function): Don't fall down trying to
pass things by invisible reference.

From-SVN: r7842
1994-07-31 21:31:00 +00:00
Richard Kenner
02cc38b5ee (my_strerror): New function.
(error_from_errno, perror_with_name): Use it.

From-SVN: r7841
1994-07-31 06:56:29 -04:00
Richard Kenner
7106180777 Fix typo.
From-SVN: r7840
1994-07-30 19:01:48 -04:00
Richard Kenner
474636f3e8 (fold_truthop): Apply masks to constants.
From-SVN: r7839
1994-07-30 18:18:55 -04:00
Richard Kenner
910d169398 (print_node{,_brief}): Use correct printf code to print INTEGER_CST if
HOST_WIDE_INT is wider than int.

From-SVN: r7838
1994-07-30 18:14:22 -04:00
Richard Kenner
39e0911f45 ({store,extract}_bit_field): Don't use bitfield insn if OP0 is
register and bitfield spans it.

From-SVN: r7837
1994-07-30 18:09:27 -04:00
Richard Kenner
311b7cd795 (print_operand): Integer CONST_DOUBLE is DImode.
From-SVN: r7836
1994-07-30 15:06:58 -04:00
Richard Kenner
0b41202241 (PRINT_OPERAND): Integer CONST_DOUBLE is DImode.
From-SVN: r7835
1994-07-30 15:05:30 -04:00
Richard Kenner
5b486ce001 (reg_or_0_operand): Integer CONST_DOUBLE is DImode.
From-SVN: r7834
1994-07-30 14:57:19 -04:00
Richard Kenner
b030b8c204 (PRINT_OPERAND): Integer CONST_DOUBLE is DImode.
From-SVN: r7833
1994-07-30 14:53:45 -04:00
Richard Kenner
67a3773731 (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
1994-07-30 12:58:42 -04:00
Richard Kenner
96c9d70dda (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
1994-07-30 12:54:26 -04:00
Richard Kenner
260ced47a7 (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
1994-07-30 12:53:17 -04:00
Richard Kenner
3861b61380 (finish_decl): Preserve initialializer if iterator.
From-SVN: r7829
1994-07-29 19:26:59 -04:00
Richard Kenner
be97202388 (bc_output_constructor): Return type now rtx.
From-SVN: r7828
1994-07-29 19:07:15 -04:00
Richard Kenner
5cf3f46752 (change_main_variant): Return type now void.
From-SVN: r7827
1994-07-29 19:06:41 -04:00
Richard Kenner
ccddffd588 (write_{l,r}brac): Specify return type of int.
From-SVN: r7826
1994-07-29 19:06:08 -04:00
Richard Kenner
1395fc236b (bc_sym_write): Change %d to %lu in printf calls.
From-SVN: r7825
1994-07-29 19:05:12 -04:00
Richard Kenner
b077f3ac2f Add declaration of ctime.
From-SVN: r7824
1994-07-29 19:04:10 -04:00
Richard Kenner
4acc00bf75 (expand_function_start): Initialize VALUE_ADDRESS.
From-SVN: r7823
1994-07-29 18:50:41 -04:00
Richard Kenner
0e9cff7f3a (build_unary_op, case *INCREMENT_EXPR): Add size in bytes, not value
of sizeof.

From-SVN: r7822
1994-07-29 18:33:29 -04:00
Richard Kenner
acb76ce3b4 (tst?f): Use CONST0_RTX instead of incorrect call to
immed_real_const_1.

From-SVN: r7821
1994-07-29 17:50:14 -04:00
Richard Kenner
72bb971732 (move_block_to_reg): Do nothing if NREGS == 0.
From-SVN: r7820
1994-07-29 17:36:13 -04:00
Richard Kenner
4f84546511 (special_symbol, do_xifdef): Don't access value.defn of a T_CONST.
From-SVN: r7819
1994-07-29 17:16:58 -04:00
Jason Merrill
e5952538c4 (DO_GLOBAL_CTORS_BODY): Reverse order of execution
of constuctor lists.

From-SVN: r7818
1994-07-29 19:03:37 +00:00
Jason Merrill
566b213ab1 Reverse order of execution of
destructor lists.

From-SVN: r7817
1994-07-29 19:03:37 +00:00
Richard Kenner
2c1c10ec5a (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
1994-07-28 19:56:18 -04:00
Richard Kenner
62acb9781f (expand_expr, case CONJ_EXPR): Use correct mode for parts of a complex
expression.

From-SVN: r7815
1994-07-28 19:48:33 -04:00
Richard Kenner
bb14e22817 (extv, extzv): In patterns that will use movb and movw, ensure size is
8 or 16.

From-SVN: r7814
1994-07-28 19:38:46 -04:00
Richard Kenner
1c63cc82d4 (expand_binop, case MULT [complex]) Fix typo.
From-SVN: r7813
1994-07-28 19:28:18 -04:00
Richard Kenner
bdbfbe18fc (FUNCTION_VALUE): New override.
From-SVN: r7812
1994-07-28 19:21:33 -04:00
Richard Kenner
9cad761615 *** empty log message ***
From-SVN: r7811
1994-07-28 19:16:20 -04:00
Richard Kenner
2f23a46d62 (compare_spill_regs): Simplify and return zero if registers are the same.
From-SVN: r7810
1994-07-28 17:34:53 -04:00
Richard Kenner
007421a37b (c-lex.o, distdir-start): Depend on $(srcdir)/c-gperf.h, not
c-gperf.h.

From-SVN: r7809
1994-07-28 17:27:26 -04:00
Jason Merrill
4a5516aea7 #undef PCC_STATIC_STRUCT_RETURN
From-SVN: r7808
1994-07-28 20:26:09 +00:00
Jason Merrill
2f55b70b87 #define NO_IMPLICIT_EXTERN_C
From-SVN: r7807
1994-07-28 20:23:02 +00:00
Doug Evans
311916abb1 (LIBGCC2_CFLAGS): Undo last patch. HAVE_ATEXIT is defined in svr4.h.
From-SVN: r7806
1994-07-28 18:39:05 +00:00
Kresten Krab Thorup
15408e26c2 removed declaration of bzero
From-SVN: r7805
1994-07-28 16:56:52 +00:00
Richard Kenner
34322499be (finish_struct): Don't look at alignment of error_mark_node.
From-SVN: r7804
1994-07-28 08:07:05 -04:00
Richard Kenner
df7d75de69 (try_combine): Don't make a MULT if none of the insns in our input had one.
From-SVN: r7803
1994-07-28 07:11:09 -04:00
Richard Kenner
98310eaac7 (expand_mult): Properly set ADD_TARGET for add_variant.
From-SVN: r7802
1994-07-27 23:33:05 -04:00
Richard Kenner
d772039ba7 (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
1994-07-27 23:11:17 -04:00
Richard Kenner
1b2c9988bc (ASM_OUTPUT_ASCII): Fix bug when first character of string constant is
single quote.

From-SVN: r7800
1994-07-27 19:06:43 -04:00
Ian Lance Taylor
2c47b58a4f Change i860 in #if to __i860__, as with other CPUs
From-SVN: r7799
1994-07-27 18:06:45 +00:00
Richard Kenner
4e430df869 (expand_divmod): Don't make REG_NOTE if last insn's destination isn't
QUOTIENT.

From-SVN: r7798
1994-07-27 14:06:24 -04:00
Richard Kenner
ad2e7dd004 (expand_expr, case ARRAY_REF): Don't fold L"foo"[2].
From-SVN: r7797
1994-07-26 19:45:11 -04:00