aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Stallman <rms@gnu.org>1994-03-28 01:28:04 +0000
committerRichard Stallman <rms@gnu.org>1994-03-28 01:28:04 +0000
commit838e9ea20dced0c508c27111a90be7d2828a0518 (patch)
treed0232b3469f15ec5e69a90cbbe9f45e929a73d5e
parent309c23f7ddea7a9e2d26cf66c42bfc3731f17da9 (diff)
downloadgcc-838e9ea20dced0c508c27111a90be7d2828a0518.zip
gcc-838e9ea20dced0c508c27111a90be7d2828a0518.tar.gz
gcc-838e9ea20dced0c508c27111a90be7d2828a0518.tar.bz2
(decl_attributes): `mode' attribute now takes string arg.
From-SVN: r6914
-rw-r--r--gcc/c-common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/c-common.c b/gcc/c-common.c
index 3203fd1..c0769d1 100644
--- a/gcc/c-common.c
+++ b/gcc/c-common.c
@@ -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++)