diff options
author | Geoffrey Keating <geoffk@apple.com> | 2003-05-16 23:38:42 +0000 |
---|---|---|
committer | Geoffrey Keating <geoffk@gcc.gnu.org> | 2003-05-16 23:38:42 +0000 |
commit | 79406520e945ecace14f56e3af4b88936153649c (patch) | |
tree | bc71e2796f057f96769ec1dcfec8dca0b592c95c /gcc/cppfiles.c | |
parent | 72701eabe7b06cba4b4905bb4116ea1be54909f5 (diff) | |
download | gcc-79406520e945ecace14f56e3af4b88936153649c.zip gcc-79406520e945ecace14f56e3af4b88936153649c.tar.gz gcc-79406520e945ecace14f56e3af4b88936153649c.tar.bz2 |
cppopts.texi (-undef): Fix texinfo warning.
* 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.
From-SVN: r66894
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 66865af..292026a 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); |