From 581b519f037a8787b9121d6fcdc33a9d518d97c0 Mon Sep 17 00:00:00 2001 From: Martin Jambor Date: Thu, 26 Sep 2019 12:32:45 +0200 Subject: [PATCH] [PATCH] Fix continue condition in IPA-SRA's process_scan_results 2019-09-26 Martin Jambor * ipa-sra.c (process_scan_results): Fix continue condition. From-SVN: r276143 --- gcc/ChangeLog | 4 ++++ gcc/ipa-sra.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index f876c5b..1d73129 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2019-09-26 Martin Jambor + + * ipa-sra.c (process_scan_results): Fix continue condition. + 2019-09-26 Martin Liska PR tree-optimization/91885 diff --git a/gcc/ipa-sra.c b/gcc/ipa-sra.c index 0ccebbd..b35fff6 100644 --- a/gcc/ipa-sra.c +++ b/gcc/ipa-sra.c @@ -2239,7 +2239,7 @@ process_scan_results (cgraph_node *node, struct function *fun, desc_index++, parm = DECL_CHAIN (parm)) { gensum_param_desc *desc = &(*param_descriptions)[desc_index]; - if (!desc->locally_unused && !desc->split_candidate) + if (!desc->split_candidate) continue; if (flag_checking) -- 2.7.4