This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/39380] 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: 26 Mar 2009 15:17:40 -0000
- Subject: [Bug c++/39380] All programs that link Java and C++ libraries fail when optimized
- References: <bug-39380-511@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #2 from aph at gcc dot gnu dot org 2009-03-26 15:17 -------
Subject: Bug 39380
Author: aph
Date: Thu Mar 26 15:17:26 2009
New Revision: 145091
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=145091
Log:
2009-03-26 Andrew Haley <aph@redhat.com>
PR C++/39380
* decl2.c (possibly_inlined_p): If java exceptions are in use
don't inline a decl unless it is explicitly marked inline.
* lex.c: (pragma_java_exceptions): New variable.
(handle_pragma_java_exceptions): Set pragma_java_exceptions.
* cp-tree.h (pragma_java_exceptions): Declare new variable.
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/cp-tree.h
trunk/gcc/cp/decl2.c
trunk/gcc/cp/lex.c
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39380