platform/upstream/gcc.git
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

31 years ago(calls_function_1): Add declaration.
Richard Stallman [Sat, 26 Jun 1993 06:31:09 +0000 (06:31 +0000)]
(calls_function_1): Add declaration.

From-SVN: r4738

31 years ago(calls_function): Don't scan a single save_expr twice.
Richard Stallman [Sat, 26 Jun 1993 02:37:19 +0000 (02:37 +0000)]
(calls_function): Don't scan a single save_expr twice.

(calls_function_1): New subroutine for the actual recursion.

From-SVN: r4737

31 years ago(all_iter_stmt_simple): Add missing `else'.
Richard Stallman [Sat, 26 Jun 1993 00:14:16 +0000 (00:14 +0000)]
(all_iter_stmt_simple): Add missing `else'.

From-SVN: r4736

31 years agoonly 13 reduce/reduce
Brendan Kehoe [Fri, 25 Jun 1993 23:17:30 +0000 (19:17 -0400)]
only 13 reduce/reduce

From-SVN: r4735

31 years agoadd C++ flags
Brendan Kehoe [Fri, 25 Jun 1993 23:16:44 +0000 (19:16 -0400)]
add C++ flags

From-SVN: r4734

31 years agoConvert ...-sysvr4 into ...-sysv4.
Richard Stallman [Fri, 25 Jun 1993 21:57:48 +0000 (21:57 +0000)]
Convert ...-sysvr4 into ...-sysv4.

From-SVN: r4733

31 years ago(CPP_PREDEFINES): Have two alternatives,
Richard Stallman [Fri, 25 Jun 1993 21:35:23 +0000 (21:35 +0000)]
(CPP_PREDEFINES): Have two alternatives,

one for motorola and one for not motorola.

From-SVN: r4732

31 years ago(CPP_PREDEFINES): Add __motorola__.
Richard Stallman [Fri, 25 Jun 1993 21:34:25 +0000 (21:34 +0000)]
(CPP_PREDEFINES): Add __motorola__.

From-SVN: r4731

31 years ago(store_expr): If TARGET is volatile mem ref, return it.
Richard Stallman [Fri, 25 Jun 1993 18:14:35 +0000 (18:14 +0000)]
(store_expr): If TARGET is volatile mem ref, return it.

From-SVN: r4730

31 years ago(lang_options): Add -fdollars-in-identifiers.
Richard Stallman [Fri, 25 Jun 1993 18:01:51 +0000 (18:01 +0000)]
(lang_options): Add -fdollars-in-identifiers.

From-SVN: r4729

31 years ago(c_decode_option): Handle -fdollars-in-identifiers.
Richard Stallman [Fri, 25 Jun 1993 18:01:20 +0000 (18:01 +0000)]
(c_decode_option): Handle -fdollars-in-identifiers.

From-SVN: r4728

31 years agopa-hpux.h (LINK_SPEC): Search shared libraries by default...
Jeff Law [Fri, 25 Jun 1993 17:43:16 +0000 (11:43 -0600)]
pa-hpux.h (LINK_SPEC): Search shared libraries by default...

* pa-hpux.h (LINK_SPEC): Search shared libraries by default; turn off
shared library searching if -static is specified.
* pa-ghpux.h (LINK_SPEC): Likewise.

From-SVN: r4727

31 years agopa.c: References to TARGET_SHARED_LIBS deleted.
Jeff Law [Fri, 25 Jun 1993 17:41:01 +0000 (11:41 -0600)]
pa.c: References to TARGET_SHARED_LIBS deleted.

* pa.c: References to TARGET_SHARED_LIBS deleted.
* pa.md: Likewise.

From-SVN: r4726

31 years agopa.h (TARGET_SHARED_LIBS): Delete switch and all references to the switch.
Jeff Law [Fri, 25 Jun 1993 17:40:42 +0000 (11:40 -0600)]
pa.h (TARGET_SHARED_LIBS): Delete switch and all references to the switch.

* pa.h (TARGET_SHARED_LIBS): Delete switch and all references to
the switch.

From-SVN: r4725

31 years ago* pa.h (TARGET_DISABLE_INDEXING): Clean up comments.
Jeff Law [Fri, 25 Jun 1993 17:35:30 +0000 (11:35 -0600)]
* pa.h (TARGET_DISABLE_INDEXING): Clean up comments.

From-SVN: r4724

