PATCH, objc: silence unused warning

IainS developer@sandoe-acoustics.co.uk
Fri Jan 14 23:07:00 GMT 2011


Hi Mike,

On 14 Jan 2011, at 21:40, Mike Stump wrote:

>> This patch removes the code that outputs a definition for
>> stuct_forward_array.  When building libobjc, I saw a warning from
>> runtime-info.h that this is defined, but not used.  A quick grep
>> suggests that nothing uses it.
>>
>> OK for the trunk?
>
> Ok.
>
> I checked this in for you.
>
> http://gcc.gnu.org/ml/gcc-patches/2009-12/msg00687.html

The whole routine/capability looks mighty suspect to me.

a) no real relationship to the the rest of objc-act.c - looks like it  
should be a separate configure-time tool.

b) out-of-date w.r.t what targets might return in registers (how about  
8*long long + 13* double) - somewhat in excess of 32 bytes.

but that's perhaps part of what's needed to be addressed with general  
forwarding/messaging etc. in 4.7.

Iain



More information about the Gcc-patches mailing list