OSDN Git Service

* read-rtl.c (read_name): Consider \r whitespace.
authorrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 1 Aug 2001 20:49:24 +0000 (20:49 +0000)
committerrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 1 Aug 2001 20:49:24 +0000 (20:49 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44556 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/read-rtl.c

index 46b07fe..75a6502 100644 (file)
@@ -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*.
index 7e0da18..945d941 100644 (file)
@@ -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 == '[')