------- Comment #50 from brian at dessent dot net  2008-10-07 12:46 -------
Subject: Re:  [cygming] Invalid alignment for SSE store to 
 .comm data generated with -O3

Oh, I see what you mean now.  Yeah, predicating it on just TARGET_SSE
isn't sufficient.

I'm starting to think the idea of a PE/COFF-specific convention to
record the alignment isn't such a crazy idea.  It could just be a
section with a specific name e.g. .gnu.note.aligncomm.  The PE assembler
could then accept the 3-argument form of .comm and store the info there,
and the linker would be able to consume it.  When linking with a non-GNU
linker the section would just be silently ignored and the alignment info
discarded, which isn't any worse than the current situation where it's
also discarded, so you'd just be back to requiring -fno-common.  Of
course that's a much more ambitious change.


-- 


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

Reply via email to