[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 11:51:00 GMT 2008



------- Comment #47 from sherpya at netfarm dot it  2008-10-07 11:50 -------
ffmpeg uses aligned vars inside an object from an external nasm/yasm compiled
module, so it's very unlikely gcc can be aware of this, the patch should solve
"implicit" sse code generation, but I think there are no solution for external
references.
Probably the best way is to pass -fno-common when there is sse code in the
project

I'll test your patch for the first post of the bugreport, and I'll test also
ffmpeg but I'm almost sure that this TARGET_SSE is not true in this specific
case

with -fno-common I had no problems with make test (when using sse code)

all of the stuff in this bugreport is not really definitive,
we have a patch for local and for global using commons
but there is no way to propagate this data in pe/coff object

why not adding an extensions for intermediate coffs?
there isn't space anywhere in coff files?

yes one can use -fno-common or the fix to avoid crashes when gcc vectorize
but it does not cover all cases


-- 


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



More information about the Gcc-bugs mailing list