re PR middle-end/60221 (gcc -fexceptions generates unnecessary cleanup code)
2014-02-20 Richard Biener <rguenther@suse.de> PR middle-end/60221 * tree-eh.c (execute_cleanup_eh_1): Also cleanup empty EH regions at -O0. From-SVN: r207937
This commit is contained in:
parent
1f58214aa2
commit
25fe40b0f2
@ -1,3 +1,9 @@
|
||||
2014-02-20 Richard Biener <rguenther@suse.de>
|
||||
|
||||
PR middle-end/60221
|
||||
* tree-eh.c (execute_cleanup_eh_1): Also cleanup empty EH
|
||||
regions at -O0.
|
||||
|
||||
2014-02-20 Jan Hubicka <hubicka@ucw.cz>
|
||||
|
||||
PR ipa/58555
|
||||
|
@ -4557,11 +4557,12 @@ execute_cleanup_eh_1 (void)
|
||||
remove_unreachable_handlers ();
|
||||
|
||||
/* Watch out for the region tree vanishing due to all unreachable. */
|
||||
if (cfun->eh->region_tree && optimize)
|
||||
if (cfun->eh->region_tree)
|
||||
{
|
||||
bool changed = false;
|
||||
|
||||
changed |= unsplit_all_eh ();
|
||||
if (optimize)
|
||||
changed |= unsplit_all_eh ();
|
||||
changed |= cleanup_all_empty_eh ();
|
||||
|
||||
if (changed)
|
||||
|
Loading…
x
Reference in New Issue
Block a user