https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114408
--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Or the option option would be try if it also ICEs without your patch with -fsanitize=undefined -fsanitize-trap=undefined -O1 -fanalyzer -flto , then you could put it into gcc.dg/analyzer/ and just use fsanitize_undefined effective target there.