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