Commit Graph

1896 Commits

Author SHA1 Message Date
Richard Kenner
87f60669a0 (copy_loop_body): Add missing declaration of EXIT_LABEL parameter.
From-SVN: r1897
1992-08-19 13:37:07 -04:00
Richard Kenner
5a73491b0f (instantiate_decl): New function.
(instantiate_decls{,_1}): Call it.

From-SVN: r1896
1992-08-19 08:48:39 -04:00
Richard Kenner
fe0cf571ec Correctly apply last change.
From-SVN: r1895
1992-08-19 07:32:24 -04:00
Richard Kenner
a687e8971c (simplify_comparison): Add a few more cases where we can do the
comparison in a wider mode.

(distribute_notes, REG_EQUAL): Don't put back a note with a
non-constant expression since it may no longer be valid.

From-SVN: r1894
1992-08-19 07:07:22 -04:00
Mike Stump
5c06281655 expr.c (expand_expr): The first expansion of a TARGET_EXPR is marked by DECL_RTL (slot) being filled...
* expr.c (expand_expr): The first expansion of a TARGET_EXPR
        is marked by DECL_RTL (slot) being filled in AND TREE_OPERAND
        (exp, 1) being wiped-out with a NULL_TREE, not just the
        DECL_RTL (slot) being filled in.

From-SVN: r1893
1992-08-19 06:17:27 +00:00
Richard Stallman
741be22fac (build_selector_translation_table): NULL-terminate the selector list.
(build_selector_translation_table): NULL-terminate the
selector list.  Mark _OBJC_SELECTOR_REFERENCES_decl as static, not extern.

From-SVN: r1892
1992-08-19 02:49:35 +00:00
Mike Stump
a8ccbf5324 * xcoffout.c (assign_type_number): Skip decls with no name.
From-SVN: r1891
1992-08-19 01:37:50 +00:00
Mike Stump
ac993f4f60 expr.c (expand_expr): When expanding TARGET_EXPRs...
* expr.c (expand_expr): When expanding TARGET_EXPRs, make sure
        that they are only expanded once, after the first expansion,
        the rtl can be used without further expansions.

From-SVN: r1890
1992-08-19 01:33:35 +00:00
Richard Stallman
7e70e7c5a6 (expand_return): Call emit_queue in ignore-the-value case.
(expand_end_bindings): Check DECL_IN_SYSTEM_HEADER for unused warnings.

From-SVN: r1889
1992-08-18 21:13:10 +00:00
Richard Stallman
ceedd25ef0 (X_CFLAGS): Defined.
From-SVN: r1888
1992-08-18 20:25:54 +00:00
Tom Wood
f5f1d16357 (HOST_WIDE_INT): Copy definition from machmode.h.
From-SVN: r1887
1992-08-18 19:44:21 +00:00
Richard Stallman
89f1c7f257 (simplify_comparison): Rearrange conditional in SUBREG case.
From-SVN: r1886
1992-08-18 16:59:12 +00:00
Tom Wood
60d0011749 (sed marker): Use the order {target, host, cross-make}.
From-SVN: r1885
1992-08-18 10:51:20 +00:00
Dennis Glatting
2a425bd567 Saving a working version before release.
From-SVN: r1884
1992-08-17 21:46:58 -07:00
Richard Stallman
e63c1d357b (ansi_compat.h): Replace this with an empty file.
From-SVN: r1883
1992-08-18 04:19:17 +00:00
Richard Stallman
31bcbccb46 (movstrsi1): Renamed from movstrsi.
(movstrsi): New define_expand.

From-SVN: r1882
1992-08-18 04:18:46 +00:00
Richard Stallman
845e422897 (pcfinclude): Use HOST_WIDE_INT for rounding a pointer.
From-SVN: r1881
1992-08-18 04:15:46 +00:00
Richard Stallman
b39a6d4337 Fix typo in last change.
From-SVN: r1880
1992-08-18 02:55:50 +00:00
Richard Stallman
2726966da1 (digest_init): Test TREE_TYPE (inside_init) is
nonzero before testing anything else about it.

From-SVN: r1879
1992-08-18 02:55:07 +00:00
Richard Stallman
68a8ca25ec (do_include): If search_start is NULL, complain that we had nowhere to look.
From-SVN: r1878
1992-08-18 02:03:55 +00:00
Jim Wilson
c0954bcdaf (i960_address_cost): Don't abort for invalid addresses.
From-SVN: r1877
1992-08-17 11:55:48 -07:00
Jim Wilson
2654605aa7 (assign_parms): When copy arg passed by invisible
reference to pseudo reg, don't use nominal_mode.

From-SVN: r1876
1992-08-17 11:53:26 -07:00
Richard Stallman
3c3fa1471c (digest_init): Use TYPE_MAIN_VARIANT comparing type of inside_init.
(process_init_constructor): Warn about partly bracketed initializers.

From-SVN: r1875
1992-08-17 18:31:29 +00:00
Michael Meissner
b5b6ad4638 Add missing return; delete unused vars & static functions.
From-SVN: r1874
1992-08-17 17:45:19 +00:00
Richard Kenner
0bba3f6fb7 (expand_expr, case COMPONENT_REF): Don't actually do extraction from
memory if we want address.

(emit_block_move): Fix problems in last change.

From-SVN: r1873
1992-08-17 07:37:25 -04:00
Richard Kenner
a73f9fc940 (jump_optimize): Allow SUBREG in many places where REG is allowed.
From-SVN: r1872
1992-08-17 07:36:39 -04:00
Richard Kenner
b8eb43a245 (fold): Move conversion back outside of COND_EXPR if moving it inside
didn't help anything.

(div_and_round_double): Change some more ints to HOST_WIDE_INTs.

