gcc4, static array, SSE & alignement

2005-04-04 Thread tbp
Ok, since i've already looked like an uneducated fool today and i'm grasping at straws... Question: why do i get an unaligned array as soon as g++ (4.1.0 20050327, cygwin) finds out that it's static (i mean even if i try to fool it around a bit)? It seems to only happen with multidimensionnal arra

Re: gcc4, static array, SSE & alignement

2005-04-05 Thread James E Wilson
tbp wrote: Question: why do i get an unaligned array as soon as g++ (4.1.0 20050327, cygwin) finds out that it's static (i mean even if i try to fool it around a bit)? I would guess a limitation of cygwin binutils support, or perhaps of Windows itself. This seems to work fine on linux. If I comp

Re: gcc4, static array, SSE & alignement

2005-04-06 Thread tbp
On Apr 6, 2005 3:18 AM, James E Wilson <[EMAIL PROTECTED]> wrote: > I would guess a limitation of cygwin binutils support, or perhaps of > Windows itself. Binutils, perhaps. Windows certainly not as msvc2k3 & icc8.1 don't have such issue with the same code. > This seems to work fine on linux. If

Re: gcc4, static array, SSE & alignement

2005-04-06 Thread tbp
On Apr 6, 2005 2:08 PM, tbp <[EMAIL PROTECTED]> wrote: > I'll try to pinpoint the problem a bit better. Alas, since the other day the code using that static array has changed a bit and i can't reproduce the bug. So, after all, it really was gcc's fault. I'll try to dig up the original version.