Re:C++ Insights – See your source code with the eyes of a co...
by jpc0 on Saturday April 06, 2024 @12:59PM
(#39953705)
> Bugs tend to disappear on me when I change the optimiser flags or run the thing under gdb though
A lot of that shouts UB or compiler bug to me. I don't get this in my code unless there is some UB I missed. Unfortunately there are places where UB is unintuitive and may not even be present in newer versions of the language.
A lot of that shouts UB or compiler bug to me. I don't get this in my code unless there is some UB I missed. Unfortunately there are places where UB is unintuitive and may not even be present in newer versions of the language.