From patchwork Fri Nov 8 07:13:21 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?q?Martin_Li=C5=A1ka?= X-Patchwork-Id: 1194152 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=gcc.gnu.org (client-ip=209.132.180.131; helo=sourceware.org; envelope-from=gcc-patches-return-513215-incoming=patchwork.ozlabs.org@gcc.gnu.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=suse.cz Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=gcc.gnu.org header.i=@gcc.gnu.org header.b="CbAvBbNE"; dkim-atps=neutral Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 47CfKc5BSnz9s7T for ; Wed, 13 Nov 2019 20:23:00 +1100 (AEDT) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender :resent-from:resent-to:resent-date:resent-message-id:message-id :in-reply-to:references:from:date:subject:to:mime-version :content-type; q=dns; s=default; b=RpnGyB3zmudkrHPRnm4rQ+XgNM4cf abvc/08t1vR0VOp/PfPw5l/fKi4YSt/elKXRi7f2ZMJCY0HHWh65Mk3VJR9GrF2K kInTUDQF1+F848VHNMemQySYAQ3QC1v24RHpsWDP1ii3j0+ZnC+XJ6GV/Cybf22E R72xav5DTTRUMA= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender :resent-from:resent-to:resent-date:resent-message-id:message-id :in-reply-to:references:from:date:subject:to:mime-version :content-type; s=default; bh=U7ynDhis85LRc6p+fz7CSSTYF1M=; b=CbA vBbNErdblbwwSl5qvC0dYi8Gxbxh7UHgFwDvMuSf/kmEr02/Xu+wlsjaCxZw1jAR HCMK9OBvaWS9m1ZUlEcOcFUw0CwEdCNSWBgCoSxY/IQreU4tZXIsZAJHAqeXU2R+ VVkFEh/sMaXCZPF1LmDYbGt7T9yMOmc6q+oP+0yI= Received: (qmail 43891 invoked by alias); 13 Nov 2019 09:22:17 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Delivered-To: mailing list gcc-patches@gcc.gnu.org Received: (qmail 43817 invoked by uid 89); 13 Nov 2019 09:22:16 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-18.4 required=5.0 tests=AWL, BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, SPF_PASS autolearn=ham version=3.3.1 spammy=sk:return_ X-HELO: mx1.suse.de Received: from mx2.suse.de (HELO mx1.suse.de) (195.135.220.15) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 13 Nov 2019 09:22:15 +0000 Received: from relay2.suse.de (unknown [195.135.220.254]) by mx1.suse.de (Postfix) with ESMTP id 76C63B231 for ; Wed, 13 Nov 2019 09:22:13 +0000 (UTC) Resent-From: =?utf-8?q?Martin_Li=C5=A1ka?= Resent-To: GCC Patches Resent-Date: Wed, 13 Nov 2019 10:22:13 +0100 Resent-Message-ID: <0e20cc8b-f845-3d23-c71c-03668bdbc94f@suse.cz> Message-Id: In-Reply-To: References: From: Martin Liska Date: Fri, 8 Nov 2019 08:13:21 +0100 Subject: [PATCH 2/5] Update dump message in IPA ICF. To: gcc-patches@gcc.gnu.org MIME-Version: 1.0 X-IsSubscribed: yes gcc/ChangeLog: 2019-11-11 Martin Liska * ipa-icf-gimple.c (func_checker::compare_gimple_call): Update bail out reason. (func_checker::compare_gimple_assign): Likewise. --- gcc/ipa-icf-gimple.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/gcc/ipa-icf-gimple.c b/gcc/ipa-icf-gimple.c index 7e4ffc852a8..edb8fd66e08 100644 --- a/gcc/ipa-icf-gimple.c +++ b/gcc/ipa-icf-gimple.c @@ -579,7 +579,7 @@ func_checker::compare_gimple_call (gcall *s1, gcall *s2) t2 = gimple_call_arg (s2, i); if (!compare_operand (t1, t2)) - return return_false_with_msg ("memory operands are different"); + return return_false_with_msg ("GIMPLE call operands are different"); } /* Return value checking. */ @@ -618,7 +618,8 @@ func_checker::compare_gimple_assign (gimple *s1, gimple *s2) arg2 = gimple_op (s2, i); if (!compare_operand (arg1, arg2)) - return return_false_with_msg ("memory operands are different"); + return return_false_with_msg ("GIMPLE assignment operands " + "are different"); }