From: Paul Brook Date: Thu, 4 Aug 2005 23:31:00 +0000 (+0000) Subject: read-rtl.c (read_quoted_string): Break if EOF. X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=27c370005e6ffd8dc7e96ba94382264aa9e36978;p=platform%2Fupstream%2Fgcc.git 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 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index d1a1cf3..f07a38e 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 2835c26..79f4050 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);