This is the mail archive of the java-patches@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: PATCH: [4.1 Regression]: java compiler generates wrong code onia64


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]