OSDN Git Service

2005-08-04 Paul Brook <paul@codesourcery.com>
authorpbrook <pbrook@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 4 Aug 2005 23:31:00 +0000 (23:31 +0000)
committerpbrook <pbrook@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 4 Aug 2005 23:31:00 +0000 (23:31 +0000)
* 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
gcc/read-rtl.c

index d1a1cf3..f07a38e 100644 (file)
@@ -1,3 +1,7 @@
+2005-08-04  Paul Brook  <paul@codesourcery.com>
+
+       * read-rtl.c (read_quoted_string): Break if EOF.
+
 2005-08-04  Andrew Pinski  <pinskia@physics.uc.edu>
 
        * tree.h (fold_build1): Change to macro and call fold_build1_stat.
index 2835c26..79f4050 100644 (file)
@@ -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);