Commit Graph

4817 Commits

Author SHA1 Message Date
Doug Evans 5175ad374a (find_auto_inc): In *p=expr;q=p+size case, avoid clobbering q if referenced in expr.
* (find_auto_inc): In *p=expr;q=p+size case, avoid clobbering q
if referenced in expr.

From-SVN: r4830
1993-07-02 02:51:57 +00:00
Paul Eggert f52fba8493 (pushcase...
(pushcase, pushcase_range): Add a new converter
function argument that specifies how to convert case labels to the
nominal type.

From-SVN: r4829
1993-07-02 01:26:01 +00:00
Paul Eggert dc3907c5c1 (const_binop, fold_convert, fold):
Set TREE_OVERFLOW in addition to TREE_CONSTANT_OVERFLOW.

From-SVN: r4828
1993-07-02 01:26:01 +00:00
Paul Eggert 7193bce22f (constant_expression_warning, overflow_warning,
convert_and_check): Distinguish between TREE_OVERFLOW, which is just
for warnings, and TREE_CONSTANT_OVERFLOW, which is for required
pedantic diagnostics.

From-SVN: r4827
1993-07-02 01:26:01 +00:00
Paul Eggert 261450e857 (TREE_OVERFLOW): New macro.
(pushcase, pushcase_range): Add a new converter
function argument that specifies how to convert case labels to the
nominal type.

From-SVN: r4826
1993-07-02 01:26:01 +00:00
Paul Eggert 10d5caece7 (c_sizeof, build_c_cast): Set TREE_OVERFLOW in addition to TREE_CONSTANT_OVERFLOW.
(c_sizeof, build_c_cast): Set TREE_OVERFLOW in addition
to TREE_CONSTANT_OVERFLOW.
(store_init_value): STRIP_TYPE_NOPS is required before
constant_expression_warning.

From-SVN: r4825
1993-07-02 01:26:01 +00:00
Paul Eggert 2ac3624bab (label): Use `convert_and_check' when checking for
overflow in case labels.

From-SVN: r4824
1993-07-02 01:20:01 +00:00
Richard Stallman 9f8373c352 (eliminate_regs): Fix typo in BYTE_LOADS_ZERO_EXTEND.
From-SVN: r4823
1993-07-02 00:56:37 +00:00
Richard Stallman 1e72f68fc5 (choose_temp_base): Try multiple variables.
(choose_temp_base): Try multiple variables.  Don't
assume that the variable points to a valid directory.

(pexecute): Handle the MS-DOS return codes correctly.
Add .exe to file name when appropriate.

From-SVN: r4822
1993-07-01 23:30:43 +00:00
Richard Stallman 6e6c83178f Make gcc use its own obstack.o.
From-SVN: r4821
1993-07-01 23:28:56 +00:00
Jeff Law c0d80b8819 pa.h (OVERRIDE_OPTIONS): Define.
* pa.h (OVERRIDE_OPTIONS): Define.  Give a warning if -fpic or
	-fPIC was specified on the command line.

From-SVN: r4820
1993-07-01 14:20:28 -06:00
Jeff Law 500839a3a7 pa-utahmach.h (HP_FP_ARG_DESCRIPTOR_REVERSED): Do not define here.
* pa-utahmach.h (HP_FP_ARG_DESCRIPTOR_REVERSED): Do not define here.
	* pa1-utahmach.h (HP_FP_ARG_DESCRIPTOR_REVERSED): Likewise.
	* pa1-ghpux.h (HP_FP_ARG_DESCRIPTOR_REVERSED): Likewise.
	* pa1-hpux.h (HP_FP_ARG_DESCRIPTOR_REVERSED): Likewise.

From-SVN: r4819
1993-07-01 13:25:26 -06:00
Jeff Law 818d327a38 * pa-hpux7.h (HP_FP_ARG_DESCRIPTOR_REVERSED): Define.
From-SVN: r4818
1993-07-01 13:23:44 -06:00
Jeff Law 22d6e660fe pa.c (output_arg_descriptor): Reverse polarity of test for HP_FP_ARG_DESCRIPTOR_REVERSED.
* pa.c (output_arg_descriptor): Reverse polarity of test for
	HP_FP_ARG_DESCRIPTOR_REVERSED.
	* pa.h (ASM_DOUBLE_ARG_DESCRIPTORS): Likewise.

From-SVN: r4817
1993-07-01 13:22:47 -06:00
Jeff Law b432d50d82 Initial revision
From-SVN: r4816
1993-07-01 13:22:29 -06:00
Paul Eggert 884caf18bb Don't create absolute symbolic links;
make them relative instead.

From-SVN: r4815
1993-07-01 19:06:50 +00:00
Paul Eggert 458e8901e3 Remove special case for IRIX 4.0.1 that was superseded
by a more general fix to fixincludes.

From-SVN: r4814
1993-07-01 18:15:17 +00:00
Richard Kenner 56f8e5e67c (fold, case GE_EXPR, LT_EXPR): Don't assume result of comparison is
integer_type_node.

From-SVN: r4813
1993-07-01 09:48:11 -04:00
Paul Eggert 20c74d5ea3 Remove everything after #endif, instead of trying to turn it into comments, which loses inside comments.
Remove everything after #endif, instead of trying
to turn it into comments, which loses inside comments.
Remove #endif workarounds for Ultrix 4.[12]
and SunOS 4.1, which are no longer needed because of this bug fix.

From-SVN: r4812
1993-07-01 07:46:15 +00:00
Paul Eggert 6fa42ed8b0 Remove everything after #endif, instead of trying
to turn it into comments, which loses inside comments.

From-SVN: r4811
1993-07-01 07:46:15 +00:00
Richard Stallman c980ac4985 (expand_expr...
(expand_expr, case PLUS_EXPR): In the special case
to return sym+integer as an expression, limit it to when
the non-CONST_INT arg is at least a constant.

(expand_increment): Do preinc with single insn if there's such an insn.

(store_field): Store unaligned field with bit field methods.

From-SVN: r4810
1993-07-01 05:17:45 +00:00
Roland McGrath c62d2a9cfb (SIZE_TYPE): Don't define.
From-SVN: r4809
1993-07-01 04:22:57 +00:00
Richard Stallman d40bb52a59 (gen_int_relational): For test with constant result,
copy const0_rtx or const_true_rtx to result register instead
of allocating a new pseudo-register.

From-SVN: r4808
1993-06-30 21:35:17 +00:00
Richard Stallman de35ae1f49 (SIZE_TYPE): Definition deleted.
From-SVN: r4807
1993-06-30 20:18:47 +00:00
Roland McGrath 9f30676034 Recognize `gnu' as a valid operating system. Sheesh.
From-SVN: r4806
1993-06-30 19:19:42 +00:00
Richard Stallman 985525245a (main): Don't look for `gld' or `TARGET-gld'.
From-SVN: r4805
1993-06-30 19:02:44 +00:00
Jeff Law da3c33362d pa.c (output_function_prologue): Emit SAVE_SP flag if a frame pointer is needed.
* pa.c (output_function_prologue): Emit SAVE_SP flag if a frame
	pointer is needed.

From-SVN: r4804
1993-06-30 11:43:20 -06:00
Richard Stallman b38061e8fe Fix copyright years.
From-SVN: r4803
1993-06-30 17:43:07 +00:00
Richard Stallman b3fcd2906a Fix copyright years.
From-SVN: r4802
1993-06-30 17:26:29 +00:00
Richard Stallman daa4489f7b (stdtypes.h): Verify that size_t etc. follow whitespace.
From-SVN: r4801
1993-06-30 17:13:09 +00:00
Richard Stallman 3474db0e5e (expand_end_case): Pass 1 as UNSIGNEDP to emit_cmp_insn when handling wide values.
(expand_end_case): Pass 1 as UNSIGNEDP to emit_cmp_insn
when handling wide values.
Save original minval in orig_minval and use for making the table.

From-SVN: r4800
1993-06-30 05:32:58 +00:00
Jeff Law 3c84bf1b0f pa.c (singlemove_string): Use zdepi and ldil to load constants into registers when appropriate.
* pa.c (singlemove_string): Use zdepi and ldil to load constants
	into registers when appropriate.

From-SVN: r4799
1993-06-29 20:28:38 -06:00
Richard Stallman 60343c3baa Comment change.
From-SVN: r4798
1993-06-29 22:15:59 +00:00
Richard Stallman c070dcf733 comment change.
From-SVN: r4797
1993-06-29 22:05:11 +00:00
Richard Stallman 72cdb410fd Recognize -sysv* after -sysvr4.
From-SVN: r4796
1993-06-29 15:31:19 +00:00
Richard Stallman f5668333aa (GO_IF_NONINDEXED_ADDRESS): Declare reg_equiv_mem.
From-SVN: r4795
1993-06-29 15:26:52 +00:00
Richard Stallman 55c8e1db2a (fix_truncdfsi2, fix_truncdfhi2, fix_truncdfqi2):
Require TARGET_68881 as well as TARGET_68040.

From-SVN: r4794
1993-06-29 04:40:00 +00:00
Richard Stallman d19184d67a (main): For -iwithprefix, if no include_prefix,
make a default from GCC_INCLUDE_DIR.
Support -iwithprefixbefore.

From-SVN: r4793
1993-06-29 04:37:51 +00:00
Steve Chamberlain b9654711e9 Major rework.
From-SVN: r4792
1993-06-29 00:10:35 +00:00
Richard Stallman 75d9865511 (file): When changing VA_LIST to DUMMY_VA_LIST, preserve _NEED___VA_LIST.
From-SVN: r4791
1993-06-28 18:58:14 +00:00
Richard Stallman fcbb477730 (movdf, movdi): Delete `&' from constraint.
From-SVN: r4790
1993-06-28 18:21:32 +00:00
Richard Stallman 5a167d9cee (output_move_double): Handle reg[n,n+1] = mem[reg[n] + reg[n+1]].
From-SVN: r4789
1993-06-28 18:21:17 +00:00
Richard Stallman 3b76513aee (output_move_double): Use new local var highest_first to make sure addreg1 gets handled in the overlap case.
(output_move_double): Use new local var
highest_first to make sure addreg1 gets handled in the overlap case.
In 2-reg-overlap case, really use proper reg in new address.

From-SVN: r4788
1993-06-28 18:16:02 +00:00
Richard Stallman fd956e81b7 (movdf, movdi): Delete `&' from load constraint.
From-SVN: r4787
1993-06-28 17:51:41 +00:00
Richard Stallman e58d5c618e (output_move_double): Handle reg[n,n+1] = mem[reg[n] + reg[n+1]].
From-SVN: r4786
1993-06-28 17:51:19 +00:00
Richard Stallman d747372396 (CPP_SPEC): For -compat-bsd, put the ucbinclude dirs before, not after.
From-SVN: r4785
1993-06-28 17:01:44 +00:00
Richard Stallman cc93088804 (GO_IF_NONINDEXED_ADDRESS): If reload_in_progress,
check a REG's reg_equiv_mem the way we would check a MEM.

From-SVN: r4784
1993-06-28 07:44:34 +00:00
Richard Stallman c1875d66e2 (find_reloads_address): Be selective about what inner
addresses to allow in an indirect mem ref.

From-SVN: r4783
1993-06-28 07:44:08 +00:00
Richard Stallman 8b3d02513e (DEFAULT_WORD_SWITCH_TAKES_ARG): Check for -iwithprefixbefore.
(option_map): Add --include-with-prefix-before and
--include-with-prefix-after.

From-SVN: r4782
1993-06-28 04:54:15 +00:00
Richard Stallman 12abafbd01 Comment change.
From-SVN: r4781
1993-06-28 03:43:51 +00:00