Bug#333766: libc6: SIGBUS in libm on hppa breaks qt-x11-free
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.