diff options
author | Jakub Jelinek <jakub@redhat.com> | 2016-02-12 12:57:54 +0100 |
---|---|---|
committer | Jakub Jelinek <jakub@gcc.gnu.org> | 2016-02-12 12:57:54 +0100 |
commit | b69539cbf58a1d0c918759dc12cf384922661753 (patch) | |
tree | 0bcf65910d9496d9b5e0acf1f0a34f108d659735 /gcc/gcc.h | |
parent | 4c707980691c4f1e52c41fac391d60dedd325633 (diff) | |
download | gcc-b69539cbf58a1d0c918759dc12cf384922661753.zip gcc-b69539cbf58a1d0c918759dc12cf384922661753.tar.gz gcc-b69539cbf58a1d0c918759dc12cf384922661753.tar.bz2 |
re PR ipa/68672 (g++.dg/torture/pr68470.C: ICE: cannot update SSA form: statement uses released SSA name)
PR ipa/68672
* ipa-split.c (split_function): Don't compute/use main_part_return_p.
Compute retval and retbnd early in all cases if split_part_return_p
and return_bb is not EXIT. Remove all clobber stmts and reset
all debug stmts that refer to SSA_NAMEs defined in split part,
except if it is retval, in that case replace the old retval with the
lhs of the call to the split part.
* g++.dg/ipa/pr68672-1.C: New test.
* g++.dg/ipa/pr68672-2.C: New test.
* g++.dg/ipa/pr68672-3.C: New test.
From-SVN: r233374
Diffstat (limited to 'gcc/gcc.h')
0 files changed, 0 insertions, 0 deletions