r262046 - in /branches/gcc-6-branch/gcc: Change...

jakub@gcc.gnu.org jakub@gcc.gnu.org
Mon Jun 25 17:02:00 GMT 2018


Author: jakub
Date: Mon Jun 25 17:02:47 2018
New Revision: 262046

URL: https://gcc.gnu.org/viewcvs?rev=262046&root=gcc&view=rev
Log:
	Backported from mainline
	2017-12-19  Jakub Jelinek  <jakub@redhat.com>

	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:
    branches/gcc-6-branch/gcc/testsuite/g++.dg/ipa/pr82801.C
Modified:
    branches/gcc-6-branch/gcc/ChangeLog
    branches/gcc-6-branch/gcc/ipa-inline.c
    branches/gcc-6-branch/gcc/testsuite/ChangeLog



More information about the Gcc-cvs mailing list