re PR middle-end/29610 (ICE when compiling c++ code with -O2 -funswitch-loops)
authorRichard Guenther <rguenther@suse.de>
Tue, 7 Nov 2006 17:29:34 +0000 (17:29 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Tue, 7 Nov 2006 17:29:34 +0000 (17:29 +0000)
commit285e4952c1e61a57b537f29479860d81bf50ce3a
tree43a4661bd4f33505eafe2a4e1140839bd673f679
parent8fafc2d3a071e8ed0a09ce52df5578e38be489d0
re PR middle-end/29610 (ICE when compiling c++ code with -O2 -funswitch-loops)

2006-11-07  Richard Guenther  <rguenther@suse.de>

PR tree-optimization/29610
* tree-cfgcleanup.c (cleanup_control_flow): Honor return value
of tree_purge_dead_eh_edges as it may free dominators.

* g++.dg/other/pr29610.C: New testcase.

From-SVN: r118555
gcc/ChangeLog
gcc/testsuite/g++.dg/other/pr29610.C [new file with mode: 0644]
gcc/tree-cfgcleanup.c