From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 22A7339867E4; Tue, 4 Jun 2024 14:30:25 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 22A7339867E4 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1717511425; bh=d7bbvS+Uwo512lDj3NTPVkQaS6B4pvRFTvx8EF8q1zo=; h=From:To:Subject:Date:In-Reply-To:References:From; b=dwTNLmApRYSAUX9qRGNHNwwRDrab1B4LP9O3o9Vnc7IeOFEtmmI7Q+PsEBnfQOxfp s9M3JCWaEe+iSVsYyrNwAay0tzb6ovAaNnIuBKXjit0QfABB3GoK+AWa1lXum41FNR N0pvFC0g8UXLsBs6hhduSNjAUmluzDiBd2UPTPi4= From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/115337] wrong code with _BitInt() __builtin_stdc_first_leading_one/__builtin_clzg (with -1 as second arg) at -O2 Date: Tue, 04 Jun 2024 14:30:24 +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: 15.0 X-Bugzilla-Keywords: 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: P3 X-Bugzilla-Assigned-To: jakub 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=3D115337 --- Comment #12 from Jakub Jelinek --- Should be fixed now. I think we want to backport the fold-const.cc first patch to older branches too, but it will be different there.=