Idiom exclusion is really so important
Idiom exclusion is really so important
Posted Nov 13, 2024 10:32 UTC (Wed) by pm215 (subscriber, #98099)In reply to: Idiom exclusion is really so important by magfr
Parent article: Progress on toolchain security features
Personally I think something like add_would_overflow(x, y) is easier to read than both and less susceptible to "looks almost like the idiom but isn't quite right" errors. (And you can implement it via the compiler builtins.)
