From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 59F0B385841D; Thu, 9 Mar 2023 14:25:46 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 59F0B385841D DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1678371946; bh=8eErr/j9omtxSBDmz0OxcRT3z6LAnYwpUX/QxJw+3rY=; h=From:To:Subject:Date:In-Reply-To:References:From; b=uWU6LQfaQ7Cl/SmboXPK68a/6UvULEcVMNOl9mDE8vJEMIXgeI48X3N+ZK8j3JVCa hLfsIjgCvKuA5zYc7V0DU6W2Q3TdNgc4LT0m5gEqQ+y1OtvBym/sNtby4zTd9Md5sW xQUnMFp4aLnsVYvZGRt/4leE1zBpeyUAFgOyv6Fo= From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/109031] csmith: possible bad code with -O2 -fno-strict-aliasing since r13-254-gdd3c7873a61019e9 Date: Thu, 09 Mar 2023 14:25:45 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: middle-end X-Bugzilla-Version: 13.0 X-Bugzilla-Keywords: patch, wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: roger at nextmovesoftware dot com 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=3D109031 --- Comment #29 from Jakub Jelinek --- (In reply to Roger Sayle from comment #28) > The integer_all_onesp test is only equivalent to -1 when the TREE_TYPE (x) > is the same width or wider than type ... or the narrower type is signed.=