Commit Graph

5039 Commits

Author SHA1 Message Date
Richard Stallman
f01d4c3dc8 (ASM_OUTPUT_INTERNAL_LABEL, ASM_GENERATE_INTERNAL_LABEL): Definitions deleted.
From-SVN: r5052
1993-08-01 20:16:30 +00:00
Richard Stallman
04e61bd4dd (PIC_CASE_VECTOR_ADDRESS): Defined.
(GO_IF_LEGITIMATE_ADDRESS): If pic, accept LABEL+INDEX.

From-SVN: r5051
1993-08-01 20:14:21 +00:00
Richard Stallman
19b2fd27ea (do_tablejump): Use PIC_CASE_VECTOR_ADDRESS if defined.
From-SVN: r5050
1993-08-01 20:11:48 +00:00
Richard Stallman
89ef104634 Call default_conversion for NAME.
(build_shared_structure_initializer):
Call default_conversion for NAME.
(add_objc_string): Make an ADDR_EXPR to return.
(init_objc_symtab): Make ADDR_EXPR for UOBJC_SELECTOR_TABLE_decl.

Build all CONSTRUCTORs with types.
(build_constructor): New function.  All CONSTRUCTOR builds changed.
(init_def_list, init_objc_symtab): New arg TYPE.
(init_module_descriptor): Likewise.
(init_objc_symtab): Pass TYPE arg to init_def_list.
(generate_objc_symtab_decl): Pass TYPE arg to init_objc_symtab.
(build_module_descriptor): Pass TYPE arg to init_module_descriptor.
(build_descriptor_table_initializer): New arg TYPE.
(generate_method_descriptors): Pass TYPE arg to
build_descriptor_table_initializer.
(generate_protocols): Pass TYPE arg to build_protocol_initializer.
(uild_protocol_initializer): New arg TYPE.
(build_ivar_list_initializer): New arg TYPE.
(generate_ivar_lists): Pass TYPE arg to build_ivar_list_initializer.
(build_dispatch_table_initializer): New arg TYPE.
(generate_dispatch_tables): Pass TYPE arg to
build_dispatch_table_initializer.
(build_category_initializer): New arg TYPE.
(build_shared_structure_initializer): New arg TYPE.
(generate_category): Pass TYPE arg to build_category_initializer.
(generate_shared_structures): Pass TYPE arg to
build_shared_structure_initializer.

From-SVN: r5049
1993-08-01 05:53:52 +00:00
Richard Stallman
61e215dd1f (process_init_element): Treat string constants specially
only for arrays of integers.

From-SVN: r5048
1993-07-31 20:13:36 +00:00
Richard Stallman
97093ccaa2 (digest_init): Finish getting rid of tail.
Also get rid of old_tail_contents.  Don't set free_tree_list.
(free_tree_list): Var deleted.

