PATCH: [4.1 Regression]: java compiler generates wrong code on ia64

Mark Mitchell mark@codesourcery.com
Sun Apr 17 19:21:00 GMT 2005


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



More information about the Gcc-patches mailing list