Hi Simon,

yes, they seem to be a bogus gcc3.4.3 warning with VLAs involved. When
I set the dimension of those arrays to a fixed value the warning
vanishes. I tried with clang too and no warnings appeared on this
file.

Cheers,

    Gabor

On 9/3/12, Simon Marlow <[email protected]> wrote:
> On 31/08/2012 13:57, Gabor Greif wrote:
>> I am seeing these warnings:
>>
>> rts/Interpreter.c: In function `interpretBCO':
>> rts/Interpreter.c:1410:0:  warning: value computed is not used
>> rts/Interpreter.c:1411:0:  warning: value computed is not used
>
> the first one corresponds to
>
>           W_ *arguments[stk_offset];  // max needed
>
> perhaps I'm being stupid, but I can't see a value that is not used here.
>   The others look similar.
>
> Cheers,
>       Simon
>
>

_______________________________________________
Cvs-ghc mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/cvs-ghc

Reply via email to