https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88499
Bug ID: 88499 Summary: Check for less than zero removed before floating point division causes division by zero (fast-math mode) Product: gcc Version: 8.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: other Assignee: unassigned at gcc dot gnu.org Reporter: fuscated at gmail dot com Target Milestone: --- Created attachment 45237 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45237&action=edit minimal source to reproduce the problem See the attached file. I've tried 4.8.2 and 8.2.0. on x86-64 Linux. Both failed with SIGFPE.