[Bug target/37216] [cygming] Invalid alignment for SSE store to .comm data generated with -O3
sherpya at netfarm dot it
gcc-bugzilla@gcc.gnu.org
Tue Oct 7 12:16:00 GMT 2008
------- Comment #49 from sherpya at netfarm dot it 2008-10-07 12:15 -------
not exactly, Simon Sasburg compiled with -march=core2 I'm not explicitly
telling to gcc to compile sse code, arch is i686 and opt is -O2 so there is no
sse code generated by gcc, ffmpeg declares aligned vars in fft.c and uses them
in asm sse code, file fft_mmx.asm that is generated by yasm
so gcc is unable to known that those vars will be used by sse code, this
case will not covered by the last patch
gcc should emit a warning when compiling align declared vars on win32
version 3.x had a similar warning but only if using align > 16
with current state of compiler/toolchain even 16-bytes aligned is not possible
without explicit -fno-common compile switch
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37216
More information about the Gcc-bugs
mailing list