From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 181B9385B531; Mon, 27 Feb 2023 11:17:39 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 181B9385B531 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1677496659; bh=fFXYRjKPbJSOdhzFCFdtZgN6X7UNh2oF+80eIfxpNwI=; h=From:To:Subject:Date:In-Reply-To:References:From; b=flTtbKs6jxCJFDd0duj+cJe18Dr6FDZCDKfrc6a6Wd/z08mO7yUDm/4WD27o4hiDE u7yQyZdqFVAKBRdI1JUbpP86pt7GZSA+Wmjr6pLZX/TQNQBXD83TKojO9pGAX4w53q FqMLEuoemQJjBZRUMqMaI7d62VyywbkKz+uvxDrE= From: "marxin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/108941] Error: operand type mismatch for `shr' with binutils master Date: Mon, 27 Feb 2023 11:17:38 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: 13.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: marxin at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: INVALID 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=3D108941 --- Comment #12 from Martin Li=C5=A1ka --- (In reply to jbeulich from comment #9) > (In reply to Jakub Jelinek from comment #1) > > How does that look like a gcc bug? It is either a binutils bug for not > > accepting it anymore, or ffmpeg-4 bug for relying on the negative shift= s. >=20 > While I'm not sure in how far reduction from original code has discarded = too Hope I haven't reduced it much, the original inline functions is defined he= re: https://git.ffmpeg.org/gitweb/ffmpeg.git/blob/HEAD:/libavcodec/x86/mathops.= h#l124=