This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
Re: PATCH: [4.1 Regression]: java compiler generates wrong code onia64
- From: Mark Mitchell <mark at codesourcery dot com>
- To: "H. J. Lu" <hjl at lucon dot org>
- Cc: gcc-patches at gcc dot gnu dot org, java-patches at gcc dot gnu dot org
- Date: Sun, 17 Apr 2005 12:21:19 -0700
- Subject: Re: PATCH: [4.1 Regression]: java compiler generates wrong code onia64
- Organization: CodeSourcery, LLC
- References: <20050417191125.GA29627@lucon.org>
H. J. Lu wrote:
Linkonce and weak functions are never local.
> /* Only create aliases for local functions. */
- if (DECL_EXTERNAL (method))
If this code is testing for whether a function has internal linkage,
then the conditional should be "if (!TREE_PUBLIC (method))". Your patch
is certainly not correct.
--
Mark Mitchell
CodeSourcery, LLC
mark@codesourcery.com
(916) 791-8304