This is the mail archive of the gcc-patches@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]

[v3] add pch anchor files


Well.....

We had:

stdc++.h.gch
stdc++.h.gch/O0g.gch
stdc++.h.gch/O2g.gch

but no

stdc++.h

Without this last file, 

g++ -include bits/stdc++.h -O2 -g foo.cc

and

g++ -include bits/stdc++.h -O0 -g foo.cc

work fine.

However, 

g++ -include bits/stdc++.h -pthreads -O2 -g foo.cc

fails to compile, since neither of the two existing PCH files can be
used, and the backup, which is to include the actual ".h" file, doesn't
exist.

This adds the stub files back in, and also installs them so that usage can be consistent.

Found while running the performance tests. Which have been tweaked to now show compile errors more verbosely.

tested x86/linux
performance tested x86/linux

Attachment: p.20060713-2
Description: Text document


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