https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82353
--- Comment #4 from Martin Liška <marxin at gcc dot gnu.org> --- > at expansion time (the reason for that is that sanopt pass doesn't perform > the optimization of redundant pointer overflow checks yet (Martin, do you > have it still on your todo list or shall I have a look?)). Yes I have, just finishing switch expansion and will return to that hopefully next week. Martin