platform/upstream/gcc.git
31 years ago(primary): In statement expression case,
Richard Stallman [Sun, 4 Jul 1993 06:56:42 +0000 (06:56 +0000)]
(primary): In statement expression case,

if compstmt returns something other than a BLOCK,
return it unchanged.

From-SVN: r4838

31 years agopa.md (call expanders): Emit different patterns for named calls and indirect calls.
Jeff Law [Sat, 3 Jul 1993 22:55:32 +0000 (16:55 -0600)]
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

31 years ago* pa.c (call_operand_address): Do not accept registers anymore.
Jeff Law [Sat, 3 Jul 1993 22:55:17 +0000 (16:55 -0600)]
* pa.c (call_operand_address): Do not accept registers anymore.

From-SVN: r4836

31 years ago(main): Give ld_file_name an initial value.
Doug Evans [Sat, 3 Jul 1993 20:40:36 +0000 (20:40 +0000)]
(main): Give ld_file_name an initial value.

From-SVN: r4835

31 years ago(GO_IF_NONINDEXED_ADDRESS): Delete spurious space in prev change.
Richard Stallman [Sat, 3 Jul 1993 20:31:32 +0000 (20:31 +0000)]
(GO_IF_NONINDEXED_ADDRESS): Delete spurious space in prev change.

From-SVN: r4834

31 years ago(ashldi3+2): Change lshift to ashift.
Jim Wilson [Sat, 3 Jul 1993 01:18:40 +0000 (18:18 -0700)]
(ashldi3+2): Change lshift to ashift.

From-SVN: r4833

