Commit Graph

1874 Commits

Author SHA1 Message Date
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
Tom Wood
d6927cc958 (NULL_PTR): Use the same definition as
rtl.h and tree.h.

From-SVN: r1847
1992-08-14 22:52:00 +00:00
Jim Wilson
5856c581ba (attach_deaths_insn): Don't call attach_deaths for CLOBBERs.
From-SVN: r1846
1992-08-14 15:51:36 -07:00
Tom Wood
d887e8089b (do_spec_1): Add %u.
(default_compilers): For output of as when -c is not used, use %u
	rather than %g so each object filename will be unique.

(NULL_PTR): Use the same definition as
	rtl.h and tree.h.

From-SVN: r1845
1992-08-14 22:51:05 +00:00
Tom Wood
b29d5f7543 (write_units): Write #defines for the number of function units, the min/max ready cost and min/max busy delay.
(write_units): Write #defines for the number of
	function units, the min/max ready cost and min/max busy delay.
	Add max_busy_cost field to struct function_unit_desc.

From-SVN: r1844
1992-08-14 22:49:34 +00:00
Richard Kenner
a9d27cb2a3 (copy_loop_body): Don't assume (pc) can be on either leg of jump; use
invert_exp and redirect_exp instead.

From-SVN: r1843
1992-08-14 18:41:07 -04:00
Richard Kenner
4214a50578 (invert_exp, redirect_exp): No longer static.
Clean up order of declarations at start of file and remove extraneous decls.

From-SVN: r1842
1992-08-14 18:40:37 -04:00
Richard Kenner
e318a72ac7 Call va-alpha.h for Alpha.
From-SVN: r1841
1992-08-14 15:35:36 -04:00
Richard Kenner
09afda240e (USER_H): Add va-alpha.h and sort names.
From-SVN: r1840
1992-08-14 15:34:40 -04:00
Richard Kenner
9ae7be35a9 Add "alpha".
From-SVN: r1839
1992-08-14 15:34:06 -04:00
Richard Kenner
6f837f81fc Initial revision
From-SVN: r1838
1992-08-14 15:32:10 -04:00
Richard Kenner
c7c955eebc (fold_rtx): Fix typo in two FLOAT_STORE_FLAG_VALUE tests.
From-SVN: r1837
1992-08-14 14:44:54 -04:00
Richard Kenner
f582c9d513 (add_to_sequence): Treat MATCH_PAR_DUP just like MATCH_DUP.
From-SVN: r1836
1992-08-14 14:44:28 -04:00
Richard Kenner
693fb02f80 (match_rtx): Treat MATCH_PAR_DUP just like MATCH_DUP.
From-SVN: r1835
1992-08-14 14:43:53 -04:00
Richard Kenner
ed18f94dd9 (scan_operands): Treat MATCH_PAR_DUP just like MATCH_DUP.
From-SVN: r1834
1992-08-14 14:43:28 -04:00
Richard Kenner
f3e0821d9f (walk_rtx): Treat MATCH_PAR_DUP just like MATCH_DUP.
From-SVN: r1833
1992-08-14 14:43:01 -04:00
Richard Kenner
8fabbfe673 (max_operand_1): Treat MATCH_PAR_DUP just like MATCH_OP_DUP.
(gen_exp): Treat it like MATCH_PARALLEL here.

From-SVN: r1832
1992-08-14 14:42:10 -04:00
Richard Kenner
13ed0ef01e (walk_insn_part): Treat MATCH_PAR_DUP just like MATCH_OP_DUP.
From-SVN: r1831
1992-08-14 14:40:32 -04:00
Tom Wood
42add480cd (find_reloads): Ignore `%' in the last operand after
warning.

From-SVN: r1830
1992-08-14 18:39:00 +00:00
Richard Kenner
ae3c61faf7 *** empty log message ***
From-SVN: r1829
1992-08-14 14:38:10 -04:00
Richard Kenner
f89e32e950 (simplify_unary_operation): Remove "else".
From-SVN: r1828
1992-08-14 07:41:11 -04:00
Richard Kenner
266007a7d6 (movstr_optab): New variable.
(init_expr_once): Initialize it.
(emit_block_move): Rework code that generates movstrxx insns to check
predicates and use an optab.

From-SVN: r1827
1992-08-14 07:40:16 -04:00
Richard Kenner
efb07da787 (life_analysis, propagate_block, dump_flow_info): Add more missing
casts to REGSET_ELT_TYPE.

From-SVN: r1826
1992-08-14 07:39:24 -04:00