]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
* read-rtl.c (read_name): Consider \r whitespace.
authorRichard Henderson <rth@redhat.com>
Wed, 1 Aug 2001 20:49:24 +0000 (13:49 -0700)
committerRichard Henderson <rth@gcc.gnu.org>
Wed, 1 Aug 2001 20:49:24 +0000 (13:49 -0700)
From-SVN: r44556

gcc/ChangeLog
gcc/read-rtl.c

index 46b07fe18c5c259d7b0572a1460ac6c29cf01453..75a65020c61742edde01f0bcfd71c9a994fd04e9 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 7e0da18f0f85cbb8aea2fd6ed8fc57fcdbec80a9..945d9416764b6d551a5b0e605ebc36a076f14f24 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 == '[')