Commit b3de8b75 by Doug Evans

(make_decl_rtl): If section attribute is being ignored, really ignore it.

From-SVN: r7441
parent f58e9815
......@@ -503,6 +503,9 @@ make_decl_rtl (decl, asmspec, top_level)
{
warning_with_decl (decl,
"section attribute ignored for uninitialized variable `%s'");
/* Remove the section name so subsequent declarations won't see it.
We are ignoring it, remember. */
DECL_SECTION_NAME (decl) = NULL_TREE;
}
/* Now handle ordinary static variables and functions (in memory).
......
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