From c1a8a3c6fff7f341d1b2c076c634aa2fbf94ad81 Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Mon, 30 Mar 2009 15:25:42 +0000 Subject: [PATCH] re PR preprocessor/39512 (linemap_init in lex.c does not initialize reallocator) PR preprocessor/39512: * line-map.c (linemap_init): Initialize 'reallocator' field. From-SVN: r145300 --- libcpp/ChangeLog | 5 +++++ libcpp/line-map.c | 1 + 2 files changed, 6 insertions(+) diff --git a/libcpp/ChangeLog b/libcpp/ChangeLog index 4bf58690b6f..26728325bc4 100644 --- a/libcpp/ChangeLog +++ b/libcpp/ChangeLog @@ -1,3 +1,8 @@ +2009-03-30 Tom Tromey + + PR preprocessor/39512: + * line-map.c (linemap_init): Initialize 'reallocator' field. + 2009-03-30 Jakub Jelinek PR target/39558 diff --git a/libcpp/line-map.c b/libcpp/line-map.c index 2802c672aae..1c82902158a 100644 --- a/libcpp/line-map.c +++ b/libcpp/line-map.c @@ -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. */