From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 68445385841D; Thu, 19 Jan 2023 14:16:01 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 68445385841D DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1674137761; bh=/ALI7r0rrBprsQRCVN8F2rse2ukwZ3OhcQyFUWIhOB8=; h=From:To:Subject:Date:In-Reply-To:References:From; b=bly1+wkRsLUJ4m9JeokCMeI6388ow/Rmji+EeewuNqdg80iOsZ2P6RNC5f4J3JKzz ZdrTdUP8X3l+6Wp5CC7KzTElue/OTH8EYfWRiOZ2n9RqyEgpBbp23LhHVoVxuR+eb0 5MBSRVKj/W4z1BBRJU7xBEYSpNRYY92G6PwK54BY= From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/108457] [13 Regression] tree-ssa-loop-niter.cc:2255:23: warning: variable 'mode' set but not used Date: Thu, 19 Jan 2023 14:16:01 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 13.0 X-Bugzilla-Keywords: build X-Bugzilla-Severity: normal X-Bugzilla-Who: pinskia at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org X-Bugzilla-Target-Milestone: 13.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 List-Id: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D108457 --- Comment #5 from Andrew Pinski --- (In reply to Jakub Jelinek from comment #3) > Space between cast and mode. > Though I think various other uses of these macros solve this by simply us= ing > SCALAR_INT_TYPE_MODE (utype) directly as argument to those macros rather = than > using a temporary variable. I am ok with that too. This was just a quick patch to try to help to get it unstuck ...=