31 years agopa-utahmach.h (TARGET_DEFAULT): Allow indexing on Mach ports.
Jeff Law [Fri, 25 Jun 1993 17:35:04 +0000 (11:35 -0600)]
pa-utahmach.h (TARGET_DEFAULT): Allow indexing on Mach ports.

* pa-utahmach.h (TARGET_DEFAULT): Allow indexing on Mach ports.
* pa1-utahmach.h (TARGET_DEFAULT): Likewise.

From-SVN: r4723

31 years ago(negdi2, negdi2_internal): Renamed from negdi3...
Richard Stallman [Fri, 25 Jun 1993 04:51:39 +0000 (04:51 +0000)]
(negdi2, negdi2_internal): Renamed from negdi3...

From-SVN: r4722

31 years ago(option_map): Make --version alias for -dumpversion.
Richard Stallman [Thu, 24 Jun 1993 04:32:25 +0000 (04:32 +0000)]
(option_map): Make --version alias for -dumpversion.

From-SVN: r4721

31 years ago(decl_attributes): If first_arg_num is 0, no error for it.
Richard Stallman [Thu, 24 Jun 1993 03:36:08 +0000 (03:36 +0000)]
(decl_attributes): If first_arg_num is 0, no error for it.

From-SVN: r4720

31 years ago(alloc_qty_for_scratch): Can allocate likely-spilled register classes for SCRATCH.
Richard Kenner [Wed, 23 Jun 1993 23:17:47 +0000 (19:17 -0400)]
(alloc_qty_for_scratch): Can allocate likely-spilled register classes for SCRATCH.

(alloc_qty_for_scratch): Can allocate likely-spilled register classes
for SCRATCH.
(block_alloc): Likewise for regs in small register classes.

From-SVN: r4719

31 years ago(DBX_REGPARM_STABS_LETTER, DEBUGGER_{AUTO,ARG}_OFFSET): New macros.
Richard Kenner [Wed, 23 Jun 1993 11:56:43 +0000 (07:56 -0400)]
(DBX_REGPARM_STABS_LETTER, DEBUGGER_{AUTO,ARG}_OFFSET): New macros.

From-SVN: r4718

31 years ago(output_prologue): Delete unused var, INSN.
Richard Kenner [Wed, 23 Jun 1993 11:56:13 +0000 (07:56 -0400)]
(output_prologue): Delete unused var, INSN.

(output_encoded_offset): New function.
(output_epilogue): Minor changes to traceback table; call
new output_encoded_offset.
(romp_debugger_{auto,arg}_correction): New functions.

From-SVN: r4717

31 years ago(fill_slots_from_thread): When replacing a use of a register with what it was set...
Richard Kenner [Wed, 23 Jun 1993 11:54:14 +0000 (07:54 -0400)]
(fill_slots_from_thread): When replacing a use of a register with what it was set to...

(fill_slots_from_thread): When replacing a use of a register with what
it was set to, don't do it when either the destination or source of
the copy is set in the insn.

From-SVN: r4716

31 years ago(jump_optimize): Properly make jump into store-flag sequence when...
Richard Kenner [Wed, 23 Jun 1993 11:52:14 +0000 (07:52 -0400)]
(jump_optimize): Properly make jump into store-flag sequence when...

(jump_optimize): Properly make jump into store-flag sequence when the
jump can't be reversed but the TRUE branch is const0_rtx.

From-SVN: r4715

31 years ago(expand_expr): Set IGNORE if target is const0_rtx or result type is VOID.
Richard Kenner [Wed, 23 Jun 1993 11:50:02 +0000 (07:50 -0400)]
(expand_expr): Set IGNORE if target is const0_rtx or result type is VOID.

Move most IGNORE processing to one place to avoid expanding things that don't
need to be expanded.
(expand_expr, case CONSTRUCTOR, case COND_EXPR): If IGNORE, don't expand
anything we don't have to.
(expand_expr, case CONVERT_EXPR): Don't deal with IGNORE here.

From-SVN: r4714

31 years ago(scratch_block, scratch_list{,_length}, scratch_index): New variables.
Richard Kenner [Wed, 23 Jun 1993 11:47:16 +0000 (07:47 -0400)]
(scratch_block, scratch_list{,_length}, scratch_index): New variables.

(local_alloc): Allocate and initialize them.
(block_alloc): Only allocate a SCRATCH if it can fit in the block we make.
Don't mark regs used in SCRATCH live here; instead, make entry in new tables.

From-SVN: r4713

31 years ago(mark_scratch_live): New function.
Richard Kenner [Wed, 23 Jun 1993 11:46:27 +0000 (07:46 -0400)]
(mark_scratch_live): New function.

