http://llvm.org/bugs/show_bug.cgi?id=11771

Eli Friedman <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID

--- Comment #6 from Eli Friedman <[email protected]> 2012-01-17 16:58:50 
CST ---
float2 fabs2(float2 f)
{
  float4 a = *(float4*)&a;
  a = fabs4(a);
  return a.lo;
}

That has undefined behavior; try "float4 a = (float4)(f,f);"?

-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to