[Bug c++/39380] 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 26 15:17:00 GMT 2009
------- 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
More information about the Gcc-bugs
mailing list