https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59412
--- Comment #3 from joseph at codesourcery dot com <joseph at codesourcery dot com> --- It's a bug in libgcc2.c for the subset of targets for which this code gets used (note 64-bit targets will generally be using it for TImode not DImode) *and* which have hardware exceptions. It's part of the general large group of bugs relating to code generation / transformations not consistently accounting for exceptions / rounding modes.