https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85950
--- Comment #1 from Allan Jensen <linux at carewolf dot com> --- Sorry forget the example above. I will attached the real code that triggers it. Note it does not trigger with -fno-signed-zeros, -fno-trapping-math, -fassociative-math and -freciprocal-math, so it is something specific to unsafe-math-optimizations itself.