On Dec 10, 2007, at 6:36 PM, Keith Bauer wrote:

> Found this while looking for one of the codegen asserts I hit:
>
>
> union U { unsigned a; float b; };
> float get_b(union U *u) { return u->b; }
>
>
> CookieJar:Desktop keith$ clang -emit-llvm union.c
> Function return type does not match operand type of return inst!
> Broken module found, compilation aborted!

Fixed.
http://lists.cs.uiuc.edu/pipermail/cfe-commits/Week-of-Mon-20071210/003302.html

Thanks for the report.
-
Devang
_______________________________________________
cfe-dev mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev

Reply via email to