News for hackers. Stuff that matters.
Re:My C code works with -O3 but not with -O0 by yjftsjthsd-h on Thursday January 16, 2020 @10:56AM (#22065670)
> Why all this attention? We're moving this nightmare from 32 to 64 bits

It helps that you then almost certainly have buy-in and are allowed to treat this as a priority because it's tied to work that the business is willing to prioritize. You're already over the hurdle of "customers don't pay to fix compiler warnings".

Re:My C code works with -O3 but not with -O0 by rs23296008n1 on Thursday January 16, 2020 @11:34AM (#22066102)
Can't debug anything with a soup of warnings and other mess in the way. They either clear the rot or start from scratch. Our estimate is two years devel to get back to now. So, no time to restart.

Getting rid of the warnings and more importantly the related other debris means being able to use enhancements we make each week. Well... after qa/test have done their thing.

Been good practice for my own indie dev. Treat every warning as an error and make a habit of running a detailed reporting build each day or week. The trick of using other platforms and compilers I brought from years back.