re PR preprocessor/39512 (linemap_init in lex.c does not initialize reallocator)
authorTom Tromey <tromey@redhat.com>
Mon, 30 Mar 2009 15:25:42 +0000 (15:25 +0000)
committerTom Tromey <tromey@gcc.gnu.org>
Mon, 30 Mar 2009 15:25:42 +0000 (15:25 +0000)
PR preprocessor/39512:
* line-map.c (linemap_init): Initialize 'reallocator' field.

From-SVN: r145300

libcpp/ChangeLog
libcpp/line-map.c

index 4bf58690b6f3b9881c7d9f45037b9e1536942d4a..26728325bc4d9f8bb56c55acde1fa91ba208e0c5 100644 (file)
@@ -1,3 +1,8 @@
+2009-03-30  Tom Tromey  <tromey@redhat.com>
+
+       PR preprocessor/39512:
+       * line-map.c (linemap_init): Initialize 'reallocator' field.
+
 2009-03-30  Jakub Jelinek  <jakub@redhat.com>
 
        PR target/39558
index 2802c672aaee3b0243987c309d556edee5016c13..1c82902158a3c4c718c79f95326c155918476bc2 100644 (file)
@@ -41,6 +41,7 @@ linemap_init (struct line_maps *set)
   set->highest_location = 0;
   set->highest_line = 0;
   set->max_column_hint = 0;
+  set->reallocator = 0;
 }
 
 /* Check for and warn about line_maps entered but not exited.  */