[Bug c++/39380] New: All programs that link Java and C++ libraries fail when optimized

aph at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Thu Mar 5 09:42:00 GMT 2009


The attached testcase fails.

This happens because we now instantiate template functions based on
possibly_inlined_p() rather than DECL_INLINE.  In turn this causes us
to generate catch blocks for C++ exceptions, and these can't be mixed
in the same translation unit as Java exceptions.


-- 
           Summary: All programs that link Java and C++ libraries fail when
                    optimized
           Product: gcc
           Version: 4.4.0
            Status: UNCONFIRMED
          Severity: critical
          Priority: P3
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: aph at gcc dot gnu dot org


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



More information about the Gcc-bugs mailing list