[Bug pch/65550] [5 Regression] ICE (segfault) with pch

maltsevm at gmail dot com gcc-bugzilla@gcc.gnu.org
Sat Apr 4 04:45:00 GMT 2015


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

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.

More information about the Gcc-bugs mailing list