------- Comment #42 from brian at dessent dot net 2008-10-06 23:29 ------- Subject: Re: [cygming] Invalid alignment for SSE store to .comm data generated with -O3
When you are comparing gcc 4.2 to current trunk, are you keeping the linker (binutils) version the same? As mentioned in comment 6, the linker behavior changed recently which results in a different default alignment of the .bss segment which could explain the difference. IMHO, we should just have gcc automatically enable -fno-common on PE if SSE is enabled. That's what the MS tools do, AFAICT. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37216