(reload): Call it on each SCRATCH.
Free scratch list and block.
(spill_hard_reg): Reallocate any SCRATCH whose register we want to spill.

From-SVN: r4712

31 years ago(scratch_list, scratch_block, scratch_list_length): New vars.
Richard Kenner [Wed, 23 Jun 1993 11:45:47 +0000 (07:45 -0400)]
(scratch_list, scratch_block, scratch_list_length): New vars.

From-SVN: r4711

31 years agotoplev.c (report_error_function): Change format of the included-file stack to be...
Brendan Kehoe [Tue, 22 Jun 1993 17:56:40 +0000 (13:56 -0400)]
toplev.c (report_error_function): Change format of the included-file stack to be more readable.

* toplev.c (report_error_function): Change format of the
included-file stack to be more readable.
* cccp.c (print_containing_files): Likewise.

From-SVN: r4710

31 years agotoplev.c (report_error_function): Change format of the included-file stack to be...
Brendan Kehoe [Tue, 22 Jun 1993 17:56:40 +0000 (13:56 -0400)]
toplev.c (report_error_function): Change format of the included-file stack to be more readable.

* toplev.c (report_error_function): Change format of the
included-file stack to be more readable.
* cccp.c (print_containing_files): Likewise.
* toplev.c (report_error_function): Change format of the
included-file stack to be more readable.
* cccp.c (print_containing_files): Likewise.

From-SVN: r4709

31 years ago(grokdeclarator): Avoid the use of macros for ..._TYPE
Richard Stallman [Tue, 22 Jun 1993 06:07:19 +0000 (06:07 +0000)]
(grokdeclarator):  Avoid the use of macros for ..._TYPE
nodes in cases where a parameter's type is error_mark_node.

From-SVN: r4708

31 years ago(print_operand, case 'J'): Write out shift count of 0, not 32 for bit
Richard Kenner [Mon, 21 Jun 1993 23:21:04 +0000 (19:21 -0400)]
(print_operand, case 'J'): Write out shift count of 0, not 32 for bit
31 of CCR.

From-SVN: r4707

31 years ago(extraclean): Delete *.gz, and other diff and tar files.
Richard Stallman [Sun, 20 Jun 1993 23:44:07 +0000 (23:44 +0000)]
(extraclean): Delete *.gz, and other diff and tar files.

From-SVN: r4706

31 years ago(expand_call): In last change, preserve the temp slot.
Richard Stallman [Sun, 20 Jun 1993 22:21:49 +0000 (22:21 +0000)]
(expand_call): In last change, preserve the temp slot.

From-SVN: r4705

31 years ago(type_main_variant): New function.
Richard Stallman [Sun, 20 Jun 1993 18:08:53 +0000 (18:08 +0000)]
(type_main_variant): New function.

Use it in place of TYPE_MAIN_VARIANT everywhere in dwarfout.c.

From-SVN: r4704

31 years ago(MAYBE_VMS_FUNCTION_PROLOGUE): Adjust stack pointer by 4 prior to calling C$MAIN_ARGS...
Richard Stallman [Sat, 19 Jun 1993 22:34:57 +0000 (22:34 +0000)]
(MAYBE_VMS_FUNCTION_PROLOGUE): Adjust stack pointer by 4 prior to calling C$MAIN_ARGS...

(MAYBE_VMS_FUNCTION_PROLOGUE): Adjust stack pointer by 4 prior
to calling C$MAIN_ARGS, otherwise POSIX edition of that routine dies.

From-SVN: r4703

31 years ago(compile_file): For static decl never defined,
Richard Stallman [Sat, 19 Jun 1993 22:34:05 +0000 (22:34 +0000)]
(compile_file): For static decl never defined,

use just warning, not pedwarn.

From-SVN: r4702

31 years ago(call_insn_operand): Require constant address be a general_operand.
Richard Stallman [Sat, 19 Jun 1993 22:33:36 +0000 (22:33 +0000)]
(call_insn_operand): Require constant address be a general_operand.

(expander_call_insn_operand): New fn (what call_insn_operand was).

From-SVN: r4701

31 years ago(call_pop, call, call_value_pop, call_value)
Richard Stallman [Sat, 19 Jun 1993 22:33:04 +0000 (22:33 +0000)]
(call_pop, call, call_value_pop, call_value)

(call_pop, call, call_value_pop, call_value)
(untyped_call): Use expander_call_insn_operand.

From-SVN: r4700