On Fri, Oct 14, 2005 at 12:20:50AM +0200, Aurelien Jarno wrote: > - gcc-4.0 generates wrong code > For that see my attached file. It's the file from the glibc, with the > code from Steve pasted at the end. It works with gcc-3.4, but fails > with gcc-4.0.
I don't think that's what is happening at all: I think that in one of these cases, your test file's on-stack fenv_t is aligned, and on the other it isn't. The code you posted for gcc 4.0 looks fine. I think the assembly is broken or the definition of fenv_t. -- Daniel Jacobowitz CodeSourcery, LLC -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]