Bug#406442: Incorrect SSE2 code generated for vector initialization by cast from non-constant array

2007-09-27 Thread Geoffrey Reynolds
> please recheck with gcc-4.2 gcc-4.3/gcc-snapshot This bug is present in the following packages: Package: gcc-4.0 Version: 4.0.3-3 Package: gcc-4.1 Version: 4.1.1-21 It is NOT present in the following packages: Package: gcc-3.3 Version: 3.3.6-13 Package: gcc-3.4 Version: 3.4.6-1 It

Bug#406442: Incorrect SSE2 code generated for vector initialization by cast from non-constant array

2007-01-10 Thread Geoffrey Reynolds
Package: gcc-4.1 Version: 4.1.1-21 --- begin bug.c --- typedef long long v2di __attribute__ ((vector_size(16))); extern long long x(void); extern long long y(void); v2di test(void) { return (v2di){x(),y()}; } --- end bug.c --- When the above is compiled with `gcc -O -msse2 -S bug.c', the follo