Commit Graph

4888 Commits

Author SHA1 Message Date
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
Richard Kenner
cbf6a543dc (simplify_*_operation, fold_rtx, record_jump_cond, cse_insn): Use
INTEGRAL_MODE_P and FLOAT_MODE_P.

From-SVN: r4780
1993-06-27 21:20:38 -04:00
Richard Kenner
3ad2180a02 (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
1993-06-27 21:19:42 -04:00
Richard Kenner
ae1ae48cdb (INTEGRAL_MODE_P, FLOAT_MODE_P): New macros.
From-SVN: r4778
1993-06-27 21:18:58 -04:00
Richard Kenner
40d055518b (fixup_stack_1): Handle current_function_internal_arg_pointer.
From-SVN: r4777
1993-06-27 21:15:50 -04:00
Richard Kenner
5e9bec999e 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
1993-06-27 21:14:04 -04:00
Richard Kenner
457a2d9ce6 (restore_emit_status): Clear LAST_LABEL_NUM.
From-SVN: r4775
1993-06-27 21:10:23 -04:00
Richard Stallman
f072210714 (copy_rtx_if_shared): Don't try to copy a 0-length vector.
From-SVN: r4774
1993-06-28 00:41:41 +00:00
Richard Kenner
ef5d30c934 (expand_call): If function hasn't been used before, call
assemble_external.

From-SVN: r4773
1993-06-27 18:57:34 -04:00
Richard Kenner
e44842fede (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
1993-06-27 18:55:11 -04:00
Richard Kenner
c0560b8b7c (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
1993-06-27 18:50:04 -04:00
Richard Kenner
62d8b51eb2 (fold, case TRUTH_XOR_EXPR): End with return', not break'.
From-SVN: r4770
1993-06-27 18:48:22 -04:00
Richard Kenner
77b83b95e4 (output_compile_unit_die): Add support for Ada.
From-SVN: r4769
1993-06-27 18:43:10 -04:00
Richard Kenner
93e4100a85 (collect_iterators, case SAVE_EXPR): Simplify code added in previous
change.

From-SVN: r4768
1993-06-27 18:41:45 -04:00
Richard Kenner
3319a3472f Fix typo: was ARGS_GROW_DOWNARD.
From-SVN: r4767
1993-06-27 18:40:04 -04:00
Richard Stallman
75487059d8 (TAROUTOPTS): New definition.
From-SVN: r4766
1993-06-27 22:24:54 +00:00
Richard Stallman
68760136a9 Canonicalize -sco4 and -sco3.2.4 to -sco3.2v4.
From-SVN: r4765
1993-06-27 21:26:43 +00:00
Richard Stallman
176badaf8d entered into RCS
From-SVN: r4764
1993-06-27 19:36:53 +00:00
Richard Kenner
3e61c21976 (subst, case IF_THEN_ELSE): Install correct version of last change.
From-SVN: r4763
1993-06-27 08:31:48 -04:00
Richard Stallman
73f6789529 (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
1993-06-26 21:19:02 +00:00
Richard Kenner
6491dbbb81 (reload): Use reg_equiv_address for invalid addresses
of the form (mem (reg)).

From-SVN: r4761
1993-06-26 17:08:49 -04:00
Richard Stallman
73ebbfdff0 (movdf recognizer): Remove `&' from constraint for loading mem to cpu reg.
From-SVN: r4760
1993-06-26 20:50:27 +00:00
Richard Stallman
cd1db1088e (expand_assignment): If FROM is scalar function call,
expand_expr FROM before TO.

From-SVN: r4759
1993-06-26 20:45:13 +00:00
Richard Stallman
fff26804c9 (translate_options): `*' inhibits warning of extraneous arg.
From-SVN: r4758
1993-06-26 19:43:09 +00:00
Richard Kenner
6a96fcb495 (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
1993-06-26 11:55:06 -04:00
Richard Kenner
f62f398a28 Remove #define of alloca to __builtin_alloca.
From-SVN: r4756
1993-06-26 11:43:50 -04:00
Richard Kenner
47df02623a (poplevel): Start new function context when writing inline function.
From-SVN: r4755
1993-06-26 11:21:20 -04:00
Richard Kenner
86ef2ef98c (compile_file): Switch to temporary allocation when writing out inline
functions.

From-SVN: r4754
1993-06-26 11:19:08 -04:00
Richard Kenner
a6dd1cb60d (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
1993-06-26 11:18:28 -04:00
Richard Kenner
a34731a692 (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
1993-06-26 11:15:29 -04:00