On Tue, Apr 24, 2012 at 5:38 PM, Roland Leißa <[email protected]>wrote:
> Hi all,
>
> this simple program currently causes a crash:
>
> typedef bool bxmm __attribute__ ((vector_size(16)));
> typedef float fxmm __attribute__ ((vector_size(16)));
>
> bxmm f(fxmm a, fxmm b) {
> return a < b;
> }
>
>
> The reason for this is, that actually bools are not allowed to be declared
> as gcc-vectors. (At least gcc does not allow this).
> The attached patch fixes this issue by emitting an error message when
> using bools in gcc-vectors.
>
Test case as well please.
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits