Hi Chris,

On Wed, Oct 21, 2009 at 10:17 PM, Chris Lattner <[email protected]> wrote:
> Author: lattner
> Date: Thu Oct 22 00:17:15 2009
> New Revision: 84833
>
> URL: http://llvm.org/viewvc/llvm-project?rev=84833&view=rev
> Log:
> fix PR5265: the size of a float3 should be rounded up to its alignment.
> This ensures that arrays of float3 are correctly padded.
...
> +// PR5265
> +typedef float __attribute__((ext_vector_type (3))) float3;
> +int test2[(sizeof(float3) == sizeof(float3)*2-1)];

I don't think this is the test you are looking for. To start with, it
will always pass, and in addition it appears to be trying to check
that sizeof(float3) == 1.

 - Daniel
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to