From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 876C3385841E; Sat, 2 Dec 2023 23:41:07 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 876C3385841E DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1701560467; bh=Yev+TahnJL3fNcSM7/qcJmObBVFnQEUU1t2yw40UzJ8=; h=From:To:Subject:Date:In-Reply-To:References:From; b=yYmqJxFDSALfK4CMmWxGsqxvzluBmTVlUENM3aG3y7Pmr/pnV6vM/AuqYLYVs066z VtoMyDj9+QgfoXrkQ1s86r0UAWEM+HE40veW/cfEJongUNZI+UFEbe2uOsrBs2tzxi +BWeu6+QlQPWIY9Ghn/flvw77tTl06i/ixW+pEaM= From: "gonzalo.gadeschi at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/112789] Missing clang __builtin_ctzs for short Date: Sat, 02 Dec 2023 23:41:07 +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: 14.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: gonzalo.gadeschi at gmail dot com X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: WONTFIX 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=3D112789 --- Comment #9 from gnzlbg --- > > Look at that part where __builtin_ctzs is mentioned there. > It just says it is valid inside a constexpr and nothing else about the bu= iltin. Yes, seems like a bug / pr should be opened in the llvm project to better document what the intrinsic does. I'll do that later.=20 > Sounds like that HPC QCD app is broken.=20 To you maybe. To me it seems like GCC is broken, hence why I opened the bug= .=