https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109491
--- Comment #6 from Richard Biener <rguenth at gcc dot gnu.org> --- Doesn't happen with a cross from x86_64 to powerpc64-suse-linux. I've just used ./configure --target=powerpc64-suse-linux --enable-languages=c,c++,lto and ./cc1plus -quiet -I include t.ii -mcpu=power8 -std=c++14 -O2 and yes, it's very slow. I wonder if at the point of the crash e1 or e2 are NULL or whether we have garbage and what the actual hashtable entry / lookup val are. How did you configure?