Commit Graph

4843 Commits

Author SHA1 Message Date
Richard Stallman
ec820a12da (duplicate_decls): Don't warn for non-extern var decl
following an extern one (for -Wredundant-decls).

From-SVN: r4856
1993-07-06 06:12:49 +00:00
Richard Kenner
3abe6f904a (emit_reload_insns): Don't use gen_lowpart_common to get reload
register into proper mode.

From-SVN: r4855
1993-07-05 17:59:42 -04:00
Richard Kenner
26f1a00ea1 (subst_reloads): Don't use gen_lowpart_common to get reload register
into proper mode.

From-SVN: r4854
1993-07-05 17:59:09 -04:00
Richard Kenner
bc0776c620 (subst, case PLUS): Simplify (plus (comp A B) -1), etc.
From-SVN: r4853
1993-07-05 17:56:42 -04:00
Richard Kenner
05a0d5eabb (fold, case EQ_EXPR, LE_EXPR): If comparing results of signed MOD with
zero, use an unsigned MOD.

From-SVN: r4852
1993-07-05 17:55:06 -04:00
Richard Kenner
40083ddf51 Fix typo: had ARGS_GROW_DOWNARD.
From-SVN: r4851
1993-07-05 17:53:41 -04:00
Richard Kenner
66be803d8b Initial revision
From-SVN: r4850
1993-07-05 17:52:43 -04:00
Richard Kenner
ddec4fb361 (CLIB): No longer need -lm.
From-SVN: r4849
1993-07-05 17:49:33 -04:00
Richard Kenner
870dfbc8c1 (call patterns): Use %. in cror.
From-SVN: r4848
1993-07-05 17:48:42 -04:00
Richard Kenner
11117bb9ad (CPP_PREDEFINES): Define _AIX32.
(ASM_DECLARE_FUNCTION_NAME, TEXT_SECTION_ASM_OP): Use ".text[PR]" as csect
name.
(RS6000_CROR_BIT_NUMBER): New macro.
(PRINT_OPERAND_PUNCT_VALID_P): Allow `.' as valid.

From-SVN: r4847
1993-07-05 17:48:04 -04:00
Richard Kenner
a8b3aeda41 (input_operand): Fix missing operand on a return.
(print_operand): Add new code '.'.
(rs6000_sa_size): Delete unused variable `i'.
(output_prolog, output_epilog): Use new RS6000_CROR_BIT_NUMBER.

From-SVN: r4846
1993-07-05 17:47:21 -04:00
Richard Kenner
6dd0c6da72 (movhi): When storing a constant in an HImode register...
(movhi): When storing a constant in an HImode register, use cal16
instead of cal so that the high bits are clear (combine requires
this).

From-SVN: r4845
1993-07-05 17:43:43 -04:00
Richard Stallman
2a73b0b200 (encode_type_qualifiers): Add casts to enums in indices.
From-SVN: r4844
1993-07-05 21:16:10 +00:00
Doug Evans
b583eed865 Parameterize libgcc.a and install-libgcc (LIBGCC and INSTALL_LIBGCC).
From-SVN: r4843
1993-07-05 15:35:24 +00:00
Doug Evans
e02b99578f (get_narrower): Preserve unsignedness when bitschange == 0.
From-SVN: r4842
1993-07-05 06:25:00 +00:00
Richard Stallman
ccc9803602 (store_field): Test STRICT_ALIGNMENT at run time.
(expand_expr, COMPONENT_REF case): Fetch unaligned field as bitfield.

From-SVN: r4841
1993-07-05 03:31:42 +00:00
Richard Stallman
06c94bceeb (store_split_bit_field, extract_split_bit_field):
Handle fields split across more than 2 aligned units.

From-SVN: r4840
1993-07-05 03:30:59 +00:00
Richard Stallman
626e18ea3f (error, fatal, fatal_perror): Say collect2, not collect.
From-SVN: r4839
1993-07-04 18:02:51 +00:00
Richard Stallman
982a975ec6 (primary): In statement expression case,
if compstmt returns something other than a BLOCK,
return it unchanged.

From-SVN: r4838
1993-07-04 06:56:42 +00:00
Jeff Law
5d5c854105 pa.md (call expanders): Emit different patterns for named calls and indirect calls.
* pa.md (call expanders): Emit different patterns for named calls
	and indirect calls.
	(call_internal_symref, call_internal_reg): New patterns.
	(call_internal): Deleted.  Now handled by call_interal_{symref,reg}.
	(call_value_internal_symref, call_value_internal_reg): New patterns.
	(call_value_internal): Deleted.  Now handled by
	call_value_internal_{symref,reg).

From-SVN: r4837
1993-07-03 16:55:32 -06:00
Jeff Law
9c9a6f426c * pa.c (call_operand_address): Do not accept registers anymore.
From-SVN: r4836
1993-07-03 16:55:17 -06:00
Doug Evans
6c61ac77c0 (main): Give ld_file_name an initial value.
From-SVN: r4835
1993-07-03 20:40:36 +00:00
Richard Stallman
d323d7d1bc (GO_IF_NONINDEXED_ADDRESS): Delete spurious space in prev change.
From-SVN: r4834
1993-07-03 20:31:32 +00:00
Jim Wilson
e842cd4cb4 (ashldi3+2): Change lshift to ashift.
From-SVN: r4833
1993-07-02 18:18:40 -07:00
Jim Wilson
053e4cac60 (zero_extendhisi2, extendhisi2, extendqihi2,
extendqisi2): Preserve the SUBREG_WORD value of subreg operands.
(ashldi3): Delete, obsoleted by lshldi3 pattern.
(lshldi3): Rename to ashldi3 for consistency with SImode shifts.

From-SVN: r4832
1993-07-02 13:36:28 -07:00
Richard Stallman
e6431ec56f (install-headers-tar): Ignore exit status of the first tar command.
From-SVN: r4831
1993-07-02 05:12:45 +00:00
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