]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
read-rtl.c (read_quoted_string): Break if EOF.
authorPaul Brook <paul@codesourcery.com>
Thu, 4 Aug 2005 23:31:00 +0000 (23:31 +0000)
committerPaul Brook <pbrook@gcc.gnu.org>
Thu, 4 Aug 2005 23:31:00 +0000 (23:31 +0000)
2005-08-04  Paul Brook  <paul@codesourcery.com>

* read-rtl.c (read_quoted_string): Break if EOF.

From-SVN: r102749

gcc/ChangeLog
gcc/read-rtl.c

index d1a1cf35968473e9f4aa993b481619164d2eea5f..f07a38e4ea0a79560f650642141c3c90dc348bf0 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 2835c264a2d461c38f56ef920615f49756e0e3e9..79f40508d3be478e6b23387728cbf4e9166f450b 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);