Commit 0f549a67 by Kirill Yukhin Committed by Kirill Yukhin

re PR bootstrap/63235 (building fails with --disable-bootstrap)

PR bootstrap/63235

gcc/
	* varpool.c (varpool_node::add): Pass decl attributes
	to lookup_attribute.

From-SVN: r215552
parent 8d6b3c16
2014-09-24 Kirill Yukhin <kirill.yukhin@intel.com>
PR bootstrap/63235
* varpool.c (varpool_node::add): Pass decl attributes
to lookup_attribute.
2014-09-24 Jakub Jelinek <jakub@redhat.com>
PR sanitizer/63316
......@@ -449,7 +449,7 @@ varpool_node::add (tree decl)
symtab->call_varpool_insertion_hooks (node);
if (node->externally_visible_p ())
node->externally_visible = true;
if (lookup_attribute ("no_reorder", decl))
if (lookup_attribute ("no_reorder", DECL_ATTRIBUTES (decl)))
node->no_reorder = 1;
}
......
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