Commit Graph

2309 Commits

Author SHA1 Message Date
Richard Stallman
36ad49159d (install-common-headers): Use __eprintf as indicator for GCC's assert.h.
From-SVN: r2310
1992-10-03 02:15:20 +00:00
Richard Stallman
9fcedbef65 (install-common-headers): Install assert.h separately, in includedir,
but not if file exists and lacks the magic comment.

From-SVN: r2309
1992-10-03 01:09:38 +00:00
Richard Stallman
a4f602639c Add magic comment at beginning.
From-SVN: r2308
1992-10-03 01:07:56 +00:00
Richard Stallman
7bea819f25 (includedir): New variable.
(USER_H): assert.h removed from value.
(install-common-headers): Install assert.h separately, in includedir.

From-SVN: r2307
1992-10-03 01:04:00 +00:00
Richard Stallman
9d1a4667d8 (reload): Move test for failure to find any group to after the loop over i.
(reload): Move test for failure to find any group
to after the loop over i.  Also check that all the regnos fit
below FIRST_PSEUDO_REGISTER.

From-SVN: r2306
1992-10-03 00:38:02 +00:00
Richard Stallman
139e5e0892 (expand_unop): Handle complex negate and abs val.
(init_optabs): Set up libcalls for complex abs.
(init_complex_libcalls): New function.

From-SVN: r2305
1992-10-02 01:42:33 +00:00
Michael Meissner
aa59a86918 Undo some of the index changes, and write our own index/rindex.
From-SVN: r2304
1992-10-02 01:07:59 +00:00
Michael Meissner
d4099651d5 RISC-OS 5.0 changes.
From-SVN: r2303
1992-10-01 21:25:34 +00:00
Jim Wilson
9ad5f9f604 (emit_reload_insns): Add a case to handle
SECONDARY_MEMORY_NEEDED in the SECONDARY_OUTPUT_RELOAD_CLASS code.

From-SVN: r2302
1992-10-01 12:18:06 -07:00
Jim Wilson
ae51bd971e (SECONDARY_INPUT_RELOAD_CLASS): Also need a temp reg when loading HImode and QImode values from memory to FP_REGS.
(SECONDARY_INPUT_RELOAD_CLASS): Also need a temp reg
when loading HImode and QImode values from memory to FP_REGS.
(SECONDARY_OUTPUT_RELOAD_CLASS): New macro.  Define this to handle
HImode and QImode stores from FP_REGS to memory similar to above.

From-SVN: r2301
1992-10-01 12:17:02 -07:00
Richard Stallman
b9a24ad42e (declare_function_name): __FUNC__ variables
are compiler-created, so set DECL_SOURCE_LINE to zero.

From-SVN: r2300
1992-10-01 19:01:26 +00:00
Richard Stallman
a50cc0dd8e Expect 56 conflicts for objc.
From-SVN: r2299
1992-10-01 17:38:39 +00:00
Jeff Law
9c36061e48 pa.md (add high part and dp register): Split into two patterns, one for normal code, one for kernels.
* pa.md (add high part and dp register): Split into two patterns,
	one for normal code, one for kernels.  Kernel version only allows
	"r1" as the destination register.

From-SVN: r2298
1992-10-01 11:06:29 -06:00
Jeff Law
caba9473d7 pa.h (LEGITIMIZE_ADDRESS, [...]): Emit a sequence which will cause "addil" instructions to be emitted instead of...
* pa.h (LEGITIMIZE_ADDRESS, SYMBOL_REF case): Emit a sequence
	which will cause "addil" instructions to be emitted instead of
	"ldil; add" sequences.
	* pa.h (TARGET_KERNEL): New switch "-mkernel" which forces gcc to
	avoid "ldil; add" sequences with %r27 and instead generate "addil"
	sequences.  This avoids a HPUX linker bug when compiling kernels.

