summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>2001-08-01 20:49:24 +0000
committerrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>2001-08-01 20:49:24 +0000
commitdb8c5fb53bd223a419ef202e2216c35863e1d5da (patch)
tree520a9709ba20d06619eafff9c256cf4cfc0c3228
parentad2b2377eb1cf8008d6e527ec7913f83e0dce071 (diff)
downloadgcc-db8c5fb53bd223a419ef202e2216c35863e1d5da.tar.gz
* read-rtl.c (read_name): Consider \r whitespace.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44556 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/read-rtl.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 46b07fe18c5..75a65020c61 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,7 @@
+2001-08-01 Richard Henderson <rth@redhat.com>
+
+ * read-rtl.c (read_name): Consider \r whitespace.
+
2001-07-11 Andrew Cagney <ac131313@redhat.com>
* config.gcc: Recognize powerpc-*-netbsd*.
diff --git a/gcc/read-rtl.c b/gcc/read-rtl.c
index 7e0da18f0f8..945d9416764 100644
--- a/gcc/read-rtl.c
+++ b/gcc/read-rtl.c
@@ -174,7 +174,7 @@ read_name (str, infile)
p = str;
while (1)
{
- if (c == ' ' || c == '\n' || c == '\t' || c == '\f')
+ if (c == ' ' || c == '\n' || c == '\t' || c == '\f' || c == '\r')
break;
if (c == ':' || c == ')' || c == ']' || c == '"' || c == '/'
|| c == '(' || c == '[')