Can -frepo be used with PCH?

r6144 r6k@sohu.com
Sat Mar 20 08:02:00 GMT 2004


Last time I tried (gcc 20040107), -frepo didn't work with PCH (nothing
is instantiated by the recompilation by collect2, causing link to
fail).  I guess that's because the recompilation by collect2 has some
additional options which are not considered in the PCH file, but it
was used anyway.

I'm on i686-redhat-linux (Redhat 9).  I used -frepo in the hope of
speeding up compilation for avoid instantiating duplicate templates
in large projects (correct me if I'm wrong).

I have not found any relevent changes since then that may fix this.

Question:
1. Has this been fixed by now?  I apologize for my laziness :)
If not,
2. Is this fixable while still using the PCH during both passes?  If
not, maybe some warning should be given.




More information about the Gcc mailing list