[Bug target/17990] [3.4/4.0 Regression] unaligned xmm movaps on the stack with -O2 -msse

bangerth at dealii dot org gcc-bugzilla@gcc.gnu.org
Fri Oct 15 18:40:00 GMT 2004


------- Additional Comments From bangerth at dealii dot org  2004-10-15 18:40 -------
I have a very similar problem in my program. It segfaults in this instruction: 
    0x0815935d <vector+203>:	movapd %xmm0,(%eax) 
where I have 
    eax            0xbfffd874	-1073751948 
and 
(gdb) p ((unsigned int)0xbfffd874) 
$1 = 3221215348 
(gdb) p ((unsigned int)0xbfffd874) % 16 
$2 = 4 
 
So indeed movapd isn't writing to 16-byte aligned storage. 
 
W. 

-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17990



More information about the Gcc-bugs mailing list