Commit 74490e05 by Richard Earnshaw Committed by Richard Earnshaw

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
parent b1e53318
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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment