OSDN Git Service

(decl_attributes): `mode' attribute now takes string arg.
authorrms <rms@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 28 Mar 1994 01:28:04 +0000 (01:28 +0000)
committerrms <rms@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 28 Mar 1994 01:28:04 +0000 (01:28 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6914 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/c-common.c

index 3203fd1..c0769d1 100644 (file)
@@ -257,7 +257,7 @@ decl_attributes (decl, attributes)
       {
        int i;
        char *specified_name
-         = IDENTIFIER_POINTER (TREE_VALUE (TREE_VALUE (a)));
+         = TREE_STRING_POINTER (TREE_VALUE (TREE_VALUE (a)));
 
        /* Give this decl a type with the specified mode.  */
        for (i = 0; i < NUM_MACHINE_MODES; i++)