https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118008
--- Comment #12 from Andrew Pinski <pinskia at gcc dot gnu.org> --- So PR 118695 has a C testcase for a similar ICE. The problem is the code there is undefined while here it might be well defined (but I am not so sure).