From: Richard Kenner Date: Thu, 12 May 1994 19:48:11 +0000 (-0400) Subject: (decl_attributes): Revert to identifiers for mode attributes. X-Git-Tag: misc/cutover-egcs-0~6662 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=389da3624578ca159cfb6827ad149f5e0404d13a;p=thirdparty%2Fgcc.git (decl_attributes): Revert to identifiers for mode attributes. From-SVN: r7281 --- diff --git a/gcc/c-common.c b/gcc/c-common.c index a499f9766d92..7e5c6f1403e6 100644 --- a/gcc/c-common.c +++ b/gcc/c-common.c @@ -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++)