diff options
author | Richard Henderson <rth@cygnus.com> | 1999-12-08 22:25:11 -0800 |
---|---|---|
committer | Richard Henderson <rth@gcc.gnu.org> | 1999-12-08 22:25:11 -0800 |
commit | f1fcc26102c6daf8df64330ef2bfdcd6e81b86ee (patch) | |
tree | 48cf25589d3d0e1840fff3b604b1996dda75225a /gcc | |
parent | 021b39495909bda4cf87beee437bcfcc20018b01 (diff) | |
download | gcc-f1fcc26102c6daf8df64330ef2bfdcd6e81b86ee.zip gcc-f1fcc26102c6daf8df64330ef2bfdcd6e81b86ee.tar.gz gcc-f1fcc26102c6daf8df64330ef2bfdcd6e81b86ee.tar.bz2 |
* flow.c (count_basic_blocks): Don't add (use (const_int 0)) insns.
From-SVN: r30837
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/flow.c | 12 |
2 files changed, 4 insertions, 12 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 58e22dd..77e8078 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +Wed Dec 8 22:24:15 1999 Richard Henderson <rth@cygnus.com> + + * flow.c (count_basic_blocks): Don't add (use (const_int 0)) insns. + 1999-12-08 Bernd Schmidt <bernds@cygnus.co.uk> * loop.c (insert_loop_mem): Don't hoist volatile mems out of loops. @@ -471,18 +471,6 @@ count_basic_blocks (f) || (prev_code == CALL_INSN && call_had_abnormal_edge)))) { count++; - - /* If the previous insn was a call that did not create an - abnormal edge, we want to add a nop so that the CALL_INSN - itself is not at basic_block_end. This allows us to - easily distinguish between normal calls and those which - create abnormal edges in the flow graph. */ - - if (count > 0 && prev_call != 0 && !call_had_abnormal_edge) - { - rtx nop = gen_rtx_USE (VOIDmode, const0_rtx); - emit_insn_after (nop, prev_call); - } } /* Record whether this call created an edge. */ |