From: Martin Jambor Date: Thu, 26 Sep 2019 10:32:45 +0000 (+0200) Subject: [PATCH] Fix continue condition in IPA-SRA's process_scan_results X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=581b519f037a8787b9121d6fcdc33a9d518d97c0;p=gcc.git [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 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index f876c5b9ce0..1d73129ee2a 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 0ccebbd4607..b35fff69472 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)