Skip to content
Snippets Groups Projects
Commit cfa6da59 authored by Mark OLESEN's avatar Mark OLESEN
Browse files

COMP: circumvent aggressive compiler branch optimization (clang-17)

- it seems that both sides of the ternary are evaluated despite
  the divide-by-zero protection. Use volatile to force the compiler
  to use in-order evaluation.
parent a7bb8edb
Branches
No related merge requests found
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment