Commit Graph

1921 Commits

Author SHA1 Message Date
Richard Stallman
e0a5c5eb0a (emit_insns_after): New function.
From-SVN: r1922
1992-08-21 06:12:24 +00:00
Richard Stallman
edc7c4ec3b (parser_build_binary_op): Replace the assignment of CLASS.
For Z<Y<Z warning, test class of CODE; don't use TREE_CODE (result).

From-SVN: r1921
1992-08-21 06:05:17 +00:00
Jeff Law
3bf1c6b55c pa.md (call_value+1): For non-dynamic calls...
* pa.md (call_value+1): For non-dynamic calls, use the "call"
	attribute, set length to 1, and fix output template to work
	properly with delay slots.

	* pa.md (address and use_call_clobbered attributes): Deleted,
	these attributes are useless.  All references deleted.
	(call define delay): Use "in_branch_delay" as the condition since
	"call" delay slots and unconditional "branch" delay slots allow the
	same type of insns.
	(in_call_delay conditional): Deleted.
	(branch define delay): Do not define an annul-if-true delay slot.
	It is useless for an unconditional branch.
	(all delay branch conditionals): Make sure "call", "dyncall", "multi",
	and "milli" insns are explicitly disallowed in delay slots.

From-SVN: r1920
1992-08-20 23:57:31 -06:00
Jeff Law
3d83d496bc pa.c (output_mul_insn): Delete nop after branch in template...
* pa.c (output_mul_insn): Delete nop after branch in template,
	conditionally emit a nop if the delay slot was not filled. (via %#)

	* pa.c (output_function_prologue): Handle profiling in a function
	without a frame pointer.

From-SVN: r1919
1992-08-20 23:52:28 -06:00
Tom Wood
5c09c899b9 (__INT_VARARGS_H): Define this to avoid trouble on DG/UX.
From-SVN: r1918
1992-08-20 23:17:53 +00:00
Richard Stallman
bc04dacb8e Move include of stdio.h before output.h.
From-SVN: r1917
1992-08-20 20:18:38 +00:00
Richard Stallman
a23b64d548 Compare enums (preds.
Compare enums (preds. codes, mem_mode)
explicitly to 0 in conditionals to work-around a VAXC bug that
disallows enum as arguments to && and || operators.

From-SVN: r1916
1992-08-20 19:35:52 +00:00
Richard Stallman
106d7d7de8 (decl of create_definition): Move forward declaration past the definition of struct macrodef.
(decl of create_definition): Move forward declaration
past the definition of struct macrodef.
(VMS_strncat): New function.

From-SVN: r1915
1992-08-20 19:34:20 +00:00
Richard Stallman
ebea352be5 (not_qsort): New function.
From-SVN: r1914
1992-08-20 19:33:41 +00:00
Richard Stallman
5ac3f0f448 Initial revision
From-SVN: r1913
1992-08-20 19:33:20 +00:00
Richard Stallman
4d7e336b7c (environ): Make declaration conditional.
(main: -g debugging setup): Get rid of \ in #if condition.

From-SVN: r1912
1992-08-20 19:32:37 +00:00
Richard Stallman
a9f5a65cd8 Initial revision
From-SVN: r1911
1992-08-20 18:49:22 +00:00
Richard Kenner
e6fe56a424 (init_expr_once): Set direct_load and direct_store if SOME hard register can be loaded or stored...
(init_expr_once): Set direct_load and direct_store if SOME hard
register can be loaded or stored; not just if the first one we pick
can be.

From-SVN: r1910
1992-08-20 08:36:23 -04:00
Richard Kenner
1b238f1c06 Fix typo.
From-SVN: r1909
1992-08-20 07:24:17 -04:00
Richard Kenner
b4aee14e5a ({load,store}_multiple): Use MATCH_PAR_DUP instead of MATCH_PARALLEL.
From-SVN: r1908
1992-08-20 07:22:26 -04:00
Richard Kenner
52c293f8cc (load_multiple): Operand 2 should be a MATCH_OPERAND.
(store_multiple_{,no_}bug): Likewise.

From-SVN: r1907
1992-08-20 07:08:00 -04:00
Richard Kenner
d2c9e30fdb (mark_set_resources): Fix two bugs in last change.
From-SVN: r1906
1992-08-20 06:05:53 -04:00
Richard Kenner
f8d97cf472 Put include of stdio.h after GCC header files (for i860-stardent-sysv4).
From-SVN: r1905
1992-08-20 05:58:18 -04:00
Richard Stallman
99effc21d4 (mulsi3): Use emit_insn on results of gen fcns. Return with DONE.
From-SVN: r1904
1992-08-20 04:53:06 +00:00
Richard Kenner
53e33d9533 (subst, case AND): Only make IF_THEN_ELSE if conditional moves exist.
From-SVN: r1903
1992-08-19 21:33:19 -04:00
Richard Kenner
674ba2d6bf (have_cmove_flag): New variable.
(walk_insn_part): Add new parm NON_PC_SET_SRC; all callers changed.
Look for IF_THEN_ELSE in a SET_SRC that isn't setting PC and set
have_cmove_flag if so.
(main): Define HAVE_conditional_move if have_cmove_flag is non-zero.

From-SVN: r1902
1992-08-19 21:32:51 -04:00
Jim Wilson
cd1ceb3ca5 (finclude): Increment indepth before calling
trigraph_pcp, so that warning uses the correct file name.

From-SVN: r1901
1992-08-19 18:06:05 -07:00
Richard Kenner
b2796a4bdd (find_comparison_args): Look for comparison operations if the second arg is 0 in any mode.
(find_comparison_args): Look for comparison operations if the second arg is
0 in any mode.
(record_jump_cond): Don't make classes equivalent for floating-point equality
comparison.

From-SVN: r1900
1992-08-19 18:19:34 -04:00
Richard Kenner
7fe4336e98 (alloc_qty_for_scratch, block_alloc): Provide alternate code in some cases when REGISTER_CONSTRAINTS is not defined.
(alloc_qty_for_scratch, block_alloc): Provide alternate code in some cases
when REGISTER_CONSTRAINTS is not defined.
(requires_inout_p): Only used when REGISTER_CONSTRAINTS is defined.

From-SVN: r1899
1992-08-19 17:06:37 -04:00
Richard Kenner
26d970a5b9 (mark_set_resources): Add new parm IN_DEST; add callers changed.
Rework to scan an entire insn to look for auto-inc operations.

From-SVN: r1898
1992-08-19 15:05:52 -04:00
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