summaryrefslogtreecommitdiff
path: root/libcpp/init.c
diff options
context:
space:
mode:
authorwilson <wilson@138bc75d-0d04-0410-961f-82ee72b054a4>2005-10-21 17:54:20 +0000
committerwilson <wilson@138bc75d-0d04-0410-961f-82ee72b054a4>2005-10-21 17:54:20 +0000
commit04c0bfd0bbd586165a3e552ab4e957c6339c54d5 (patch)
treecc20eca9ca98c66894b068431e563daeceb0a0f8 /libcpp/init.c
parentfba30b3d308a1d380a8936011d30426a953678a7 (diff)
downloadgcc-04c0bfd0bbd586165a3e552ab4e957c6339c54d5.tar.gz
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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@105757 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libcpp/init.c')
-rw-r--r--libcpp/init.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libcpp/init.c b/libcpp/init.c
index 8d564c933f4..3074f96b5c8 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;