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
This commit is contained in:
parent
8d6b3c1632
commit
0f549a6781
@ -1,3 +1,9 @@
|
||||
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;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user