https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89179
--- Comment #13 from Richard Biener <rguenth at gcc dot gnu.org> --- It might help (a little bit...) if you can run cc1plus in a debugger and at the point of the crash print the value of p and provide a backtrace.