re PR tree-optimization/22336 (ICE Segfault in record_block_change at function.c:5498)

2005-07-22  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
            Laurent GUERBY  <laurent@guerby.net>

        PR tree-optimization/22336
        * function.c (record_block_change): Check for
        cfun->ib_boundaries_block.

Co-Authored-By: Laurent GUERBY <laurent@guerby.net>

From-SVN: r102272
This commit is contained in:
Richard Kenner 2005-07-22 07:13:42 +00:00 committed by Laurent Guerby
parent f4f94d6bc0
commit ee184c4def
2 changed files with 10 additions and 0 deletions

View File

@ -1,3 +1,10 @@
2005-07-22 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
Laurent GUERBY <laurent@guerby.net>
PR tree-optimization/22336
* function.c (record_block_change): Check for
cfun->ib_boundaries_block.
2005-07-21 James A. Morrison <phython@gcc.gnu.org>
* fold-const.c (fold_unary): Don't strip signed nops from ABS_EXPRs.

View File

@ -5492,6 +5492,9 @@ record_block_change (tree block)
if (!block)
return;
if(!cfun->ib_boundaries_block)
return;
last_block = VARRAY_TOP_TREE (cfun->ib_boundaries_block);
VARRAY_POP (cfun->ib_boundaries_block);
n = get_max_uid ();