Better handling of integer wraparound in the kernel
Better handling of integer wraparound in the kernel
Posted Jan 27, 2024 23:30 UTC (Sat) by ballombe (subscriber, #9523)In reply to: Better handling of integer wraparound in the kernel by donald.buczek
Parent article: Better handling of integer wraparound in the kernel
> gcc understands `__builtin_add_overflow` since 5.1 (2015) and clang since 3.8 (2016) .
Thanks. Most gcc builtin are CPU-specific. It seems these ones are an exception!
