From 27c370005e6ffd8dc7e96ba94382264aa9e36978 Mon Sep 17 00:00:00 2001 From: Paul Brook Date: Thu, 4 Aug 2005 23:31:00 +0000 Subject: [PATCH] read-rtl.c (read_quoted_string): Break if EOF. 2005-08-04 Paul Brook * read-rtl.c (read_quoted_string): Break if EOF. From-SVN: r102749 --- gcc/ChangeLog | 4 ++++ gcc/read-rtl.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index d1a1cf35968..f07a38e4ea0 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2005-08-04 Paul Brook + + * read-rtl.c (read_quoted_string): Break if EOF. + 2005-08-04 Andrew Pinski * tree.h (fold_build1): Change to macro and call fold_build1_stat. diff --git a/gcc/read-rtl.c b/gcc/read-rtl.c index 2835c264a2d..79f40508d3b 100644 --- a/gcc/read-rtl.c +++ b/gcc/read-rtl.c @@ -991,7 +991,7 @@ read_quoted_string (FILE *infile) read_escape (infile); continue; } - else if (c == '"') + else if (c == '"' || c == EOF) break; obstack_1grow (&string_obstack, c); -- 2.30.2