This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/39380] New: All programs that link Java and C++ libraries fail when optimized
- From: "aph at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 5 Mar 2009 09:41:45 -0000
- Subject: [Bug c++/39380] New: All programs that link Java and C++ libraries fail when optimized
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
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