https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88240
--- Comment #6 from Thomas De Schampheleire <patrickdepinguin at gmail dot com> --- (In reply to Florian Weimer from comment #5) > (In reply to Thomas De Schampheleire from comment #4) > > When analyzing this problem with gdb, we looked at the floating-point status > > register before the fldl call, then after, and only the underflow bit was > > new. But there were already other bits present, we probably should have set > > the register to 0 first. Nevertheless, the underflow bit got set. > > This is QEMU with TCG, right? It could be an i387 emulation bug. I don't think so. Isn't it so that KVM and TCG are mutually exclusive choices? We see the problem if we pass --enable-kvm and don't see the problem if we don't pass that flag. From my limited understanding of qemu, not paying the flag means that the default TCG emulation is used. Am I wrong?