Commit Graph

2299 Commits

Author SHA1 Message Date
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
Michael Meissner
e4e0d64982 Print OSF/rose for version info.
From-SVN: r2260
1992-09-27 13:19:01 +00:00
Richard Stallman
fe673db796 (indirect_jump): Use %a0 for output, and p for constraint.
From-SVN: r2259
1992-09-27 03:31:24 +00:00
Richard Stallman
0ba846c771 (eliminate_regs_in_insn): If recognition fails on modified insn,
go ahead and modify just the same.

From-SVN: r2258
1992-09-27 03:28:28 +00:00
Richard Stallman
4a5d0fb595 (eliminate_regs_in_insn): Rerecognize if move insn becomes a non-move.
From-SVN: r2257
1992-09-26 22:48:08 +00:00
Michael Meissner
a6b65dff2f RISC-OS rev 5, DEC OSF/1 changes.
From-SVN: r2256
1992-09-26 22:37:56 +00:00
Torbjorn Granlund
fd3f89a9a2 (comment before extendhisi2): Remove the lie.
(zero_extendhisi2): Rewrite to work if op0 == op1.  Use
gen_lowpart in preparation code.
(extendqisi2, extendhisi2): Likewise.
(extendqihi2): Expand.
(restorehi): Rewrite for correctness, efficiency, and
clarity. Avoid generating insns involving truncate.  Generate
needed pseudos in preparation statements.
(storehi): Likewise.
(storeinthi): Likewise.
(movhi): Call gen_storehi, gen_restorehi, gen_storeinthi according
their new definitions.  Use force_reg to put address in register.

From-SVN: r2255
1992-09-26 22:36:47 +00:00
Michael Meissner
57cdc6c2fe Initial revision
From-SVN: r2254
1992-09-26 22:01:27 +00:00
Richard Stallman
28b039e302 (location_attribute): If DECL_RTL looks like (MEM pseudo),
treat that variable as optimized away.

From-SVN: r2253
1992-09-26 20:40:25 +00:00
Richard Stallman
68703794d6 (install-fixincludes): Use - when making syslimits.h; fix if-statement syntax.
From-SVN: r2252
1992-09-26 20:28:15 +00:00
Richard Stallman
0546e26835 (jump_optimize): When handling dispatch table that always
goes to the same place, verify previous insn exists.

From-SVN: r2251
1992-09-26 19:09:26 +00:00