diff options
author | geoffk <geoffk@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-05-16 23:38:42 +0000 |
---|---|---|
committer | geoffk <geoffk@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-05-16 23:38:42 +0000 |
commit | a85e064e4fabcac8ac400e40b5174edcb7b15aed (patch) | |
tree | bc71e2796f057f96769ec1dcfec8dca0b592c95c /gcc/cppfiles.c | |
parent | caba0fda0d35df0948039e3acfae91fc06cb5a99 (diff) | |
download | ppe42-gcc-a85e064e4fabcac8ac400e40b5174edcb7b15aed.tar.gz ppe42-gcc-a85e064e4fabcac8ac400e40b5174edcb7b15aed.zip |
* doc/cppopts.texi (-undef): Fix texinfo warning.
* doc/cppopts.texi (-H): Document that -H works for PCH files too.
* cppfiles.c (validate_pch): When -H is used, print some information
about PCH files found.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66894 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cppfiles.c')
-rw-r--r-- | gcc/cppfiles.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/gcc/cppfiles.c b/gcc/cppfiles.c index 66865af2651..292026a6cce 100644 --- a/gcc/cppfiles.c +++ b/gcc/cppfiles.c @@ -293,6 +293,13 @@ validate_pch (pfile, filename, pchname) return NULL; if ((file->pch & 2) == 0) file->pch = pfile->cb.valid_pch (pfile, pchname, file->fd); + if (CPP_OPTION (pfile, print_include_names)) + { + unsigned int i; + for (i = 1; i < pfile->line_maps.depth; i++) + putc ('.', stderr); + fprintf (stderr, "%c %s\n", INCLUDE_PCH_P (file) ? '!' : 'x', pchname); + } if (INCLUDE_PCH_P (file)) { char *f = xstrdup (filename); |