Bug#844704: gdc fails to build, user_defined_section_attribute removed on trunk
Package: gdc-7
after this change, D fails to build with the current trunk:
2016-11-16 Andrew Burgess <andrew.burgess@embecosm.com>
* gcc/bb-reorder.c: Remove 'toplev.h' include.
(pass_partition_blocks::gate): No longer check
user_defined_section_attribute, instead check the function decl
for a section attribute.
* gcc/c-family/c-attribs.c (handle_section_attribute): No longer
set user_defined_section_attribute.
* gcc/final.c (rest_of_handle_final): Likewise.
* gcc/toplev.c: Remove definition of user_defined_section_attribute.
* gcc/toplev.h: Remove declaration of
user_defined_section_attribute.
../../src/gcc/d/d-attribs.c: In function 'tree_node*
d_handle_section_attribute(tree_node**, tree, tree, int, bool*)':
../../src/gcc/d/d-attribs.c:591:7: error: 'user_defined_section_attribute' was
not declared in this scope
user_defined_section_attribute = true;
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Makefile:1100: recipe for target 'd/d-attribs.o' failed
make[4]: *** [d/d-attribs.o] Error 1
Reply to: