diff options
author | Richard Kenner <kenner@gcc.gnu.org> | 1994-05-12 15:48:11 -0400 |
---|---|---|
committer | Richard Kenner <kenner@gcc.gnu.org> | 1994-05-12 15:48:11 -0400 |
commit | 389da3624578ca159cfb6827ad149f5e0404d13a (patch) | |
tree | f9587974f408d7a308a2e01087a355bc98ba8297 /gcc/c-common.c | |
parent | 8749aa2f0ea04bfa449a88cef88044e33b76f823 (diff) | |
download | gcc-389da3624578ca159cfb6827ad149f5e0404d13a.zip gcc-389da3624578ca159cfb6827ad149f5e0404d13a.tar.gz gcc-389da3624578ca159cfb6827ad149f5e0404d13a.tar.bz2 |
(decl_attributes): Revert to identifiers for mode attributes.
From-SVN: r7281
Diffstat (limited to 'gcc/c-common.c')
-rw-r--r-- | gcc/c-common.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/c-common.c b/gcc/c-common.c index a499f97..7e5c6f1 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++) |