Commit Graph

3415 Commits

Author SHA1 Message Date
Jim Wilson
9ad2c69271 (EXTRA_CONSTAINTS): Delete 'R' support.
(CONST_OK_FOR_LETTER_P): Correct 'K' comment.

From-SVN: r3428
1993-02-05 15:37:09 -08:00
Jim Wilson
193013107a (CEIL): Delete.
(restore_referenced_regs): New var NUMREGS.  Pass NUMREGS to
insert_save_restore instead of using using CEIL.

From-SVN: r3427
1993-02-05 15:35:32 -08:00
Jim Wilson
0b298be417 (true_dependence, anti_dependence, output_dependence):
Assume that MEM_IN_STRUCT_P QImode varying addresses can overlap a
non-MEM_IN_STRUCT_P fixed address.

From-SVN: r3426
1993-02-05 15:33:36 -08:00
Jim Wilson
0a56ad627e (legitimate_address_p): Accept either REG or SUBREG where
a register is valid in an address.

From-SVN: r3425
1993-02-05 15:31:30 -08:00
Jim Wilson
2e4f452909 (finclude): Error if try to include a directory.
(S_ISDIR): Add a default definition.

From-SVN: r3424
1993-02-05 15:26:54 -08:00
Richard Stallman
53b01f59f9 (build_c_cast): Bypass default_conversion when casting to void.
From-SVN: r3423
1993-02-05 23:00:46 +00:00
Richard Stallman
ed3eea740a Add some prototypes.
From-SVN: r3422
1993-02-05 22:56:37 +00:00
Brendan Kehoe
9350744414 * toplev.c (lang_options): Remove -fSOS' and -fno-SOS'.
From-SVN: r3421
1993-02-05 13:33:46 -05:00
Richard Stallman
4e7c9a2248 (emit_library_call, emit_library_call_value):
Handle STACK_BOUNDARY when using push insns.

From-SVN: r3420
1993-02-03 23:26:51 +00:00
Richard Stallman
f79322f009 (init_objc): Use xrealoc, not realloc.
From-SVN: r3419
1993-02-03 23:23:22 +00:00
Richard Stallman
b82a0ad986 Fix typos.
From-SVN: r3418
1993-02-03 01:48:09 +00:00
Richard Stallman
41fe4d9e58 (assemble_zeros): Output nothing rather than empty skip.
From-SVN: r3417
1993-02-03 00:16:18 +00:00
Richard Stallman
a4d8855c2a Comment fixes.
From-SVN: r3416
1993-02-02 23:38:03 +00:00
Richard Stallman
5abb45f22e (build_conditional_expr): Always convert and check
both result operands even if condition is constant.

From-SVN: r3415
1993-02-02 23:37:23 +00:00
Richard Stallman
e681c5a107 Add some braces for clarity.
From-SVN: r3414
1993-02-02 23:35:04 +00:00
Richard Stallman
98e4b83582 (stmp-fixincludes): Don't run FIXINCLUDES if it is Makefile.in.
From-SVN: r3413
1993-02-02 23:10:57 +00:00
Richard Stallman
030f365a0d (pushdecl): DECL_EXTERNAL implies TREE_PUBLIC, so test just the latter.
From-SVN: r3412
1993-02-02 22:54:34 +00:00
Richard Stallman
089e575bb0 (int_reg_class_contents): Make unsigned to avoid signed integer overflow.
(init_reg_sets): Avoid signed integer overflow.

From-SVN: r3411
1993-02-02 22:25:11 +00:00
Richard Stallman
b670485b6a (parse_escape): Support \E and \e like cc1:
they mean \033, and they generate a warning if pedantic.

From-SVN: r3410
1993-02-02 22:14:40 +00:00
Richard Stallman
585ec9386c (install-headers-cpio): Delete spurious parens from around the whole command.
(install-headers-tar): Delete parens around the "source" tar cmd.

From-SVN: r3409
1993-02-02 21:39:02 +00:00
Jim Wilson
e9d0deecab (INSTALL_TARGET): Delete.
From-SVN: r3408
1993-02-02 12:17:24 -08:00
Brendan Kehoe
5c5390871f Makefile.in (gcc.o): Depend upon config.status...
* Makefile.in (gcc.o): Depend upon config.status, so any changes
        in prefix will be communicated to the build process.
        (cccp.o): Likewise.

From-SVN: r3407
1993-02-02 14:18:03 -05:00
Torbjorn Granlund
202571cd40 (cmov): Use @ for output.
From-SVN: r3406
1993-02-02 12:10:28 +00:00
Richard Stallman
d74154d508 (constant_expression_warning): Suppress duplicate warnings.
(convert_and_check, overflow_warning, unsigned_conversion_warning):
New functions.  Prototypes added to c-tree.h.

From-SVN: r3405
1993-02-02 04:40:43 +00:00
Richard Stallman
e58cd767bb (parser_build_binary_op): Warn about overflows and conversions of out-of-range...
(parser_build_binary_op): Warn about overflows and
conversions of out-of-range constants in parser-built binary expressions.
(build_conditional_expr): Check conversions in if-then-else expressions.
(build_c_cast): Ignore any integer overflow caused by a cast.
(convert_for_assignment): Warn if source had overflow in folding.
(process_init_constructor): Report overflows in array initializer indexes.

From-SVN: r3404
1993-02-02 04:40:04 +00:00
Richard Stallman
5303129fc9 (unary_expr): Warn about overflows in parser-built unary expressions.
From-SVN: r3403
1993-02-02 04:39:14 +00:00
Richard Stallman
90374cc2ff (finish_decl, grokdeclarator, finish_struct): Report overflows in storage sizes.
(finish_decl, grokdeclarator, finish_struct): Report
overflows in storage sizes.
(build_enumerator): Report overflows in enumerators.

From-SVN: r3402
1993-02-02 04:38:30 +00:00
Richard Stallman
e0f776fbcb (same_sign): Removed.
(lshift_double): Don't report arithmetic overflow, since the
C standard doesn't seem to require it here.
(force_fit_type): Accept new parameter specifying whether a signed
overflow has already occurred.  Yield overflow indication.
All callers changed.
(neg_double): Don't report overflow when -0 yields 0.
(const_binop): Propagate operand overflow for warnings.
Don't report overflow when -1 + 1 yields 0.

From-SVN: r3401
1993-02-02 04:37:37 +00:00
Richard Stallman
42b85a5532 (expand_builtin): Report overflow if __builtin_args_info arg exceeds one word.
(expand_builtin): Report overflow if __builtin_args_info
arg exceeds one word.
Fix punctuation of error messages.

From-SVN: r3400
1993-02-02 04:26:15 +00:00
Richard Stallman
e05d627094 (iorsi3): Add CC_STATUS_INIT if use bset.
From-SVN: r3399
1993-02-01 16:58:37 +00:00
Richard Kenner
fc06d7aaee (simplify_and_const_int): Never consider bits outside of MODE.
From-SVN: r3398
1993-01-31 17:44:48 -05:00
Doug Evans
8935266327 * (build_module_descriptor): fix call to start_function
From-SVN: r3397
1993-01-31 20:24:19 +00:00
Torbjorn Granlund
56a65d12a8 (zvdep32): Handle 5 bit immediates for operand 1.
(ashlsi3): Likewise.
(and + ashift): New combine pattern.

From-SVN: r3396
1993-01-31 18:07:14 +00:00
Richard Stallman
32d2858d9b Include gvarargs.h before system headers.
From-SVN: r3395
1993-01-31 17:43:09 +00:00
Doug Evans
43a5a54258 * (build_compound_expr): insert missing return
From-SVN: r3394
1993-01-30 23:46:58 +00:00
Jeff Law
222727e8f6 of the comparison.
(cmpXf insns): Allow 0.0 for either operand of the
	comparison.  Update output template to handle 0.0 as one
	of the operands.
	(movsi insn, fp->fp case): Update constraints and template to
	allow store of zero into an FP register.
	(movhi insn, fp->fp case): Likewise.
	(movqi insn, fp->fp case): Likewise.
	(movdi insn, fp->fp case): Likewise.
	(movDF const_double pattern): Do not apply this pattern
	if the const_double is zero.
	(movdf insn, fp->fp and gr->gr cases): Update constraints
	and output template to allow store of zero into a FP or GR.
	Update condition string to allow zero as operand 1.
	(movsf insn, fp->fp and gr->gr cases): Likewise.  Also allow
	store of zero into a memory location.

From-SVN: r3393
1993-01-30 14:10:29 -07:00
Jeff Law
af69aabbee pa.h (CONST_DOUBLE_OK_FOR_LETTER_P): Generalize.
* pa.h (CONST_DOUBLE_OK_FOR_LETTER_P): Generalize.
	(LEGITIMATE_CONSTANT_P): Allow 0.0.
	(CONST_COSTS, case CONST_DOUBLE): fp0.0 is free when
	not used in a SET expression.

