[Bug tree-optimization/65627] missed warning with -Waggressive-loop-optimizations

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Mar 30 15:14:00 GMT 2015


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65627

--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
So you think GCC should kind of JIT the loop and evaluate all iterations?

IMNSHO, just use sanitizers to catch bugs like that, -fsanitize=undefined
should catch that.



More information about the Gcc-bugs mailing list