aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/cppfiles.c1
2 files changed, 5 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index ae4aedf..534895e 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,7 @@
+2000-07-16 Laurynas Biveinis <lauras@softhome.net>
+
+ * cppfiles.c (read_name_map): Set map_list_ptr->map_list_map to NULL.
+
2000-07-16 Mark Mitchell <mark@codesourcery.com>
* dwarf2out.c (expand_builtin_init_dwarf_reg_sizes): Fix typo.
diff --git a/gcc/cppfiles.c b/gcc/cppfiles.c
index 2b15371..fe9f026 100644
--- a/gcc/cppfiles.c
+++ b/gcc/cppfiles.c
@@ -881,6 +881,7 @@ read_name_map (pfile, dirname)
map_list_ptr = ((struct file_name_map_list *)
xmalloc (sizeof (struct file_name_map_list)));
map_list_ptr->map_list_name = xstrdup (dirname);
+ map_list_ptr->map_list_map = NULL;
name = (char *) alloca (strlen (dirname) + strlen (FILE_NAME_MAP_FILE) + 2);
strcpy (name, dirname);