This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/41835] ICE with -flto -O3 (BB N can not throw but has an EH edge)
- From: "hubicka at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 11 Dec 2009 11:37:57 -0000
- Subject: [Bug tree-optimization/41835] ICE with -flto -O3 (BB N can not throw but has an EH edge)
- References: <bug-41835-6528@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #2 from hubicka at gcc dot gnu dot org 2009-12-11 11:37 -------
ipa nothrow is hidden in ipa-pure-const (that should be renamed eventually).
However issue here is that at IPA stage we should not touch function bodies, so
we should not do these updates. This is why fixup pass exists to resolve these
cases after we get into local compilation.
This however seems like LTO is getting something wrong, we do make throw flags
to disappear at IPA for quite some time.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41835