https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64370
--- Comment #7 from Uroš Bizjak <ubizjak at gmail dot com> --- (In reply to dave.anglin from comment #5) > > I have read that there are problems with overflow detection on alpha. > So, is that the issue? The issue us that -inf will ICE with FP exception on alpha. I don't think -inf (which is otherwise produced on other targets) is valid result, and using scalbln avoids it.