This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Can -frepo be used with PCH?


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.



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]