[LLVMbugs] [Bug 6537] Assertion failure in llvm::checkType: Ty && "Invalid GetElementPtrInst indices for type!"

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Mon Mar 8 11:29:01 PST 2010


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

Chris Lattner <clattner at apple.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|WORKSFORME                  |

--- Comment #4 from Chris Lattner <clattner at apple.com> 2010-03-08 13:29:00 CST ---
Wow, you're right, it isn't fixed.  Here's a reduced testcase:

typedef union vec3 {
  struct {
    double x, y, z;
  };
  double component[3];
} vec3;

vec3 vec_noise(vec3 value)
{
 return (vec3) {{
  .x = value.x, .y = value.y, .z = value.z,
 }};
}

Thanks for filing this!

-- 
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.



More information about the llvm-bugs mailing list