https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63262
--- Comment #10 from Francois-Xavier Coudert <fxcoudert at gcc dot gnu.org> --- Could you backtrace the segfault? 1. Run g++ with added option "-v", and find out the command-line with "cc1plus" in the output. 2. Then run this "cc1plus" command-line under a debugger, prefixing your command line with "lldb -- " or "gdb -args " 3. When it segfaults, get a backtrace through debugger command "bt"