aboutsummaryrefslogtreecommitdiff
path: root/gcc/c-common.c
diff options
context:
space:
mode:
authorDoug Evans <dje@gnu.org>1994-06-03 22:12:54 +0000
committerDoug Evans <dje@gnu.org>1994-06-03 22:12:54 +0000
commitf58e9815f7c8ee6d372a6ed44a5b12188781a471 (patch)
tree5edcdc3bc68e9816157f8f6cdd84c89d627f7b86 /gcc/c-common.c
parenta0a339271ae588299147928769ca073a198d53c7 (diff)
downloadgcc-f58e9815f7c8ee6d372a6ed44a5b12188781a471.zip
gcc-f58e9815f7c8ee6d372a6ed44a5b12188781a471.tar.gz
gcc-f58e9815f7c8ee6d372a6ed44a5b12188781a471.tar.bz2
(decl_attributes): Fix section attribute breakage.
From-SVN: r7440
Diffstat (limited to 'gcc/c-common.c')
-rw-r--r--gcc/c-common.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/c-common.c b/gcc/c-common.c
index d09bf41..f55dbb5 100644
--- a/gcc/c-common.c
+++ b/gcc/c-common.c
@@ -314,11 +314,11 @@ found_attr:;
a previous declaration. Ensure they match. */
else if (DECL_SECTION_NAME (decl) != NULL_TREE
&& strcmp (TREE_STRING_POINTER (DECL_SECTION_NAME (decl)),
- TREE_STRING_POINTER (TREE_VALUE (TREE_VALUE (args)))) != 0)
+ TREE_STRING_POINTER (TREE_VALUE (args))) != 0)
error_with_decl (decl,
"section of `%s' conflicts with previous declaration");
else
- DECL_SECTION_NAME (decl) = TREE_VALUE (TREE_VALUE (args));
+ DECL_SECTION_NAME (decl) = TREE_VALUE (args);
}
else
error_with_decl (decl,