diff options
| author | rearnsha <rearnsha@138bc75d-0d04-0410-961f-82ee72b054a4> | 2000-10-12 12:33:59 +0000 |
|---|---|---|
| committer | rearnsha <rearnsha@138bc75d-0d04-0410-961f-82ee72b054a4> | 2000-10-12 12:33:59 +0000 |
| commit | d4e8df9e7f851a49f58a6e1fd142af0f90f1d07c (patch) | |
| tree | 700e3515a1abfe11a9abdaed542c40770c466e23 | |
| parent | 4f2e35c7ff33c49c91ea89ece0c46fbcf82b2476 (diff) | |
| download | ppe42-gcc-d4e8df9e7f851a49f58a6e1fd142af0f90f1d07c.tar.gz ppe42-gcc-d4e8df9e7f851a49f58a6e1fd142af0f90f1d07c.zip | |
* bb-reorder.c (reorder_basic_blocks): Allocate an aux block for
the exit block.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@36849 138bc75d-0d04-0410-961f-82ee72b054a4
| -rw-r--r-- | gcc/ChangeLog | 5 | ||||
| -rw-r--r-- | gcc/bb-reorder.c | 4 |
2 files changed, 9 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index b2c4b90e704..7fb0bdc052b 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2000-10-12 Richard Earnshaw <rearnsha@arm.com> + + * bb-reorder.c (reorder_basic_blocks): Allocate an aux block for + the exit block. + 2000-10-12 Joseph S. Myers <jsm28@cam.ac.uk> * gcc.texi: Merge in contents of README.TRAD and TESTS.FLUNK. diff --git a/gcc/bb-reorder.c b/gcc/bb-reorder.c index c6b996edc74..3fa8a590276 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 |

