From: Doug Evans Date: Fri, 3 Jun 1994 22:12:54 +0000 (+0000) Subject: (decl_attributes): Fix section attribute breakage. X-Git-Tag: misc/cutover-egcs-0~6503 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f58e9815f7c8ee6d372a6ed44a5b12188781a471;p=thirdparty%2Fgcc.git (decl_attributes): Fix section attribute breakage. From-SVN: r7440 --- diff --git a/gcc/c-common.c b/gcc/c-common.c index d09bf41260c8..f55dbb530ce7 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,