summaryrefslogtreecommitdiff
path: root/gcc/cfgbuild.c
diff options
context:
space:
mode:
authorhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>2002-06-12 14:51:09 +0000
committerhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>2002-06-12 14:51:09 +0000
commit8c09ed5509531501b98eda2ef791770c855b7a2c (patch)
tree701aae7fc166b5ad570e72afccb4df30e0b4c171 /gcc/cfgbuild.c
parentfdfe6157a76dd51a3b20beaabd86f02860b3bbad (diff)
downloadgcc-8c09ed5509531501b98eda2ef791770c855b7a2c.tar.gz
* i386.md (shift patterns): Use (TARGET_SHIFT1 || optimize_size) to
decide whether emit the short opcode. * i386.h (x86_shift1): Declare. (TARGET_SHIFT1): New macro. * i386.c (x86_shift1): New global variable. * toplev.c (rest_of_compilation): Call find_basic_block pre-loop unconditionally; make loop to rebuild CFG; kill unnecesary find_basic_block calls; kill compute_bb_for_insn call. * cfgbuild.c (find_basic_blocks): Kill compute_bb_for_insn call. * haifa-sched.c (sched_init): Likewise. * ssa-ccp.c (ssa_const_prop): Likewise. * ssa-dce.c (ssa_eliminate_dead_code): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54552 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cfgbuild.c')
-rw-r--r--gcc/cfgbuild.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/gcc/cfgbuild.c b/gcc/cfgbuild.c
index 6b7a9addb89..8b7b7058931 100644
--- a/gcc/cfgbuild.c
+++ b/gcc/cfgbuild.c
@@ -647,13 +647,6 @@ find_basic_blocks (f, nregs, file)
find_basic_blocks_1 (f);
- /* Record the block to which an insn belongs. */
- /* ??? This should be done another way, by which (perhaps) a label is
- tagged directly with the basic block that it starts. It is used for
- more than that currently, but IMO that is the only valid use. */
-
- compute_bb_for_insn ();
-
/* Discover the edges of our cfg. */
make_edges (label_value_list, ENTRY_BLOCK_PTR->next_bb, EXIT_BLOCK_PTR->prev_bb, 0);