Open vt-alt opened 2 years ago
Hi!
I have a branch where I'm experimenting with adding it (BTW, the flag was added to GCC in version 10).
The problem is that there are so many warnings, that it would crash all the time. So, I'll try fixing them one by one, and when we have a clean build, I'll add it to the default flags.
Cheers,
Alex
(BTW, the flag was added to GCC in version 10).
Yes, but it's only stabilized and became more useful than experimental in gcc-12 so I would not recommend previous versions. Thanks!
If you have CI please use gcc-12 with
-fanalyzer
option to find potential bugs. (Many major distro already have gcc-12). For example, there are such warnings currently in 1.27.0:[Last one if building with LTO (
-flto -ffat-lto-objects
), otherwise it's not detected.]