Re:Undefined behavior in C is a reading error
by account42 on Friday May 21, 2021 @08:05AM
(#27232974)
> Even if you opt into those (and the projects I've been involved with have), the precedent is established: when new compiler optimizations are introduced with disruptive semantics, they are opt-out, not opt-in — a fail-dangerous failure mode.
Actually, the default for gcc is -O0. You are opting in with -O2 etc.
Actually, the default for gcc is -O0. You are opting in with -O2 etc.