31 years ago(zero_extendhisi2, extendhisi2, extendqihi2,
Jim Wilson [Fri, 2 Jul 1993 20:36:28 +0000 (13:36 -0700)]
(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

31 years ago(install-headers-tar): Ignore exit status of the first tar command.
Richard Stallman [Fri, 2 Jul 1993 05:12:45 +0000 (05:12 +0000)]
(install-headers-tar): Ignore exit status of the first tar command.

From-SVN: r4831

31 years ago(find_auto_inc): In *p=expr;q=p+size case, avoid clobbering q if referenced in expr.
Doug Evans [Fri, 2 Jul 1993 02:51:57 +0000 (02:51 +0000)]
(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

31 years ago(pushcase...
Paul Eggert [Fri, 2 Jul 1993 01:26:01 +0000 (01:26 +0000)]
(pushcase...

(pushcase, pushcase_range): Add a new converter
function argument that specifies how to convert case labels to the
nominal type.

From-SVN: r4829

31 years ago(const_binop, fold_convert, fold):
Paul Eggert [Fri, 2 Jul 1993 01:26:01 +0000 (01:26 +0000)]
(const_binop, fold_convert, fold):

Set TREE_OVERFLOW in addition to TREE_CONSTANT_OVERFLOW.

From-SVN: r4828

31 years ago(constant_expression_warning, overflow_warning,
Paul Eggert [Fri, 2 Jul 1993 01:26:01 +0000 (01:26 +0000)]
(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

31 years ago(TREE_OVERFLOW): New macro.
Paul Eggert [Fri, 2 Jul 1993 01:26:01 +0000 (01:26 +0000)]
(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

31 years ago(c_sizeof, build_c_cast): Set TREE_OVERFLOW in addition to TREE_CONSTANT_OVERFLOW.
Paul Eggert [Fri, 2 Jul 1993 01:26:01 +0000 (01:26 +0000)]
(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

31 years ago(label): Use `convert_and_check' when checking for
Paul Eggert [Fri, 2 Jul 1993 01:20:01 +0000 (01:20 +0000)]
(label): Use `convert_and_check' when checking for
overflow in case labels.

From-SVN: r4824

31 years ago(eliminate_regs): Fix typo in BYTE_LOADS_ZERO_EXTEND.
Richard Stallman [Fri, 2 Jul 1993 00:56:37 +0000 (00:56 +0000)]
(eliminate_regs): Fix typo in BYTE_LOADS_ZERO_EXTEND.

From-SVN: r4823

31 years ago(choose_temp_base): Try multiple variables.
Richard Stallman [Thu, 1 Jul 1993 23:30:43 +0000 (23:30 +0000)]
(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

31 years agoMake gcc use its own obstack.o.
Richard Stallman [Thu, 1 Jul 1993 23:28:56 +0000 (23:28 +0000)]
Make gcc use its own obstack.o.

From-SVN: r4821

31 years agopa.h (OVERRIDE_OPTIONS): Define.
Jeff Law [Thu, 1 Jul 1993 20:20:28 +0000 (14:20 -0600)]
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

31 years agopa-utahmach.h (HP_FP_ARG_DESCRIPTOR_REVERSED): Do not define here.
Jeff Law [Thu, 1 Jul 1993 19:25:26 +0000 (13:25 -0600)]
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

31 years ago* pa-hpux7.h (HP_FP_ARG_DESCRIPTOR_REVERSED): Define.
Jeff Law [Thu, 1 Jul 1993 19:23:44 +0000 (13:23 -0600)]
* pa-hpux7.h (HP_FP_ARG_DESCRIPTOR_REVERSED): Define.

From-SVN: r4818

31 years agopa.c (output_arg_descriptor): Reverse polarity of test for HP_FP_ARG_DESCRIPTOR_REVERSED.
Jeff Law [Thu, 1 Jul 1993 19:22:47 +0000 (13:22 -0600)]
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

31 years agoInitial revision
Jeff Law [Thu, 1 Jul 1993 19:22:29 +0000 (13:22 -0600)]
Initial revision

From-SVN: r4816

31 years agoDon't create absolute symbolic links;
Paul Eggert [Thu, 1 Jul 1993 19:06:50 +0000 (19:06 +0000)]
Don't create absolute symbolic links;

make them relative instead.

From-SVN: r4815

31 years agoRemove special case for IRIX 4.0.1 that was superseded
Paul Eggert [Thu, 1 Jul 1993 18:15:17 +0000 (18:15 +0000)]
Remove special case for IRIX 4.0.1 that was superseded
by a more general fix to fixincludes.

From-SVN: r4814

31 years ago(fold, case GE_EXPR, LT_EXPR): Don't assume result of comparison is
Richard Kenner [Thu, 1 Jul 1993 13:48:11 +0000 (09:48 -0400)]
(fold, case GE_EXPR, LT_EXPR): Don't assume result of comparison is
integer_type_node.

From-SVN: r4813

31 years agoRemove everything after #endif, instead of trying to turn it into comments, which...
Paul Eggert [Thu, 1 Jul 1993 07:46:15 +0000 (07:46 +0000)]
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

31 years agoRemove everything after #endif, instead of trying
Paul Eggert [Thu, 1 Jul 1993 07:46:15 +0000 (07:46 +0000)]
Remove everything after #endif, instead of trying
to turn it into comments, which loses inside comments.

From-SVN: r4811

31 years ago(expand_expr...
Richard Stallman [Thu, 1 Jul 1993 05:17:45 +0000 (05:17 +0000)]
(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

31 years ago(SIZE_TYPE): Don't define.
Roland McGrath [Thu, 1 Jul 1993 04:22:57 +0000 (04:22 +0000)]
(SIZE_TYPE): Don't define.

From-SVN: r4809

31 years ago(gen_int_relational): For test with constant result,
Richard Stallman [Wed, 30 Jun 1993 21:35:17 +0000 (21:35 +0000)]
(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

31 years ago(SIZE_TYPE): Definition deleted.
Richard Stallman [Wed, 30 Jun 1993 20:18:47 +0000 (20:18 +0000)]
(SIZE_TYPE): Definition deleted.

From-SVN: r4807

31 years agoRecognize `gnu' as a valid operating system. Sheesh.
Roland McGrath [Wed, 30 Jun 1993 19:19:42 +0000 (19:19 +0000)]
Recognize `gnu' as a valid operating system.  Sheesh.

From-SVN: r4806

31 years ago(main): Don't look for `gld' or `TARGET-gld'.
Richard Stallman [Wed, 30 Jun 1993 19:02:44 +0000 (19:02 +0000)]
(main): Don't look for `gld' or `TARGET-gld'.

From-SVN: r4805

31 years agopa.c (output_function_prologue): Emit SAVE_SP flag if a frame pointer is needed.
Jeff Law [Wed, 30 Jun 1993 17:43:20 +0000 (11:43 -0600)]
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

31 years agoFix copyright years.
Richard Stallman [Wed, 30 Jun 1993 17:43:07 +0000 (17:43 +0000)]
Fix copyright years.

From-SVN: r4803

31 years agoFix copyright years.
Richard Stallman [Wed, 30 Jun 1993 17:26:29 +0000 (17:26 +0000)]
Fix copyright years.

From-SVN: r4802

31 years ago(stdtypes.h): Verify that size_t etc. follow whitespace.
Richard Stallman [Wed, 30 Jun 1993 17:13:09 +0000 (17:13 +0000)]
(stdtypes.h): Verify that size_t etc. follow whitespace.

From-SVN: r4801

31 years ago(expand_end_case): Pass 1 as UNSIGNEDP to emit_cmp_insn when handling wide values.
Richard Stallman [Wed, 30 Jun 1993 05:32:58 +0000 (05:32 +0000)]
(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

31 years agopa.c (singlemove_string): Use zdepi and ldil to load constants into registers when...
Jeff Law [Wed, 30 Jun 1993 02:28:38 +0000 (20:28 -0600)]
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

31 years agoComment change.
Richard Stallman [Tue, 29 Jun 1993 22:15:59 +0000 (22:15 +0000)]
Comment change.

From-SVN: r4798

31 years agocomment change.
Richard Stallman [Tue, 29 Jun 1993 22:05:11 +0000 (22:05 +0000)]
comment change.

From-SVN: r4797

31 years agoRecognize -sysv* after -sysvr4.
Richard Stallman [Tue, 29 Jun 1993 15:31:19 +0000 (15:31 +0000)]
Recognize -sysv* after -sysvr4.

From-SVN: r4796

31 years ago(GO_IF_NONINDEXED_ADDRESS): Declare reg_equiv_mem.
Richard Stallman [Tue, 29 Jun 1993 15:26:52 +0000 (15:26 +0000)]
(GO_IF_NONINDEXED_ADDRESS): Declare reg_equiv_mem.

From-SVN: r4795

31 years ago(fix_truncdfsi2, fix_truncdfhi2, fix_truncdfqi2):
Richard Stallman [Tue, 29 Jun 1993 04:40:00 +0000 (04:40 +0000)]
(fix_truncdfsi2, fix_truncdfhi2, fix_truncdfqi2):

Require TARGET_68881 as well as TARGET_68040.

From-SVN: r4794

31 years ago(main): For -iwithprefix, if no include_prefix,
Richard Stallman [Tue, 29 Jun 1993 04:37:51 +0000 (04:37 +0000)]
(main): For -iwithprefix, if no include_prefix,

make a default from GCC_INCLUDE_DIR.
Support -iwithprefixbefore.

From-SVN: r4793

31 years agoMajor rework.
Steve Chamberlain [Tue, 29 Jun 1993 00:10:35 +0000 (00:10 +0000)]
Major rework.

From-SVN: r4792

31 years ago(file): When changing VA_LIST to DUMMY_VA_LIST, preserve _NEED___VA_LIST.
Richard Stallman [Mon, 28 Jun 1993 18:58:14 +0000 (18:58 +0000)]
(file): When changing VA_LIST to DUMMY_VA_LIST, preserve _NEED___VA_LIST.

From-SVN: r4791

31 years ago(movdf, movdi): Delete `&' from constraint.
Richard Stallman [Mon, 28 Jun 1993 18:21:32 +0000 (18:21 +0000)]
(movdf, movdi): Delete `&' from constraint.

From-SVN: r4790

31 years ago(output_move_double): Handle reg[n,n+1] = mem[reg[n] + reg[n+1]].
Richard Stallman [Mon, 28 Jun 1993 18:21:17 +0000 (18:21 +0000)]
(output_move_double): Handle reg[n,n+1] = mem[reg[n] + reg[n+1]].

From-SVN: r4789

31 years ago(output_move_double): Use new local var highest_first to make sure addreg1 gets handl...
Richard Stallman [Mon, 28 Jun 1993 18:16:02 +0000 (18:16 +0000)]
(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

31 years ago(movdf, movdi): Delete `&' from load constraint.
Richard Stallman [Mon, 28 Jun 1993 17:51:41 +0000 (17:51 +0000)]
(movdf, movdi): Delete `&' from load constraint.

From-SVN: r4787

31 years ago(output_move_double): Handle reg[n,n+1] = mem[reg[n] + reg[n+1]].
Richard Stallman [Mon, 28 Jun 1993 17:51:19 +0000 (17:51 +0000)]
(output_move_double): Handle reg[n,n+1] = mem[reg[n] + reg[n+1]].

From-SVN: r4786

31 years ago(CPP_SPEC): For -compat-bsd, put the ucbinclude dirs before, not after.
Richard Stallman [Mon, 28 Jun 1993 17:01:44 +0000 (17:01 +0000)]
(CPP_SPEC): For -compat-bsd, put the ucbinclude dirs before, not after.

From-SVN: r4785

31 years ago(GO_IF_NONINDEXED_ADDRESS): If reload_in_progress,
Richard Stallman [Mon, 28 Jun 1993 07:44:34 +0000 (07:44 +0000)]
(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

31 years ago(find_reloads_address): Be selective about what inner
Richard Stallman [Mon, 28 Jun 1993 07:44:08 +0000 (07:44 +0000)]
(find_reloads_address): Be selective about what inner
addresses to allow in an indirect mem ref.

From-SVN: r4783

31 years ago(DEFAULT_WORD_SWITCH_TAKES_ARG): Check for -iwithprefixbefore.
Richard Stallman [Mon, 28 Jun 1993 04:54:15 +0000 (04:54 +0000)]
(DEFAULT_WORD_SWITCH_TAKES_ARG): Check for -iwithprefixbefore.

(option_map): Add --include-with-prefix-before and
--include-with-prefix-after.

From-SVN: r4782

31 years agoComment change.
Richard Stallman [Mon, 28 Jun 1993 03:43:51 +0000 (03:43 +0000)]
Comment change.

From-SVN: r4781

31 years ago(simplify_*_operation, fold_rtx, record_jump_cond, cse_insn): Use
Richard Kenner [Mon, 28 Jun 1993 01:20:38 +0000 (21:20 -0400)]
(simplify_*_operation, fold_rtx, record_jump_cond, cse_insn): Use
INTEGRAL_MODE_P and FLOAT_MODE_P.

From-SVN: r4780

31 years ago(subst, apply_distributive_law): Use INTEGRAL_MODE_P and FLOAT_MODE_P.
Richard Kenner [Mon, 28 Jun 1993 01:19:42 +0000 (21:19 -0400)]
(subst, apply_distributive_law): Use INTEGRAL_MODE_P and FLOAT_MODE_P.

(reversible_comparison_p): Likewise.
Can reverse if MODE_COMPLEX_INT or MODE_PARTIAL_INT.

From-SVN: r4779

31 years ago(INTEGRAL_MODE_P, FLOAT_MODE_P): New macros.
Richard Kenner [Mon, 28 Jun 1993 01:18:58 +0000 (21:18 -0400)]
(INTEGRAL_MODE_P, FLOAT_MODE_P): New macros.

From-SVN: r4778

31 years ago(fixup_stack_1): Handle current_function_internal_arg_pointer.
Richard Kenner [Mon, 28 Jun 1993 01:15:50 +0000 (21:15 -0400)]
(fixup_stack_1): Handle current_function_internal_arg_pointer.

From-SVN: r4777

31 years agoAdd prototypes for layout_record and layout_union.
Richard Kenner [Mon, 28 Jun 1993 01:14:04 +0000 (21:14 -0400)]
Add prototypes for layout_record and layout_union.

(smallest_mode_for_size): New function.
(variable_size): Allow variable sizes if global_bindings_p returns a negative
value.
(mode_for_size): Fix incorrect comment.
(layout_decl): If DECL has a size already, don't copy from type.
(layout_type, case INTEGER_TYPE, ENUMERAL_TYPE): Use smallest integer mode
that fits, whether or not it fits exactly.

From-SVN: r4776

31 years ago(restore_emit_status): Clear LAST_LABEL_NUM.
Richard Kenner [Mon, 28 Jun 1993 01:10:23 +0000 (21:10 -0400)]
(restore_emit_status): Clear LAST_LABEL_NUM.

From-SVN: r4775

31 years ago(copy_rtx_if_shared): Don't try to copy a 0-length vector.
Richard Stallman [Mon, 28 Jun 1993 00:41:41 +0000 (00:41 +0000)]
(copy_rtx_if_shared): Don't try to copy a 0-length vector.

From-SVN: r4774

31 years ago(expand_call): If function hasn't been used before, call
Richard Kenner [Sun, 27 Jun 1993 22:57:34 +0000 (18:57 -0400)]
(expand_call): If function hasn't been used before, call
assemble_external.

From-SVN: r4773

31 years ago(store_constructor): Treat QUAL_UNION_TYPE just like UNION_TYPE.
Richard Kenner [Sun, 27 Jun 1993 22:55:11 +0000 (18:55 -0400)]
(store_constructor): Treat QUAL_UNION_TYPE just like UNION_TYPE.

(safe_from_p, case ADDR_EXPR): EXP is safe from X it is is static or if the
object whose address is being taken is safe from X.
(expand_expr): Fix misplaced comment from last change.
(expand_expr, case *_DECL): If not already used, assemble external.
(expand_expr, case EXIT_EXPR): Simplify.
(expand_expr, TRUTH_{AND,OR}IF_EXPR): Properly handle IGNORE case.

From-SVN: r4772

31 years ago(array_type_nelts): Tighten up code and make more general.
Richard Kenner [Sun, 27 Jun 1993 22:50:04 +0000 (18:50 -0400)]
(array_type_nelts): Tighten up code and make more general.

(build_function_type): Allow function to return array.
(decl_function_context): Treat QUAL_UNION_TYPE like UNION_TYPE.

From-SVN: r4771

31 years ago(fold, case TRUTH_XOR_EXPR): End with `return', not `break'.
Richard Kenner [Sun, 27 Jun 1993 22:48:22 +0000 (18:48 -0400)]
(fold, case TRUTH_XOR_EXPR): End with `return', not `break'.

From-SVN: r4770

31 years ago(output_compile_unit_die): Add support for Ada.
Richard Kenner [Sun, 27 Jun 1993 22:43:10 +0000 (18:43 -0400)]
(output_compile_unit_die): Add support for Ada.

From-SVN: r4769

31 years ago(collect_iterators, case SAVE_EXPR): Simplify code added in previous
Richard Kenner [Sun, 27 Jun 1993 22:41:45 +0000 (18:41 -0400)]
(collect_iterators, case SAVE_EXPR): Simplify code added in previous
change.

From-SVN: r4768

31 years agoFix typo: was ARGS_GROW_DOWNARD.
Richard Kenner [Sun, 27 Jun 1993 22:40:04 +0000 (18:40 -0400)]
Fix typo: was ARGS_GROW_DOWNARD.

From-SVN: r4767

31 years ago(TAROUTOPTS): New definition.
Richard Stallman [Sun, 27 Jun 1993 22:24:54 +0000 (22:24 +0000)]
(TAROUTOPTS): New definition.

From-SVN: r4766

31 years agoCanonicalize -sco4 and -sco3.2.4 to -sco3.2v4.
Richard Stallman [Sun, 27 Jun 1993 21:26:43 +0000 (21:26 +0000)]
Canonicalize -sco4 and -sco3.2.4 to -sco3.2v4.

From-SVN: r4765

31 years agoentered into RCS
Richard Stallman [Sun, 27 Jun 1993 19:36:53 +0000 (19:36 +0000)]
entered into RCS

From-SVN: r4764

31 years ago(subst, case IF_THEN_ELSE): Install correct version of last change.
Richard Kenner [Sun, 27 Jun 1993 12:31:48 +0000 (08:31 -0400)]
(subst, case IF_THEN_ELSE): Install correct version of last change.

From-SVN: r4763

31 years ago(find_reloads): When merging reloads again after they have been changed...
Richard Stallman [Sat, 26 Jun 1993 21:19:02 +0000 (21:19 +0000)]
(find_reloads): When merging reloads again after they have been changed...

(find_reloads): When merging reloads again after they have
been changed, do check reload_reg_class and reload_nocombine.

From-SVN: r4762

31 years ago(reload): Use reg_equiv_address for invalid addresses
Richard Kenner [Sat, 26 Jun 1993 21:08:49 +0000 (17:08 -0400)]
(reload): Use reg_equiv_address for invalid addresses
of the form (mem (reg)).

From-SVN: r4761

31 years ago(movdf recognizer): Remove `&' from constraint for loading mem to cpu reg.
Richard Stallman [Sat, 26 Jun 1993 20:50:27 +0000 (20:50 +0000)]
(movdf recognizer): Remove `&' from constraint for loading mem to cpu reg.

From-SVN: r4760

31 years ago(expand_assignment): If FROM is scalar function call,
Richard Stallman [Sat, 26 Jun 1993 20:45:13 +0000 (20:45 +0000)]
(expand_assignment): If FROM is scalar function call,

expand_expr FROM before TO.

From-SVN: r4759

31 years ago(translate_options): `*' inhibits warning of extraneous arg.
Richard Stallman [Sat, 26 Jun 1993 19:43:09 +0000 (19:43 +0000)]
(translate_options): `*' inhibits warning of extraneous arg.

From-SVN: r4758

31 years ago(fold, case PLUS_EXPR, MINUS_EXPR): Apply distributive law to multiplication.
Richard Kenner [Sat, 26 Jun 1993 15:55:06 +0000 (11:55 -0400)]
(fold, case PLUS_EXPR, MINUS_EXPR): Apply distributive law to multiplication.

(fold, case *_DIV_EXPR): Replace code to handle (A*C1)/C2 with more general
code to handle addition as well.
(fold, case *_MOD_EXPR): Add simplified version of above code.

From-SVN: r4757

31 years agoRemove #define of alloca to __builtin_alloca.
Richard Kenner [Sat, 26 Jun 1993 15:43:50 +0000 (11:43 -0400)]
Remove #define of alloca to __builtin_alloca.

From-SVN: r4756

31 years ago(poplevel): Start new function context when writing inline function.
Richard Kenner [Sat, 26 Jun 1993 15:21:20 +0000 (11:21 -0400)]
(poplevel): Start new function context when writing inline function.

From-SVN: r4755

31 years ago(compile_file): Switch to temporary allocation when writing out inline
Richard Kenner [Sat, 26 Jun 1993 15:19:08 +0000 (11:19 -0400)]
(compile_file): Switch to temporary allocation when writing out inline
functions.

From-SVN: r4754

31 years ago(function_cannot_inline_p): Can now inline nested functions.
Richard Kenner [Sat, 26 Jun 1993 15:18:28 +0000 (11:18 -0400)]
(function_cannot_inline_p): Can now inline nested functions.

(expand_inline_function): Set up static chain if needed.
(output_inline_function): Don't switch to temporary allocation here.

From-SVN: r4753

31 years ago(init_decl_processing): When making SIZETYPE, start with name in SIZE_TYPE.
Richard Kenner [Sat, 26 Jun 1993 15:15:29 +0000 (11:15 -0400)]
(init_decl_processing): When making SIZETYPE, start with name in SIZE_TYPE.

(init_decl_processing): When making SIZETYPE, start with name in
SIZE_TYPE.  If -traditional, use a signed version of that type, if it
is unsigned.

From-SVN: r4752

31 years agoAdd more decls for functions in fold-const.c.
Richard Kenner [Sat, 26 Jun 1993 15:13:41 +0000 (11:13 -0400)]
Add more decls for functions in fold-const.c.

From-SVN: r4751

31 years agoAdd prototypes for static functions.
Richard Kenner [Sat, 26 Jun 1993 15:12:58 +0000 (11:12 -0400)]
Add prototypes for static functions.

({l,r}{shift,rotate}_double): COUNT arg is HOST_WIDE_INT, PREC is int.
(all_ones_mask): Remove __inline__.
(range_test): Make static; not used elsewhere.

From-SVN: r4750

31 years ago(expand_calls): Fix typo: ALLOCATE_OUTGOING_ARGS
Richard Kenner [Sat, 26 Jun 1993 15:09:26 +0000 (11:09 -0400)]
(expand_calls): Fix typo: ALLOCATE_OUTGOING_ARGS
should be ACCUMULATE_OUTGOING_ARGS.

From-SVN: r4749

31 years ago(subst): apply_distributive_law can also handle AND.
Richard Kenner [Sat, 26 Jun 1993 15:06:55 +0000 (11:06 -0400)]
(subst): apply_distributive_law can also handle AND.

(subst, case IF_THEN_ELSE): Make a shift when appropriate.
(simplify_shift_const): If we have an outer operation and made a shift, see if
it can be simplified.

From-SVN: r4748

31 years ago(do_store_flag): When computing via a shift, allow for an inner RSHIFT_EXPR in BITNUM.
Richard Kenner [Sat, 26 Jun 1993 15:06:01 +0000 (11:06 -0400)]
(do_store_flag): When computing via a shift, allow for an inner RSHIFT_EXPR in BITNUM.

(do_store_flag): When computing via a shift, allow for an inner RSHIFT_EXPR
in BITNUM.
Sometimes do the operations as signed.

From-SVN: r4747

31 years ago(fold_truthop): Treat a BIT_AND_EXPR with a constant of one as if it were surrounded...
Richard Kenner [Sat, 26 Jun 1993 15:05:12 +0000 (11:05 -0400)]
(fold_truthop): Treat a BIT_AND_EXPR with a constant of one as if it were surrounded with an NE_EXPR.

(fold_truthop): Treat a BIT_AND_EXPR with a constant of one as if it were
surrounded with an NE_EXPR.
(fold): Don't move operation into conditional if it is BIT_{AND,OR}_EXPR with
the constant 1; change it to TRUTH_*_EXPR instead.
When moving things inside conditions, move comparisons as well as binary
operations.
Don't make a SAVE_EXPR when moving things inside conditionals unless the value
would really have been used twice.

From-SVN: r4746

31 years ago(TRUTH_{AND,OR,XOR}_EXPR): Make code class be 'e' like the rest of the
Richard Kenner [Sat, 26 Jun 1993 15:04:22 +0000 (11:04 -0400)]
(TRUTH_{AND,OR,XOR}_EXPR): Make code class be 'e' like the rest of the
truth operations.

From-SVN: r4745

31 years agoInclude ctype.h.
Richard Stallman [Sat, 26 Jun 1993 12:27:32 +0000 (12:27 +0000)]
Include ctype.h.

(isalnum, isdigit): Macros deleted.

From-SVN: r4744

31 years agoInclude ctype.h.
Richard Stallman [Sat, 26 Jun 1993 12:27:06 +0000 (12:27 +0000)]
Include ctype.h.

From-SVN: r4743

31 years ago(output_move_double): Handle reg[n,n+1] = mem[reg[n] + reg[n+1]].
Richard Stallman [Sat, 26 Jun 1993 07:44:01 +0000 (07:44 +0000)]
(output_move_double): Handle reg[n,n+1] = mem[reg[n] + reg[n+1]].

From-SVN: r4742

31 years ago(movdi): Delete the earlyclobber in load case.
Richard Stallman [Sat, 26 Jun 1993 07:42:26 +0000 (07:42 +0000)]
(movdi): Delete the earlyclobber in load case.

From-SVN: r4741

31 years ago(option_map): Add missing comma.
Doug Evans [Sat, 26 Jun 1993 07:14:53 +0000 (07:14 +0000)]
(option_map): Add missing comma.

From-SVN: r4740

31 years agoClean up formatting.
Richard Stallman [Sat, 26 Jun 1993 07:05:47 +0000 (07:05 +0000)]
Clean up formatting.

From-SVN: r4739