https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70465
--- Comment #5 from Uroš Bizjak <ubizjak at gmail dot com> --- (In reply to Jeffrey A. Law from comment #4) > No objections to deferring this to gcc-7. Not surprisingly, my response > when this issue was raised on Red Hat's internal IRC was the same -- nobody > cares about x87 math anymore ;-) IMHO it's really just a codesize issue > anyway given how fxch is implemented on modern processors. Related to PR 15492. IMO, regstack.c should be taught to track loads to stack registers, so it would be able to swap two FLDs, instead of emitting compensating FXCH right after two FLDs.