http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49576
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> 2011-06-29 17:25:32 UTC --- I don't think this can be done really. Because of the way PCH works and the way you are supposed to use PCH. That is you are supposed to have a header file which just includes many other headers and that is the PCH.