From b074b7f8b3a86cd45d95d9be7b2f80a7fecaac15 Mon Sep 17 00:00:00 2001 From: pbrook Date: Thu, 4 Aug 2005 23:31:00 +0000 Subject: [PATCH] 2005-08-04 Paul Brook * read-rtl.c (read_quoted_string): Break if EOF. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@102749 138bc75d-0d04-0410-961f-82ee72b054a4 --- 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.11.4.GIT