r255805 - in /trunk/gcc: ChangeLog ipa-inline.c...
jakub@gcc.gnu.org
jakub@gcc.gnu.org
Tue Dec 19 07:41:00 GMT 2017
Author: jakub
Date: Tue Dec 19 07:41:30 2017
New Revision: 255805
URL: https://gcc.gnu.org/viewcvs?rev=255805&root=gcc&view=rev
Log:
PR ipa/82801
PR ipa/83346
* ipa-inline.c (flatten_remove_node_hook): New function.
(ipa_inline): Keep only nodes with flatten attribute at the end of
the array in the order from ipa_reverse_postorder, only walk that
portion of array for flattening, if there is more than one such
node, temporarily register a removal hook and ignore removed nodes.
* g++.dg/ipa/pr82801.C: New test.
Added:
trunk/gcc/testsuite/g++.dg/ipa/pr82801.C
Modified:
trunk/gcc/ChangeLog
trunk/gcc/ipa-inline.c
trunk/gcc/testsuite/ChangeLog
More information about the Gcc-cvs
mailing list