summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorthorpej <thorpej@138bc75d-0d04-0410-961f-82ee72b054a4>2002-05-17 01:33:16 +0000
committerthorpej <thorpej@138bc75d-0d04-0410-961f-82ee72b054a4>2002-05-17 01:33:16 +0000
commit5e7d465f337d9d419b2528ad819390067caeca95 (patch)
tree0eb7ad99b5275d0d5152069f2cc9dbc2c65cec39
parent0b6b6b9b8a091d2fb9fd154fb7cc3fec81216dfb (diff)
downloadgcc-5e7d465f337d9d419b2528ad819390067caeca95.tar.gz
* lcm.c (optimize_mode_switching): Revert previous change.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53536 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/lcm.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 6feb37bd367..703d3037ee9 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,7 @@
+2002-05-16 Jason Thorpe <thorpej@wasabisystems.com>
+
+ * lcm.c (optimize_mode_switching): Revert previous change.
+
2002-05-16 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
* sched-rgn.c (schedule_insns): Initialize large_region_blocks
diff --git a/gcc/lcm.c b/gcc/lcm.c
index 17899191dac..1db53c6a3ca 100644
--- a/gcc/lcm.c
+++ b/gcc/lcm.c
@@ -1065,7 +1065,7 @@ optimize_mode_switching (file)
if (VARRAY_SIZE (basic_block_info) < last_basic_block)
VARRAY_GROW (basic_block_info, last_basic_block);
BASIC_BLOCK (last_basic_block - 1) = EXIT_BLOCK_PTR;
- EXIT_BLOCK_PTR->sindex = last_basic_block;
+ EXIT_BLOCK_PTR->sindex = last_basic_blocks;
#endif
/* Create the bitmap vectors. */