From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20288 invoked by alias); 26 Mar 2009 15:17:51 -0000 Received: (qmail 20248 invoked by alias); 26 Mar 2009 15:17:40 -0000 Date: Thu, 26 Mar 2009 15:17:00 -0000 Message-ID: <20090326151740.20247.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug c++/39380] All programs that link Java and C++ libraries fail when optimized In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "aph at gcc dot gnu dot org" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2009-03/txt/msg01801.txt.bz2 ------- 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 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