cgraph_node: Remove redundant section clearing
authorBernhard Reutner-Fischer <aldot@gcc.gnu.org>
Thu, 3 Nov 2022 20:20:57 +0000 (21:20 +0100)
committerBernhard Reutner-Fischer <aldot@gcc.gnu.org>
Sun, 6 Nov 2022 00:52:40 +0000 (01:52 +0100)
commitefbf11e97b476d7f85a3d5c599a6c11e211362e8
tree883203ee4c35945cb4bbbfc9cac328f33092b2ef
parenta111cfba4816765b55f4d5c82bc2b034047db92c
cgraph_node: Remove redundant section clearing

Ok for trunk if testing passes?

gcc/ChangeLog:

* cgraph.cc (cgraph_node::make_local): Remove redundant set_section.
* multiple_target.cc (create_dispatcher_calls): Likewise.

Signed-off-by: Bernhard Reutner-Fischer <aldot@gcc.gnu.org>
gcc/cgraph.cc
gcc/multiple_target.cc