------- Comment #18 from brian at dessent dot net 2008-09-29 17:58 ------- Subject: Re: [cygming] Invalid alignment for SSE store to .comm data generated with -O3
The __to_xstring error is PR37522. You should still be able to bootstrap with --enable-languages=c for the purposes of testing this patch, though. Your testcase that uses printf with addr % 16 might not be showing you what you think it is because the compiler is smart enough to optimize away that computation at compile time since it knows the variable was declared with the given alignment, even though the actual address assigned by the linker mightn't be aligned properly. In my testing I had to use volatile to prevent that compile-time optimization. I also forgot to mention that I don't have sse2 capable hardware so I have no way of testing any of this other than by hand inspection. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37216