(identify_blocks): Handle case where no block nodes
authorwilson <wilson@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 11 Aug 1992 19:49:26 +0000 (19:49 +0000)
committerwilson <wilson@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 11 Aug 1992 19:49:26 +0000 (19:49 +0000)
commit9d819987e6064c757441bd97c3865a11cd07d3a0
tree84f35f1b8ee039d9db79da3304a72795bee7b60a
parent6e79311f35a1dd0ac1e1ddb57d972579c2d810e2
(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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@1797 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/function.c