summaryrefslogtreecommitdiff
path: root/gcc/read-rtl.c
diff options
context:
space:
mode:
authorpbrook <pbrook@138bc75d-0d04-0410-961f-82ee72b054a4>2005-08-04 23:31:00 +0000
committerpbrook <pbrook@138bc75d-0d04-0410-961f-82ee72b054a4>2005-08-04 23:31:00 +0000
commitb074b7f8b3a86cd45d95d9be7b2f80a7fecaac15 (patch)
treefd3d5b22e619352bda677c734fa7e3a51300573c /gcc/read-rtl.c
parent8cca8e0c09eeaa3c6b96964ef01fdc97524ae887 (diff)
downloadgcc-b074b7f8b3a86cd45d95d9be7b2f80a7fecaac15.tar.gz
2005-08-04 Paul Brook <paul@codesourcery.com>
* 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
Diffstat (limited to 'gcc/read-rtl.c')
-rw-r--r--gcc/read-rtl.c2
1 files changed, 1 insertions, 1 deletions
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);