From-SVN: r5047
1993-07-31 05:52:40 +00:00
Richard Kenner
33558beb6a (fold...
(fold, case NOP_EXPR): Delete a pair of conversions back to the
original type when intermediate type is at least as wide.

From-SVN: r5046
1993-07-30 19:07:52 -04:00
Richard Kenner
819126a607 (mult_is_very_cheap): Delete.
(mult_cost): Delete.
(init_expmed): Delete computation of mult_cost and mult_is_very_cheap.
(expand_mult): Compute mult_cost here for every constant multiplier.
(synth_mult): Return found algorithms through a struct pointer.

From-SVN: r5045
1993-07-30 06:49:23 -04:00
Richard Kenner
0d4d42c365 Remove change of July 21.
(this_basic_block): New variable.
(combine_instructions): Set it.
(try_combine, distribute_links): Use it and basic_block_head to see if
we've gone to a new basic block instead of trying to reproduce
calculation done in flow.

From-SVN: r5044
1993-07-30 06:47:51 -04:00
Richard Kenner
5eb94e4e8b (expand_return): Don't use jumps for "return x == y" if they are
expensive.

From-SVN: r5043
1993-07-30 06:45:24 -04:00
Richard Stallman
790e949032 (push_init_level): For braces around scalar, just warn.
(process_init_element): Special handling for {"foo"}.
(struct constructor_stack): New field `replacement_value'.
(push_init_level, really_start_incremental_init): Clear new field.
(pop_init_level): Return the replacement_value if any.
At top level in initializer, output that value,
and set the array size from it.

(digest_init): Delete arg TAIL.  Fix all calls.

(convert_for_assignment): Mismatch in signedness
of pointer targets should not inhibit warnings for const mismatch.

From-SVN: r5042
1993-07-30 06:52:04 +00:00
Richard Stallman
6d7512e473 (ffssi2 and ffshi2 recognizers): Generate unique labels by hand.
From-SVN: r5041
1993-07-30 06:46:33 +00:00
Richard Kenner
81d57b8e1d (copy_rtx_and_substitute, case LABEL_REF): If we turn off
LABEL_REF_NONLOCAL_P, increment function_call_count.

From-SVN: r5040
1993-07-29 18:58:13 -04:00
Richard Stallman
b8bb540c81 (CC, OLDCC): Deleted.
From-SVN: r5039
1993-07-29 18:17:52 +00:00
Richard Stallman
f5c081fd9e [__HIGHC__]: Include alloca.h.
From-SVN: r5038
1993-07-29 18:15:59 +00:00
Richard Stallman
d283912a4b (convert_to_integer): Don't pass truncate into ABS_EXPR.
From-SVN: r5037
1993-07-29 06:30:20 +00:00
Richard Stallman
1c5334be7d Fix typo in last change.
From-SVN: r5036
1993-07-29 02:33:32 +00:00
Richard Stallman
9825189b2e (compare): Add ./ in tail command.
From-SVN: r5035
1993-07-29 00:15:21 +00:00
Richard Kenner
c1ceaaa6f2 (copy_for_inline, case LABEL_REF): Properly copy LABEL_REF with LABEL_REF_NONLOCAL_P set.
(copy_for_inline, case LABEL_REF): Properly copy LABEL_REF
with LABEL_REF_NONLOCAL_P set.
Copy LABEL_OUTSIDE_LOOP_P flag.
(copy_rtx_and_substitute, case LABEL_REF): Likewise.
(copy_rtx_and_substitute, case CONST): Make recursive call for a LABEL_REF in
the constant pool.

From-SVN: r5034
1993-07-28 15:38:13 -04:00
Richard Kenner
a0a34f94fa (expand_return): Set TREE_SIDE_EFFECTS on MODIFY_EXPR.
From-SVN: r5033
1993-07-28 15:35:58 -04:00
Richard Kenner
a5dbd798f2 (iterator_loop_{pro,epi}logue): Set TREE_SIDE_EFFECTS on the MODIFY_EXPRs we make.
(iterator_loop_{pro,epi}logue): Set TREE_SIDE_EFFECTS on the MODIFY_EXPRs we
make.
Pass const0_rtx as TARGET to expand_expr.

From-SVN: r5032
1993-07-28 15:34:22 -04:00
Michael Meissner
c49f1ce85d Use SUBTARGET_OVERRIDE_OPTIONS instead of OVERRIDE_OPTIONS.
From-SVN: r5031
1993-07-28 19:17:10 +00:00
Richard Stallman
b6f01001b1 (expand_expr, case ADDR_EXPR): Treat CONCAT like REG.
From-SVN: r5030
1993-07-28 18:46:31 +00:00
Jim Wilson
7f3d4b2f75 (simple_if, if_prefix, stmt): Undo Jul 7 change.
(if_prefix): Store stmt_count in $$ not $1.
(stmt): Add comment explaining why empty-if warning is here.

From-SVN: r5029
1993-07-28 11:06:21 -07:00
Jim Wilson
2516bc12a8 (libgcc.a): Do `chmod +w *' between two ar commands.
From-SVN: r5028
1993-07-28 11:03:59 -07:00
Jim Wilson
5fd7eed02d (shift_operand): New function.
From-SVN: r5027
1993-07-28 11:01:25 -07:00
Jim Wilson
42d93ca6b2 Initial revision
From-SVN: r5026
1993-07-28 10:57:19 -07:00
Jim Wilson
e6f6eb290d (strength_reduce): Don't ignore a giv that depends on a
reversed biv.

From-SVN: r5025
1993-07-28 10:50:26 -07:00
Jim Wilson
c70305f128 (STARTFILE_SPEC): Define.
From-SVN: r5024
1993-07-28 10:47:20 -07:00
Jim Wilson
4c6d688ba0 (ALLOCA): Define.
From-SVN: r5023
1993-07-28 10:46:55 -07:00
Richard Stallman
6df4a7b923 (start_function): Warn if volatile fn returns non-void.
From-SVN: r5022
1993-07-28 17:45:51 +00:00
Jim Wilson
43a9225684 (INITIAL_FRAME_POINTER_OFFSET): Negate, and subtract 64 bytes.
From-SVN: r5021
1993-07-28 10:43:02 -07:00
Jim Wilson
07f64b95a4 (schedule_block): Do not emit line number notes before other notes.
From-SVN: r5020
1993-07-28 10:40:30 -07:00
Jim Wilson
2143266070 (assemble_variable): Flag_no_common applies only if
external linkage.

From-SVN: r5019
1993-07-28 10:36:31 -07:00
Jim Wilson
02892e0694 Add new parameter to move_block_from_reg calls.
From-SVN: r5018
1993-07-28 10:21:14 -07:00
Jim Wilson
f4ef129aea (function_arg): Shift all structures less than 4 bytes,
not just those which are QImode or HImode.

From-SVN: r5017
1993-07-28 10:16:54 -07:00
Jim Wilson
f31870c1b0 (assign_parms): Pass extra argument SIZE to move_block_from_reg calls.
(assign_parms): Pass extra argument SIZE to
move_block_from_reg calls.
(locate_and_pad_parm): For !ARGS_GROW_DOWNWARD case, move downward
padding pad_below call after round_up call.

From-SVN: r5016
1993-07-28 10:15:25 -07:00
Jim Wilson
067a2933ea (move_block_from_reg): Add new argument to prototype.
From-SVN: r5015
1993-07-28 10:14:44 -07:00
Jim Wilson
0040593d86 (move_block_from_reg): New argument SIZE.
(move_block_from_reg): New argument SIZE.  If SIZE less
than word and BYTES_BIG_ENDIAN, shift block left to align it
before storing it to memory.

From-SVN: r5014
1993-07-28 10:13:53 -07:00
Jim Wilson
8498efd082 (expand_call): For unaligned arguments on
BYTES_BIG_ENDIAN machines, correct bitfield offset calculations.

From-SVN: r5013
1993-07-28 10:12:33 -07:00
Doug Evans
0eb61c19ed expmed.c (store_split_bitfield): Fix handling of bitfields that cross word boundaries...
* expmed.c (store_split_bitfield): Fix handling of bitfields that
 cross word boundaries, can only handle a word at a time.
 (extract_split_bitfield): Likewise.

From-SVN: r5012
1993-07-28 16:39:07 +00:00
John Hassey
3ffeb92223 Initial revision
From-SVN: r5011
1993-07-28 13:42:50 +00:00
Per Bothner
2fdf880111 Define STMP_FIXPROTO to empty for cross.
From-SVN: r5010
1993-07-27 15:45:33 -07:00
Per Bothner
fd602e5abb Pass '-' to tr as the 1-character range '---'.
From-SVN: r5009
1993-07-27 15:45:09 -07:00
Per Bothner
cefd15ce40 Disable obnoxious warning message.
From-SVN: r5008
1993-07-27 14:01:33 -07:00
Per Bothner
ec0ed4f7ff patch-header.c (read_scan_file): Minor re-write to avoid obstack_copy0, since that uses the non-portable bcopy().
* patch-header.c (read_scan_file):  Minor re-write to avoid
obstack_copy0, since that uses the non-portable bcopy().

From-SVN: r5007
1993-07-27 13:55:12 -07:00
Per Bothner
7b03247ca3 * Makefile.in (patch-header): Use $(HOST_OBSTACK).
From-SVN: r5006
1993-07-27 13:54:38 -07:00
Richard Kenner
9db73acb48 (optimize_bit_field_compare): Preserve volatility of bitfield.
From-SVN: r5005
1993-07-27 16:42:34 -04:00
Richard Stallman
19fdd3eecb (assign_parms): Don't copy too much when extending parm_reg_stack_loc.
From-SVN: r5004
1993-07-27 18:52:32 +00:00
Richard Stallman
86615a6216 (ASM_DECLARE_OBJECT_NAME): Don't make a .size if the size is not known.
(ASM_DECLARE_OBJECT_NAME): Don't make a .size
if the size is not known.  Use DECL, not decl.

From-SVN: r5003
1993-07-27 18:46:28 +00:00