I had an old app that I need to maintain. Thousands of lines of code.
When I switched to the gcc 7.3 compiler and I enabled -flto application started to crash o exit: