Commit Graph

1896 Commits

Author SHA1 Message Date
Jim Wilson
fc289cd166 (identify_blocks): Handle case where no block nodes exist.
(identify_blocks): Handle case where no block nodes
exist.  Use xmalloc not alloca for block_vector.
(reorder_blocks): New argument top_block.  Handle case where no
block nodes exist.  Always clear BLOCK_SUBBLOCKS (block) when
adding it to the block tree.
(all_blocks): Handle case where vector is zero. Store current
block at offset 0 in vector, not n_blocks.  Don't count current
block twice in n_blocks.

From-SVN: r1797
1992-08-11 12:49:26 -07:00
Jim Wilson
715e6efb42 (copy_loop_body): Only copy VTOP note if it will end up
before a loop exit test.

From-SVN: r1796
1992-08-11 12:42:35 -07:00
Michael Meissner
899eb12d04 Eliminate externs within {}.
From-SVN: r1795
1992-08-11 13:25:14 +00:00
Richard Stallman
001af58715 (parser_build_binary_op): Warn about expressions like `1<=i<=N'.
From-SVN: r1794
1992-08-11 09:21:37 +00:00
Richard Stallman
b5c525860d (fold): Don't fold (A op B ? A : C) if A is IEEE
floating point, because A might be -0.0 or NaN.

From-SVN: r1793
1992-08-11 08:33:24 +00:00
Richard Stallman
a6bf434760 Improve err msg for unknown config.
(read_specs): Cast args of xmalloc and read to unsigned.

From-SVN: r1792
1992-08-11 08:26:06 +00:00
Michael Meissner
3aaa90c773 Call gen_rtx, not gen_reg_rtx.
From-SVN: r1791
1992-08-11 02:10:59 +00:00
Torbjorn Granlund
2792f73522 (output_zdepi): Declare.
From-SVN: r1790
1992-08-10 10:22:45 +00:00
Torbjorn Granlund
c819adf2dd (output_zdepi): New function (contents from pa.md).
From-SVN: r1789
1992-08-10 10:21:57 +00:00
Torbjorn Granlund
ba0443bbb2 (Recognizer for zdepi_operand in HImode): New pattern.
(Recognizer for zdepi_operand in SImode): Call output_zdepi for output.
(shift patterns and recognizers): Handle 32 bit ints and truncate them for output.

From-SVN: r1788
1992-08-10 10:14:48 +00:00
Michael Meissner
f093cb8f4b emit_move_insn only takes two arguments.
From-SVN: r1787
1992-08-10 02:31:55 +00:00
Michael Meissner
6610a1b06a Treat call_pop, call_value_pop like call, call_insn.
From-SVN: r1786
1992-08-09 22:12:07 +00:00
Michael Meissner
f837a86171 Add prototype support.
From-SVN: r1785
1992-08-08 15:19:34 +00:00
Richard Stallman
e83d45c45e (default_conversion): Fix bug that
promotes short to unsigned if sizeof(short) == sizeof(int).

From-SVN: r1784
1992-08-07 07:21:41 +00:00
Richard Stallman
5f31db15fb (default_compilers): For output of as when -c is not used,
use %g, rather than %b, because the file is going to be deleted anyway.

From-SVN: r1783
1992-08-07 07:17:12 +00:00
Richard Stallman
8f300dc330 (final_scan_insn): Use ASM_OUTPUT_ADDR_DIFF_ELT
and ASM_OUTPUT_ADDR_VEC_ELT only if defined.

From-SVN: r1782
1992-08-07 04:17:06 +00:00
Richard Stallman
42dfa47fbd (finish_decl): Don't do expand_decl_init for FUNCTION_DECL.
(finish_struct):  If bit field is of an unsigned
type that promotes to int, promote it unsigned if traditional
or if it is the same size as int.
(start_function):  Ditto for function return value.
(finish_function): Test only can_reach_end for the warning
about reaching the end of a non-void function.
(poplevel): If apparently nested inline function has
DECL_ABSTRACT_ORIGIN, don't output it; propagate TREE_ADDRESSABLE.
(pushdecl): When copying inline details into an extern decl,
copy DECL_RESULT, TREE_ASM_WRITTEN.  Set DECL_ABSTRACT_ORIGIN.

From-SVN: r1781
1992-08-07 04:06:43 +00:00
Richard Stallman
5b00b2b943 Don't include real.h.
From-SVN: r1780
1992-08-07 04:05:01 +00:00
Richard Stallman
24b09b503b Include real.h.
From-SVN: r1779
1992-08-07 04:01:31 +00:00
Richard Stallman
d8c8b8e36b (mark_used_regs): Do recurse in setting of global hard reg.
Do set reg_next_use for global hard reg.

From-SVN: r1778
1992-08-07 04:00:44 +00:00
Jim Wilson
1f6fc4de69 (true_dependence): An unchanging read is guaranteed independent of a store only if the store is not unchanging.
(true_dependence): An unchanging read is guaranteed
independent of a store only if the store is not unchanging.
(anti_dependence): Added comment about unchanging reads.
(sched_analyze_2): Don't ignore unchanging reads, they may be
dependent on unchanging writes.

From-SVN: r1777
1992-08-06 19:02:19 -07:00
Jim Wilson
5584677eb4 Correct DEFINE_SPLITs added Jul 27.
Correct DEFINE_SPLITs added Jul 27.  They would
overwrite the input register if it was the same as the result reg.

From-SVN: r1776
1992-08-06 18:59:27 -07:00
Jeff Law
a291e55167 (ASM_FILE_START): If profiling IMPORT "_mcount" instead of
"__gcc_mcount".

(TARGET_SWITCHES): New switch "no-bss" which forces gcc not
use make use of the bss subspace.  (For compatability with old
buggy versions of gas.)
(ASM_FILE_START): Add $BSS$ subspace.
(BSS_SECTION_ASM_OP): New macro which tells the assembler to
switch to the bss subspace.
(EXTRA_SECTIONS): Define in_bss as an extra section.
(EXTRA_SECTION_FUNCTIONS): Define "bss_section" function to switch
into the bss subspace.
(ASM_OUTPUT_COMMON): If !TARGET_NO_BSS, then place commons into
the bss subspace.
(ASM_OUTPUT_LOCAL): Likewise.

From-SVN: r1775
1992-08-06 17:23:20 -06:00
Timothy Moore
17e1dfa27c (hppa_builtin_saveregs): Rewrite.
(secondary_reload_class): Bug fix.
        (arith32_operand): New function.

From-SVN: r1774
1992-08-06 17:09:55 +00:00
Timothy Moore
70f0c7e91e Rewrite to be compatible with hpux.
From-SVN: r1773
1992-08-06 17:09:02 +00:00
Timothy Moore
aa501fb73c Check hp800 symbol too for the hppa case.
From-SVN: r1772
1992-08-06 17:08:03 +00:00
Tom Wood
f63ce4f881 (EXTRA_SECTIONS, svr3): Add in_ctors and in_dtors.
From-SVN: r1771
1992-08-05 17:27:34 +00:00
Tom Wood
d034f9293f (EXTRA_SECTIONS, svr3): Delete empty definitions for
CTORS_SECTION_FUNCTION and DTORS_SECTION_FUNCTION.

From-SVN: r1770
1992-08-05 15:23:54 +00:00
Richard Stallman
9b80010115 Changes in comments.
From-SVN: r1769
1992-08-05 01:35:11 +00:00
Mike Stump
9e5386dbcd cp-tree.h, tree.h: Moved definitions of TREE_VIA_* into tree.h for consistency.
* cp-tree.h, tree.h:  Moved definitions of TREE_VIA_* into tree.h for
        consistency.

From-SVN: r1768
1992-08-05 01:13:34 +00:00
Richard Stallman
1dfdf85d60 (build_conditional_expr): Merged const and volatile flags of incoming types.
From-SVN: r1767
1992-08-04 19:36:44 +00:00
Tom Wood
16ff428bc1 (USING_SVR4_H): Define.
From-SVN: r1766
1992-08-04 19:17:40 +00:00
Tom Wood
58535a23e7 (USING_SVR3_H): Define.
From-SVN: r1765
1992-08-04 19:16:56 +00:00
Tom Wood
3623e71274 (EXTRA_SECTIONS): Base on the above defines.
From-SVN: r1764
1992-08-04 19:15:48 +00:00
Tom Wood
e7a3dd0905 entered into RCS
From-SVN: r1763
1992-08-04 19:11:36 +00:00
Richard Stallman
6aa4e0b4ca (dbxout.o): Depend on output.h.
From-SVN: r1762
1992-08-04 04:58:45 +00:00
Richard Stallman
c3bbab6a1b Include output.h.
From-SVN: r1761
1992-08-04 04:57:48 +00:00
Richard Stallman
cfa88f628d (install-common): Install protoize and related files if they were compiled.
(install-proto): Target deleted.

From-SVN: r1760
1992-08-04 04:22:13 +00:00
Richard Stallman
027cec3ba1 (install-cross-tools): Install nm from tooldir.
From-SVN: r1759
1992-08-04 00:28:05 +00:00
Richard Kenner
600a5d8863 (gen_rtx, case REG): Don't use frame_pointer_rtx or arg_pointer_rtx if
reload is in progress.

From-SVN: r1758
1992-08-02 21:44:23 -04:00
Richard Kenner
0782cd717f (jump_optimize): When replacing jumps with logical expressions, use
preserve_subexpressions_p.

From-SVN: r1757
1992-08-02 21:43:53 -04:00
Richard Kenner
1b2ac43859 (identify_blocks, reorder_blocks): Don't use SET_NOTE_BLOCK_NUMBER.
From-SVN: r1756
1992-08-02 21:43:22 -04:00
Richard Kenner
3da3fb2f61 (NOTE_BLOCK_NUMBER): Change definition to simpler form.
(SET_NOTE_BLOCK_NUMBER): Deleted.

From-SVN: r1755
1992-08-02 21:42:35 -04:00
Richard Kenner
b61b1c9177 (main): Don't cast pointers to int unnecessarily.
From-SVN: r1754
1992-08-02 21:41:53 -04:00
Richard Kenner
fb351073b9 (const_hash, SYMHASH): Use HOST_WIDE_INT instead of int when casting
pointers to integers.

From-SVN: r1753
1992-08-02 21:41:01 -04:00
Richard Kenner
d69c4bd158 (TYPE_HASH): Use HOST_WIDE_INT instead of int when casting pointers to
integers.

From-SVN: r1752
1992-08-02 21:40:19 -04:00
Richard Kenner
66b4c3adf7 (print_node): Use HOST_WIDE_INT instead of int when casting pointers
to integers.

From-SVN: r1751
1992-08-02 21:39:37 -04:00
Richard Kenner
c4fd10e7e2 (canon_hash): Use HOST_WIDE_INT instead of int when casting pointers
to integers.

From-SVN: r1750
1992-08-02 21:38:38 -04:00
Richard Kenner
ab17642530 (expand_inline_function): Cast -1 to (HOST_WIDE_INT) first.
From-SVN: r1749
1992-08-02 21:37:53 -04:00
Richard Kenner
6fa5c10660 (find_use_as_address): Use HOST_WIDE_INT instead of int when comparing a pointer to an integer constant...
(find_use_as_address): Use HOST_WIDE_INT instead of int when comparing a
pointer to an integer constant; also when returning int.

From-SVN: r1748
1992-08-02 21:37:21 -04:00