From-SVN: r3392
1993-01-30 14:10:07 -07:00
Jeff Law
f048ca473f pa.c (reg_or_0_operand): Use CONST0_RTX instead of const0_rtx.
* pa.c (reg_or_0_operand): Use CONST0_RTX instead of
	const0_rtx.
	(reg_or_0_or_nonsymb_mem_operand): New function.
	(emit_move_sequence): Copying CONST0_RTX into any
	register can be done directly.  Use CONST0_RTX instead
	of const0_rtx.
	(output_fp_move_double): Handle copying a CONST0_RTX
	into FP or integer registers.
	(print_operand): Handle "%r0" for DFmode and SFmode
	values too.

From-SVN: r3391
1993-01-30 14:09:51 -07:00
Richard Stallman
7c57c7983d Add many prototypes from bill@cygnus.com.
From-SVN: r3390
1993-01-30 19:59:11 +00:00
Niklas Hallqvist
5d63b07f42 * c-decl.c (c_build_type_variant): Moved to c-common.c.
From-SVN: r3389
1993-01-30 06:06:30 +00:00
Niklas Hallqvist
0b73773ce6 c-common.c (c_build_type_variant): Moved here from c-decl.c.
* c-common.c (c_build_type_variant): Moved here from c-decl.c.
	Redirected the TYPE_MAIN_VARIANT to the "real" main variant.
	Build the possibly new array type on the permanent obstack if it
        the original type was permanent.
	(permanent_obstack): Added extern declaration.

From-SVN: r3388
1993-01-30 06:06:09 +00:00
Richard Stallman
42f769c15a (force_fit_type): Abort if T not INTEGER_CST.
From-SVN: r3387
1993-01-30 01:57:54 +00:00
Richard Stallman
4d7d0403c6 (size_in_bytes): Only call force_fit_type for an INTEGER_CST.
From-SVN: r3386
1993-01-30 01:56:57 +00:00
Jeff Law
f2fbfe928c reload.c (find_reloads_toplev): When handling a (subreg (reg)) where (reg) will be replaced by a memory...
* reload.c (find_reloads_toplev): When handling a (subreg (reg))
	where (reg) will be replaced by a memory reference, if the memory
	address is invalid for the mode of the subreg, then search the
	memory address for reloads.

From-SVN: r3385
1993-01-29 10:09:30 -07:00
Jeff Law
d39b685469 * pa.h (FIXED_REGISTERS): %r31 is not fixed.
From-SVN: r3384
1993-01-29 10:07:33 -07:00
James Van Artsdalen
dc78213e1a (compare_for_stack_reg): Properly swap operands of a COMPARE.
From-SVN: r3383
1993-01-29 05:48:47 +00:00
Jeff Law
9a82d0bb78 pa.md (iorsi3): Split into two patterns...
* pa.md (iorsi3): Split into two patterns, a named "iorsi3" which
	only accepts registers, and a combiner pattern which accepts a
	restricted set of constant integers for one term.

From-SVN: r3382
1993-01-28 11:59:42 -07:00
Jeff Law
15f6ed9f8b * pa.c (ior_operand): Do not accept registers.
From-SVN: r3381
1993-01-28 11:59:15 -07:00
Jeff Law
8f262c0d3e * pa.h (LEGITIMIZE_ADDRESS): Delete cases which can never happen.
From-SVN: r3380
1993-01-28 11:56:26 -07:00
Jeff Law
3518f90492 pa.h (CPP_SPEC for OLD_CC): Delete.
* pa.h (CPP_SPEC for OLD_CC): Delete.
	(CC1_SPEC for OLD_CC): Likewise.
	(MODES_TIEABLE_P): Simplify.
	(ASM_OUTPUT_ADDR_VEC_ELT): Fix comment.
	(leaf_function): Delete unused variable.
	(HARD_REGNO_MODE_OK): Delete old useless version.
	(FIRST_PARM_OFFSET): Likewise.
	(FIRST_PARM_CALLER_OFFSET): Likewise.
	(EXPAND_BUILTIN_SAVEREGS): Likewise.
	(ASM_OUTPUT_REG_PUSH): Likewise.
	(ASM_OUTPUT_REG_POP): Likewise

From-SVN: r3379
1993-01-28 11:53:11 -07:00