re PR middle-end/39659 (ICE building libstdc++v3 functexcept.cc)

PR middle-end/39659
	* except.c (remove_unreachable_regions): Propagate may_contain_throw
	flag.

From-SVN: r145589
This commit is contained in:
Jan Hubicka 2009-04-06 13:24:32 +02:00 committed by Jan Hubicka
parent a460d7a147
commit 570c4247a2
2 changed files with 7 additions and 0 deletions

View File

@ -1,3 +1,9 @@
2009-04-06 Jan Hubicka <jh@suse.cz>
PR middle-end/39659
* except.c (remove_unreachable_regions): Propagate may_contain_throw
flag.
2009-04-06 Andrew Stubbs <ams@codesourcery.com>
* config/sh/lib1funcs.asm (ic_invalidate): Move ICBI out of the

View File

@ -853,6 +853,7 @@ remove_unreachable_regions (sbitmap reachable, sbitmap contains_stmt)
r->region_number,
first_must_not_throw->region_number);
remove_eh_handler_and_replace (r, first_must_not_throw);
first_must_not_throw->may_contain_throw |= r->may_contain_throw;
}
else
bring_to_root (r);