diff options
author | Richard Kenner <kenner@vlsi1.ultra.nyu.edu> | 2005-07-22 07:13:42 +0000 |
---|---|---|
committer | Laurent Guerby <guerby@gcc.gnu.org> | 2005-07-22 07:13:42 +0000 |
commit | ee184c4def9632d74193f291f94244c6dac220d5 (patch) | |
tree | 220bbe67a3e72f33eecfddbb30521d8a706f8c56 /gcc/function.c | |
parent | f4f94d6bc07c9b5b7e53114a8bb547a83d13b861 (diff) | |
download | gcc-ee184c4def9632d74193f291f94244c6dac220d5.zip gcc-ee184c4def9632d74193f291f94244c6dac220d5.tar.gz gcc-ee184c4def9632d74193f291f94244c6dac220d5.tar.bz2 |
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
Diffstat (limited to 'gcc/function.c')
-rw-r--r-- | gcc/function.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/function.c b/gcc/function.c index 38f56a6..56e342e 100644 --- a/gcc/function.c +++ b/gcc/function.c @@ -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 (); |