diff options
author | bje <bje@138bc75d-0d04-0410-961f-82ee72b054a4> | 2006-02-06 04:11:54 +0000 |
---|---|---|
committer | bje <bje@138bc75d-0d04-0410-961f-82ee72b054a4> | 2006-02-06 04:11:54 +0000 |
commit | e08825b460643d800cd534d88786994c7d06e639 (patch) | |
tree | ea86b4e51315a9083eeeac1519a796c12d31d518 /gcc/read-rtl.c | |
parent | b8453809b31d989fba20e49aa30b5dc7031c411a (diff) | |
download | linaro-gcc-e08825b460643d800cd534d88786994c7d06e639.tar.gz linaro-gcc-e08825b460643d800cd534d88786994c7d06e639.tar.bz2 linaro-gcc-e08825b460643d800cd534d88786994c7d06e639.zip |
* read-rtl.c (read_name): Terminate reading on EOF.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@110636 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/read-rtl.c')
-rw-r--r-- | gcc/read-rtl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/read-rtl.c b/gcc/read-rtl.c index 5eb642ee0a2..89a7c972283 100644 --- a/gcc/read-rtl.c +++ b/gcc/read-rtl.c @@ -886,7 +886,7 @@ read_name (char *str, FILE *infile) p = str; while (1) { - if (c == ' ' || c == '\n' || c == '\t' || c == '\f' || c == '\r') + if (c == ' ' || c == '\n' || c == '\t' || c == '\f' || c == '\r' || c == EOF) break; if (c == ':' || c == ')' || c == ']' || c == '"' || c == '/' || c == '(' || c == '[') |