]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
(decl_attributes): Revert to identifiers for mode attributes.
authorRichard Kenner <kenner@gcc.gnu.org>
Thu, 12 May 1994 19:48:11 +0000 (15:48 -0400)
committerRichard Kenner <kenner@gcc.gnu.org>
Thu, 12 May 1994 19:48:11 +0000 (15:48 -0400)
From-SVN: r7281

gcc/c-common.c

index a499f9766d92c813e899333005a5a12099f1f221..7e5c6f1403e6d2590fe68701804906b80b8f520c 100644 (file)
@@ -275,11 +275,11 @@ found_attr:;
     else if ( args = TREE_CHAIN(name),
              !strcmp (IDENTIFIER_POINTER (name = TREE_PURPOSE (name)), "mode")
              && list_length (args) == 1
-             && TREE_CODE (TREE_VALUE (args)) == STRING_CST)
+             && TREE_CODE (TREE_VALUE (args)) == IDENTIFIER_NODE)
       {
        int i;
        char *specified_name
-         = TREE_STRING_POINTER (TREE_VALUE (args));
+         = IDENTIFIER_POINTER (TREE_VALUE (args));
 
        /* Give this decl a type with the specified mode.  */
        for (i = 0; i < NUM_MACHINE_MODES; i++)