]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR tree-optimization/44914 (ICE: in calc_dfs_tree, at dominance.c:395 with -fipa...
authorMartin Jambor <mjambor@suse.cz>
Fri, 23 Jul 2010 16:31:48 +0000 (18:31 +0200)
committerMartin Jambor <jamborm@gcc.gnu.org>
Fri, 23 Jul 2010 16:31:48 +0000 (18:31 +0200)
commit8cbeddcc33cb842176b2ba6b8ffd5e8766efe6cc
tree798447eaf80c232acaeb850e861094c77781cfaf
parente40e64de70990fbc227be23b7a8b7c962eb8dce3
re PR tree-optimization/44914 (ICE: in calc_dfs_tree, at dominance.c:395 with -fipa-sra -fnon-call-exceptions)

2010-07-23  Martin Jambor  <mjambor@suse.cz>

PR tree-optimization/44914
* tree-sra.c (sra_modify_function_body): Return true if CFG was
changed, add purging dead eh edges.
(ipa_sra_modify_function_body): Return true if CFG was changed,
simplify purging dead eh edges.
(modify_function): Return true if CFG was changed.
(perform_intra_sra): Add TODO_cleanup_cfg to the return value if CFG
was changed.
(ipa_early_sra): Likewise.

* testsuite/g++.dg/tree-ssa/pr44914.C:  New test.

From-SVN: r162468
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/tree-ssa/pr44914.C [new file with mode: 0644]
gcc/tree-sra.c