https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103618
--- Comment #2 from Jonathan Wakely <redi at gcc dot gnu.org> --- This is a strange one. If that overflow happened during constant evaluation, it would be ill-formed. And none of the lines mentioned in the diagnostics have any pointer arithmetic at all.