Issue 87523
Summary -fno-unsafe-math-optimizations enables constrained intrinsics
Labels new issue
Assignees
Reporter topperc
    I expected -fno-unsafe-math-optimizations would be the default behavior and only undo -funsafe-math-optimizations. Instead it enables constrained intrinsics. https://godbolt.org/z/ooYdY4Kox

I checked with @andykaylor who thought this behavior might be because gcc documentation says -fno-unsafe-math-optimizations implies -ftrapping-math. gcc has -ftrapping-math by default, but clang does not.
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to