PCH not being used, but I can't tell why

Phil Edwards phil@jaj.com
Tue Aug 12 01:05:00 GMT 2003


On Mon, Aug 11, 2003 at 02:33:46PM -0700, Geoff Keating wrote:
> > No difference:
> > 
> > x /mnt/build/build-2003-08-11/i686-pc-linux-gnu/libstdc++-v3/include/i686-pc-linux-gnu/bits/stdc++.h.gch/O0g
> > x /mnt/build/build-2003-08-11/i686-pc-linux-gnu/libstdc++-v3/include/i686-pc-linux-gnu/bits/stdc++.h.gch/O2g
> > . /mnt/build/build-2003-08-11/i686-pc-linux-gnu/libstdc++-v3/include/i686-pc-linux-gnu/bits/stdc++.h
> 
> Could you start gdb, break on c_common_valid_pch, and see what's going
> on?

That function is never called.

-- 
Debugging is twice as hard as writing the code in the first place.
Therefore, if you write the code as cleverly as possible, you are,
by definition, not smart enough to debug it.
    - Brian W. Kernighan



More information about the Gcc mailing list