This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug tree-optimization/41835] ICE with -flto -O3 (BB N can not throw but has an EH edge)



------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]