Re:GCC undefined behaviors are getting wild
by imtringued on Monday November 28, 2022 @08:55AM
(#33773670)
Create a Defined-C dialect.
[ Parent
| on HN ]
You can already do that to some extent. There's tons of compiler flags that make C more defined. Eg both clang and gcc support `-fno-strict-overflow` to define signed integer overflow as wraparound according to two's complement.