dse2 remove wrong insn

Andrew Haley aph@redhat.com
Fri Dec 9 17:36:00 GMT 2011


On 12/09/2011 03:05 PM, BELBACHIR Selim wrote:
> int main() {
>   int x; 
>   float af;
>   ff(&x);
>   af = f2(1.0f);
>   return *((int *)(&af));
> }

Please try this again, but with a union rather than a pointer
cast.  I don't think this code is legal C.

Andrew.



More information about the Gcc mailing list