From-SVN: r1871
1992-08-17 07:36:10 -04:00
Richard Kenner
7c046e4eb2 (struct undo, struct undo_int): Replace non-portable usage with some unions.
(SUBST, SUBST_INT, undo_all, gen_rtx_combine): Make consistent with
new definitions.

From-SVN: r1870
1992-08-17 07:35:04 -04:00
Richard Kenner
2c414fba8e (expand_mult): Bound second synth_mult cost by cost of algorithm from
first call.

(expand_divmod): When doing logical operations, the size of
COMPUTE_MODE should be used, not MODE.

From-SVN: r1869
1992-08-17 07:34:23 -04:00
Richard Kenner
05c0fbb8bc (builtin_new): Remove declaration of malloc.
From-SVN: r1868
1992-08-17 07:33:24 -04:00
Richard Kenner
2cebaa84bd (LINK_SPEC): Add %s for default.ld.
(LINK_LIBGCC_SPECIAL): No longer needed.
(ASM_FILE_STARY): Add shared data section.
(SHARED_SECTION_ASM_OP): New macro.
(OVERRIDE_OPTIONS): If -fshared-data, add -fno-common.

From-SVN: r1867
1992-08-17 07:32:34 -04:00
Richard Kenner
b8c59d6fe4 Initial revision
From-SVN: r1866
1992-08-17 07:31:37 -04:00
Richard Stallman
7a646ee5a3 Fix typo in last change.
From-SVN: r1865
1992-08-17 07:58:51 +00:00
Richard Stallman
c1af03468d (is_ctor_dtor): Don't collect cfront init fcns.
From-SVN: r1864
1992-08-17 07:58:06 +00:00
Richard Stallman
7133bb7f11 (casesi1): Renamed from casesi.
(casesi): New trivial define_expand invokes casesi1.
(movstrhi, movstrhi1): Analogous change.

From-SVN: r1863
1992-08-17 07:44:30 +00:00
Richard Stallman
f2e663b697 (GCC_FOR_TARGET): Put -B./ here.
(GCC_CFLAGS): Not here.

From-SVN: r1862
1992-08-17 07:38:18 +00:00
Torbjorn Granlund
2bb649fe7c (print_operand_address): Fix typo.
From-SVN: r1861
1992-08-16 14:39:53 +00:00
Michael Meissner
f875bd3117 Use %u.o instead of %g.o in ASM_FINAL_SPEC if -c is not specified.
From-SVN: r1860
1992-08-15 15:25:19 +00:00
Michael Meissner
6ba6150412 Use -Dvfork=fork, instead of linking in libbsd.a
From-SVN: r1859
1992-08-15 15:14:54 +00:00
Richard Kenner
cd1b4b4474 (convert_move): Copy SUBREG to REG in one more case.
(do_jump*): Always do comparison in object's signedness now that
combine can remove extraneous sign extends.

From-SVN: r1858
1992-08-15 06:36:00 -04:00
Richard Kenner
2fc9c644a4 (get_last_value): Don't go past a CODE_LABEL when searching for a
value.

From-SVN: r1857
1992-08-15 06:35:08 -04:00
Richard Stallman
2ef32c884e (process_command): In second loop over all switches,
don't increment I for switches that don't have separate arguments.

From-SVN: r1856
1992-08-15 07:49:48 +00:00
Richard Stallman
c01b03e85d Don't ever include stddef.h.
(append_include_chain): Avoid using size_t.
(initialize_builtins): Output defn of __WCHAR_TYPE__ just once.

From-SVN: r1855
1992-08-15 07:46:46 +00:00
Tom Wood
26ba9d2636 Really install NULL_PTR change
From-SVN: r1854
1992-08-15 00:20:19 +00:00
Richard Stallman
e2aab13d8a (truthvalue_conversion): Optionally warn if an
unparenthesized assignment is used as a truth value.

From-SVN: r1853
1992-08-14 23:45:09 +00:00
Tom Wood
390e01bf6c (NULL_PTR): Use the same definition as
rtl.h and tree.h.

From-SVN: r1852
1992-08-14 23:36:43 +00:00
Richard Kenner
c7d26bc127 (num_operands): MATCH_PARALLEL also represents an operand.
From-SVN: r1851
1992-08-14 19:36:19 -04:00
Richard Stallman
0e01e0a2bc (grokdeclarator): Remove duplicate diagnostic for
initialized parameters; start_decl already does this.

From-SVN: r1850
1992-08-14 23:18:12 +00:00
Richard Stallman
448251cf35 (handle_directive): Output macro name if dump_names.
From-SVN: r1849
1992-08-14 23:15:01 +00:00
Tom Wood
72f1215c58 (simplify_by_exploding, find_and_mark_used_attributes,
unmark_used_attributes, add_values_to_cover, increment_current_value,
	test_for_current_value, simplify_with_current_value,
	simplify_with_current_value_aux): New functions.
	(struct function_unit): Add max_busy_cost, {min,max}_busy_delay.
	(expand_units): Use simplify_by_exploding to simplify the
	function_units_used attribute.  Compute the ready cost attributes
	as a COND in numeric order.
	(gen_unit): Compute {min,max}_ready_cost and {min,max}_busy_delay.
	(write_function_unit_info): Determine if there is only one busy
	delay value by comparing the minimum and maximum busy delay.
	Write the initializer for function_units in numeric order.
	Write out the maximum busy delay field.

(attr_desc): Add negative_ok field.
	(find_attr, make_internal_attr): Initialize negative_ok.
	(check_attr_value): Allow negative values for CONST_STRING for
	numeric attributes with negative_ok.
	(encode_units_mask): Change the encoding of the function_units_used
	result.

{....

From-SVN: r1848
1992-08-14 22:53:16 +00:00