https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65550
--- Comment #11 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Author: jakub Date: Fri Jun 12 11:56:08 2015 New Revision: 224422 URL: https://gcc.gnu.org/viewcvs?rev=224422&root=gcc&view=rev Log: Backported from mainline 2015-04-09 Richard Biener <rguent...@suse.de> PR pch/65550 * files.c (pch_open_file): Allow main and pre-included files when trying to open a PCH. Modified: branches/gcc-4_9-branch/libcpp/ChangeLog branches/gcc-4_9-branch/libcpp/files.c