diff options
author | Richard Earnshaw <rearnsha@arm.com> | 2000-10-12 12:33:59 +0000 |
---|---|---|
committer | Richard Earnshaw <rearnsha@gcc.gnu.org> | 2000-10-12 12:33:59 +0000 |
commit | 74490e0552eae199098f2c5975bf570956704d95 (patch) | |
tree | 700e3515a1abfe11a9abdaed542c40770c466e23 /gcc/bb-reorder.c | |
parent | b1e53318603f977aafab9404a22f8195c4f0ad96 (diff) | |
download | gcc-74490e0552eae199098f2c5975bf570956704d95.zip gcc-74490e0552eae199098f2c5975bf570956704d95.tar.gz gcc-74490e0552eae199098f2c5975bf570956704d95.tar.bz2 |
bb-reorder.c (reorder_basic_blocks): Allocate an aux block for the exit block.
* bb-reorder.c (reorder_basic_blocks): Allocate an aux block for
the exit block.
From-SVN: r36849
Diffstat (limited to 'gcc/bb-reorder.c')
-rw-r--r-- | gcc/bb-reorder.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/bb-reorder.c b/gcc/bb-reorder.c index c6b996e..3fa8a59 100644 --- a/gcc/bb-reorder.c +++ b/gcc/bb-reorder.c @@ -1358,6 +1358,8 @@ reorder_basic_blocks () for (i = 0; i < n_basic_blocks; i++) BASIC_BLOCK (i)->aux = xcalloc (1, sizeof (struct reorder_block_def)); + EXIT_BLOCK_PTR->aux = xcalloc (1, sizeof (struct reorder_block_def)); + build_scope_forest (&forest); remove_scope_notes (); @@ -1376,6 +1378,8 @@ reorder_basic_blocks () for (i = 0; i < n_basic_blocks; i++) free (BASIC_BLOCK (i)->aux); + free (EXIT_BLOCK_PTR->aux); + #ifdef ENABLE_CHECKING verify_flow_info (); #endif |