------- Additional Comments From rth at gcc dot gnu dot org 2004-12-13 18:20 ------- I have been completely unable to reproduce an unaligned stack, with either 3.4 or 4.0. Can those gcc folk that claim to have reproduced it in the past still do so? If so, what are you trying?
I can say that the proximate cause of the existance of the SSE instruction in the first place is a test in negsf2 using TARGET_SSE that ought to be using TARGET_SSE_MATH. I can say that the reason reload fails to rematerialize the vector constant (and spills it on the stack) is due to the movss split firing before reload and removing the obviousness of the vector constant. For 3.4 I can make two minor tweaks that will prevent the manifestation of this bug, but leave -mfpmath=sse less than correct. For 4.0 I will attempt to fix that as well. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17990