Re: [Patch, libfortran] PR 48977 -ffpe-trap=denormal on glibc systems

2011-05-20 Thread Tobias Burnus
Janne Blomqvist wrote: > the attached patch makes libgfortran prefer the x86 asm implementation > of setting FPU traps instead of using glibc feenableexcept(). This > enables to trap on denormals, which glibc doesn't support. [...] > Regtested on x86_64-unknown-linux-gnu, Ok for trunk? OK. Thanks

[Patch, libfortran] PR 48977 -ffpe-trap=denormal on glibc systems

2011-05-20 Thread Janne Blomqvist
Hi, the attached patch makes libgfortran prefer the x86 asm implementation of setting FPU traps instead of using glibc feenableexcept(). This enables to trap on denormals, which glibc doesn't support. Contrary to the original patch in the PR, this swaps only glibc and x86 priorities, as using the