https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65550
Mikhail Maltsev <maltsevm at gmail dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |maltsevm at gmail dot com --- Comment #4 from Mikhail Maltsev <maltsevm at gmail dot com> --- Created attachment 35228 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=35228&action=edit Reproducer Reduced testcase. The script should be invoked like this: CXX=/path/to/gcc-5.0/bin/g++ ice_pch.sh It creates 3 files and invokes GCC 2 times (one for PCH creation, one for compilation which causes ICE on current trunk). Note, that whitespaces in source files matter.