diff options
author | James E Wilson <wilson@specifixinc.com> | 2005-10-21 10:54:20 -0700 |
---|---|---|
committer | Jim Wilson <wilson@gcc.gnu.org> | 2005-10-21 10:54:20 -0700 |
commit | 6568f34b01c7ade5d2fbe0eb19e2d998a201fb02 (patch) | |
tree | cc20eca9ca98c66894b068431e563daeceb0a0f8 /libcpp/init.c | |
parent | 960d350257c380f7516201b4f666e09c958f7c42 (diff) | |
download | gcc-6568f34b01c7ade5d2fbe0eb19e2d998a201fb02.zip gcc-6568f34b01c7ade5d2fbe0eb19e2d998a201fb02.tar.gz gcc-6568f34b01c7ade5d2fbe0eb19e2d998a201fb02.tar.bz2 |
Fix bug with -MM -MG.
PR preprocessor/15220
* files.c (_cpp_find_file): New parameter angle_brackets. Fix all
callers. Pass to open_file_failed.
(open_file_failed): New parameter angle_brackets. Fix all callers.
Use in print_dep assignment.
* init.c (cpp_read_main_file): Pass additional arg to _cpp_find_file.
* internal.h (_cpp_find_file): Add new parm to declaration.
From-SVN: r105757
Diffstat (limited to 'libcpp/init.c')
-rw-r--r-- | libcpp/init.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libcpp/init.c b/libcpp/init.c index 8d564c9..3074f96 100644 --- a/libcpp/init.c +++ b/libcpp/init.c @@ -467,7 +467,7 @@ cpp_read_main_file (cpp_reader *pfile, const char *fname) } pfile->main_file - = _cpp_find_file (pfile, fname, &pfile->no_search_path, false); + = _cpp_find_file (pfile, fname, &pfile->no_search_path, false, 0); if (_cpp_find_failed (pfile->main_file)) return NULL; |