From-SVN: r2297
1992-10-01 11:05:02 -06:00
Jeff Law
2fbd8ac74e pa.c (emit_move_sequence): When making a reference to the data space before reload...
* pa.c (emit_move_sequence): When making a reference to the data
	space before reload, emit an insn sequence which is much more
	likely to create "addil" instructions rather than "ldil; add"
	sequences.  Doing so greatly reduces the chance of running into a
	HPUX linker bug when compiling kernels.

From-SVN: r2296
1992-10-01 11:03:46 -06:00
Richard Stallman
e4e13a012e Add mode spec for Emacs.
From-SVN: r2295
1992-10-01 09:05:18 +00:00
Richard Stallman
75d20d4ffd (c-parse.y, objc-parse.y): Construct from c-parse.in.
(gcc.xtar): Depend on c-parse.y, objc-parse.y.
(realclean): Delete c-parse.y, objc-parse.y.

From-SVN: r2294
1992-10-01 09:03:03 +00:00
Richard Stallman
028299c6bf Initial revision
From-SVN: r2293
1992-10-01 09:01:10 +00:00
Richard Stallman
1d9d04f8ce (allocate_dynamic_stack_space): If STACK_DYNAMIC_OFFSET or STACK_POINTER_OFFSET...
(allocate_dynamic_stack_space): If STACK_DYNAMIC_OFFSET
or STACK_POINTER_OFFSET, always round address up to BIGGEST_ALIGNMENT.

From-SVN: r2292
1992-10-01 07:55:51 +00:00
Richard Stallman
09dafdadf0 If _ANSI_H_, undef _PTRDIFF_T_, _SIZE_T_, _WCHAR_T.
From-SVN: r2291
1992-10-01 06:11:57 +00:00
Richard Stallman
0132d1ca0f (NO_UNDERSCORES): Deleted.
From-SVN: r2290
1992-10-01 04:54:36 +00:00
Richard Stallman
bba2431c5d (__eprintf): Do nothing if inhibit_eprintf is defined.
From-SVN: r2289
1992-10-01 03:34:27 +00:00
Richard Stallman
82c14fc83c entered into RCS
From-SVN: r2288
1992-09-30 22:42:04 +00:00
Richard Stallman
b0375d839d (install-fixincludes): rm syslimits.h before installing.
Install it with cp.  Add an else-part to the if that installs it.

