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
This commit is contained in:
parent
b1e5331860
commit
74490e0552
@ -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.
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user