http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40272
Richard Guenther <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |DUPLICATE --- Comment #6 from Richard Guenther <rguenth at gcc dot gnu.org> 2010-12-05 22:20:24 UTC --- As a matter of fact it doesn't work reliably to include a precompiled header indirectly. And since GCC 4.5 that case will be detected and the PCH will not be used: 2009-09-22 Richard Guenther <rguent...@suse.de> PR pch/38987 * files.c (pch_open_file): Disallow non-toplevel PCH inclusion. So I can also close it as dup if you like that more ;) More elaborate description of the problem in that bug. *** This bug has been marked as a duplicate of bug 38987 ***