[PATCH] Fix PR java/17265

Bryce McKinlay mckinlay@redhat.com
Fri Oct 22 18:39:00 GMT 2004


Bryce McKinlay wrote:

> Eric Botcazou wrote:
>
>> Hi,
>>
>> This patch reverts
>>
>> 2004-08-18  Bryce McKinlay  <mckinlay@redhat.com>
>>
>>        * class.c (make_local_function_alias): New function. Create local
>>        alias for public method DECL.
>>        (make_method_value): Use make_local_function_alias.
>>
>> which breaks the GCJ compiler with non-GNU assemblers.  The problem 
>> is that it instructs the compiler to create local aliases of external 
>> functions.
>>  
>>
>
> Eric,
>
> Could you try this version of the patch and see if it fixes 17265 for 
> you? This one will not try to emit an alias for an external function 
> (which I agree is useless). Making an alias for a local function 
> however is not useless - we need this for accurate stack traces and 
> security checks, so I'd like to get this patch back in.
>
> Bryce
>

The patch...


-------------- next part --------------
A non-text attachment was scrubbed...
Name: gcj-PR17265.patch
Type: text/x-patch
Size: 2477 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20041022/a7148033/attachment.bin>


More information about the Gcc-patches mailing list