------- Comment #6 from rguenth at gcc dot gnu dot org  2009-10-20 09:35 -------
Even that would be difficult - how would you inline between such functions?
I think the only way is to force -fexceptions during the link stage if one
translation unit did have it enabled.  The -fno-exception TUs should have
all stmts marked as not throwing.

Sort of, but well - this is a very low priority bug.  (Falls into the
class of "different flags used for compiling and linking")

I'll try a very simple hack.


-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|LTO: -flto -O1 -use-linker- |LTO: -flto -O1 linking files
                   |plugin, linking files       |compiled with -fno-
                   |compiled with -fno-         |exceptions with ones
                   |exceptions with ones        |compiled with exceptions
                   |compiled with exceptions    |yields error "BB 14 can not
                   |yields error "BB 14 can not |throw but has an EH edge"
                   |throw but has an EH edge"   |
            Version|unknown                     |4.5.0


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41756

Reply via email to