On Thu, Apr 09, 2015 at 03:03:38PM +0200, Richard Biener wrote: > The following makes the checks whether the context allows a PCH file > (only the first include may be one, and not nested) more robust > thereby fixing PR65550. > > Bootstrapped and tested on x86_64-unknown-linux-gnu - ok? > > Thanks, > Richard. > > 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.
Ok. If it wouldn't be too hard to add a testcase, it would be appreciated, but if it isn't that easy, just commit it as is (or add testcase later). Jakub