From-SVN: r2287
1992-09-30 22:24:46 +00:00
Richard Stallman
606f392077 Don't use system syms.h on hpux.
From-SVN: r2286
1992-09-30 21:28:24 +00:00
Jim Wilson
1a1ba90ec3 (orcc peephole): Don't accept FP reg for operand 0.
From-SVN: r2285
1992-09-30 12:08:44 -07:00
Richard Stallman
b3fab01d5e Use <...> to include va-*.h.
From-SVN: r2284
1992-09-30 05:57:35 +00:00
Jim Wilson
9fdc1dcad4 (find_splittable_givs): recog_memoized failure return is -1 not 0.
From-SVN: r2283
1992-09-29 15:41:28 -07:00
Roland McGrath
6d7afc4f02 (os handling): Recognize `linux' as a valid os.
From-SVN: r2282
1992-09-29 22:19:48 +00:00
Richard Stallman
a06865af8b Use <...> in #include.
From-SVN: r2281
1992-09-29 21:29:17 +00:00
Richard Stallman
5fcb671c83 Fix comment syntax after #endif.
From-SVN: r2280
1992-09-29 20:08:08 +00:00
Richard Stallman
e18eb52342 (ENQUIRE_CFLAGS): Remove -DNO_SC.
From-SVN: r2279
1992-09-29 20:06:22 +00:00
Richard Kenner
8aecce0a61 (expand_binop): Convert X - C to X + (-C).
From-SVN: r2278
1992-09-29 10:14:19 -04:00
Jim Wilson
7f11183e26 (copy_loop_body...
(copy_loop_body, JUMP_INSN case): When invert jump
insn, must first construct new insn before trying to invert it,
so that validate_change will work properly.

From-SVN: r2277
1992-09-28 14:25:53 -07:00
Jim Wilson
4024394c6f (find_splittable_givs): Pass mem_mode not mode to memory_address_p.
From-SVN: r2276
1992-09-28 14:21:34 -07:00
Jim Wilson
5746764666 (copy_loop_body, JUMP_INSN case): When setting JUMP_LABEL field, verify that what we think is a label actually is.
(copy_loop_body, JUMP_INSN case): When setting
JUMP_LABEL field, verify that what we think is a label actually
is.  If it isn't then map the old JUMP_LABEL to find the new one.

From-SVN: r2275
1992-09-28 14:18:17 -07:00
Jim Wilson
72f4648ec5 (orcc peephole): Don't allow FP regs to match pattern.
From-SVN: r2274
1992-09-28 14:16:10 -07:00
Richard Stallman
339ae22de6 (va_arg, va_start): Explicitly cast to __gnuc_va_alist.
From-SVN: r2273
1992-09-28 21:16:00 +00:00
Jim Wilson
369f5d8498 (indirect_jump): Use bx instead of b*, and accept any
address_operand instead of just a register operand.

From-SVN: r2272
1992-09-28 14:14:21 -07:00
Jim Wilson
b676e9e259 (i960_round_tree): Correct conversion of bits to bytes to round up to nearest byte.
(i960_round_tree): Correct conversion of bits to bytes to
round up to nearest byte.
(i960_round_align): Likewise.

From-SVN: r2271
1992-09-28 14:11:48 -07:00
Michael Meissner
b711cbccab Fix typo.
From-SVN: r2270
1992-09-28 19:53:47 +00:00
Richard Stallman
c15886da53 (expand_binop): Use get_insns, not gen_sequence.
From-SVN: r2269
1992-09-28 16:24:36 +00:00
Richard Stallman
8706edbc5c (build_unary_op): Address of nested fcn isn't constant.
From-SVN: r2268
1992-09-28 16:07:29 +00:00
Richard Stallman
bcea218548 (__builtin_new): Avoid passing 0 to malloc.
From-SVN: r2267
1992-09-28 13:43:23 +00:00
Richard Stallman
560df144a9 (indirect_jump): Use address_operand as predicate.
From-SVN: r2266
1992-09-28 13:38:03 +00:00
Richard Kenner
a0044fb10e (subsi3): Remove last change.
(allocate_stack): Go back to calling subsi3.

From-SVN: r2265
1992-09-28 08:18:10 -04:00
Richard Kenner
84b55618e8 (struct arg_data): New field unsignedp.
(expand_call): Handle PROMOTE_FUNCTION_ARGS and PROMOTE_FUNCTION_RETURN.

From-SVN: r2264
1992-09-27 18:19:16 -04:00
Richard Kenner
a53e14c093 (assign_parms): If PROMOTE_FUNCTION_ARGS is defined, see if the incoming register should be used in a wider mode.
(assign_parms): If PROMOTE_FUNCTION_ARGS is defined, see if the incoming
register should be used in a wider mode.
(expand_function_start): Likewise for return value if PROMOTE_FUNCTION_RETURN
is defined.

From-SVN: r2263
1992-09-27 18:18:33 -04:00
Richard Kenner
01def76468 (subsi3): Don't bother calling negate_rtx for constant; we shouldn't be called with a constant.
(subsi3): Don't bother calling negate_rtx for constant; we shouldn't be
called with a constant.
(maskir patterns): Don't mention an operand before it is used; use operand
number 1 for operand with '0' constraint.
(allocate_stack): Use reg_or_short_operand for predicate of allocation amount;
use negate_rtx and always make a PLUS.

From-SVN: r2262
1992-09-27 13:05:40 -04:00
Richard Kenner
36d51583bf (EXTRA_CONSTRAINT, case 'Q'): Check for MEM instead of calling memory_operand.
(SHIFT_COUNT_TRUNCATED): No longer define this.

From-SVN: r2261
1992-09-27 13:04:57 -04:00