Commit 389da362 by Richard Kenner

(decl_attributes): Revert to identifiers for mode attributes.

From-SVN: r7281
parent 8749aa2f
...@@ -275,11 +275,11 @@ found_attr:; ...@@ -275,11 +275,11 @@ found_attr:;
else if ( args = TREE_CHAIN(name), else if ( args = TREE_CHAIN(name),
!strcmp (IDENTIFIER_POINTER (name = TREE_PURPOSE (name)), "mode") !strcmp (IDENTIFIER_POINTER (name = TREE_PURPOSE (name)), "mode")
&& list_length (args) == 1 && list_length (args) == 1
&& TREE_CODE (TREE_VALUE (args)) == STRING_CST) && TREE_CODE (TREE_VALUE (args)) == IDENTIFIER_NODE)
{ {
int i; int i;
char *specified_name char *specified_name
= TREE_STRING_POINTER (TREE_VALUE (args)); = IDENTIFIER_POINTER (TREE_VALUE (args));
/* Give this decl a type with the specified mode. */ /* Give this decl a type with the specified mode. */
for (i = 0; i < NUM_MACHINE_MODES; i++) for (i = 0; i < NUM_MACHINE_MODES; i++)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment