From e0fc29fc5fae6385ff238d5e3c2dadabac5dbba3 Mon Sep 17 00:00:00 2001 From: jakub Date: Fri, 16 Feb 2018 23:05:00 +0000 Subject: PR ipa/84425 * ipa-inline.c (inline_small_functions): Fix a typo. * gcc.c-torture/compile/pr84425.c: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@257772 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/ipa-inline.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gcc/ipa-inline.c') diff --git a/gcc/ipa-inline.c b/gcc/ipa-inline.c index f56a1a69107..b7f213f2eb7 100644 --- a/gcc/ipa-inline.c +++ b/gcc/ipa-inline.c @@ -1782,7 +1782,7 @@ inline_small_functions (void) struct cgraph_node *n2; int id = dfs->scc_no + 1; for (n2 = node; n2; - n2 = ((struct ipa_dfs_info *) node->aux)->next_cycle) + n2 = ((struct ipa_dfs_info *) n2->aux)->next_cycle) if (opt_for_fn (n2->decl, optimize)) { struct ipa_fn_summary *info2 = ipa_fn_summaries->get (n2); -- cgit v1.2.1