]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
tree.c (is_attribute_with_length_p): Remove a duplicated assert.
authorChristophe Jaillet <christophe.jaillet@wanadoo.fr>
Fri, 18 Aug 2006 05:48:13 +0000 (07:48 +0200)
committerUros Bizjak <uros@gcc.gnu.org>
Fri, 18 Aug 2006 05:48:13 +0000 (07:48 +0200)
2006-08-18  Christophe Jaillet  <christophe.jaillet@wanadoo.fr>

* tree.c (is_attribute_with_length_p): Remove a duplicated assert.

From-SVN: r116237

gcc/ChangeLog
gcc/tree.c

index 61d5fe0d7e88d7319d07d5d88204dec5f67ccab3..a30a412ea8fbd6d2856deab3d6a742afff104c00 100644 (file)
@@ -1,3 +1,7 @@
+2006-08-18  Christophe Jaillet  <christophe.jaillet@wanadoo.fr>
+
+       * tree.c (is_attribute_with_length_p): Remove a duplicated assert.
+
 2006-08-17  Jakub Jelinek  <jakub@redhat.com>
 
        PR c/28744
index f4e53ef592ffbed8db16d4ada2771facfe3b9274..2c95a266416f59fdf6c53a2df283a9ad73aea6b0 100644 (file)
@@ -3449,7 +3449,6 @@ is_attribute_with_length_p (const char *attr, int attr_len, tree ident)
       gcc_assert (attr[1] == '_');
       gcc_assert (attr[attr_len - 2] == '_');
       gcc_assert (attr[attr_len - 1] == '_');
-      gcc_assert (attr[1] == '_');
       if (ident_len == attr_len - 4
          && strncmp (attr + 2, p, attr_len - 4) == 0)
        return 1;