From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 4477C385C32C; Wed, 24 Aug 2022 13:45:07 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 4477C385C32C DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1661348707; bh=0Vem2pbtsRaMecwk1qZJA+buvIElr7mzwXy7QWAbeuo=; h=From:To:Subject:Date:In-Reply-To:References:From; b=Q0l48OR0EBvSsilRu5eFYlbdRc6BJib7lJ7UCTHPtxRGd55wAVYGEZ0ZpLqciGVZd 9eyLhYAkisZtnjnGaakQSkLf3pn0kY8V5JBASyY6tuVLVmEECCvimXNGPz9unQQs70 bj4uBC2bhfIxU7IGANm5B/A7/ni+OAasrP49o2qY= From: "rguenther at suse dot de" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/106701] Compiler does not take into account number range limitation to avoid subtract from immediate Date: Wed, 24 Aug 2022 13:45:06 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 11.2.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenther at suse dot de X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- 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=3D106701 --- Comment #4 from rguenther at suse dot de --- On Wed, 24 Aug 2022, rdapp at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D106701 >=20 > --- Comment #3 from rdapp at gcc dot gnu.org --- > I though expand (or combine) were independent of value range. What would = be the > proper place for it then? I think we use ranges during expansion already, otherwise gimple-isel.cc might be a good place.=