diff options
Diffstat (limited to 'gcc/fix-header.c')
-rw-r--r-- | gcc/fix-header.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/fix-header.c b/gcc/fix-header.c index 0f5f8c0..8ae3025 100644 --- a/gcc/fix-header.c +++ b/gcc/fix-header.c @@ -578,7 +578,7 @@ cb_file_change (cpp_reader *pfile ATTRIBUTE_UNUSED, const struct line_map *map) { /* Just keep track of current file name. */ - cur_file = map->to_file; + cur_file = map == NULL ? NULL : map->to_file; } static void |