From nobody Wed Jul 13 05:27:17 2022 X-Original-To: toolchain@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 206E81CFEA80 for ; Wed, 13 Jul 2022 05:27:18 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4LjR2Y72dNz4DVq for ; Wed, 13 Jul 2022 05:27:17 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4LjR2Y5wcDz1BcR for ; Wed, 13 Jul 2022 05:27:17 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 26D5RHQ1052876 for ; Wed, 13 Jul 2022 05:27:17 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 26D5RHad052875 for toolchain@FreeBSD.org; Wed, 13 Jul 2022 05:27:17 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: toolchain@FreeBSD.org Subject: [Bug 265181] Clang doesn't properly report the C++ error when float is used as an argument in bit-wise operators (only on armv6 some error is reported instead of reporting it on all architectures) Date: Wed, 13 Jul 2022 05:27:17 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: misc X-Bugzilla-Version: 13.0-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: imp@FreeBSD.org X-Bugzilla-Status: Closed X-Bugzilla-Resolution: Not A Bug X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: toolchain@FreeBSD.org 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: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Maintenance of FreeBSD s integrated toolchain List-Archive: https://lists.freebsd.org/archives/freebsd-toolchain List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-toolchain@freebsd.org X-BeenThere: freebsd-toolchain@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1657690038; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=6ypdV6kjP17YP+kxYf83ZlRta0RuOEPoIJoU3yz+hFs=; b=qk2bhvthS0vzH1qr22Rur2y2Xqpx3rJUT1C0C5R2Psfzl4D+CbUT1JJG5JU7Ixv6iS0fah ZM35IYJeCbldyoHIKBcdG0dRfmqTbBxD4ojduUIDY3Z/W4RNVW/5lNEhxUxHcUMmsuVmgC fahEFaoLrzN71iZoXeSMG7idXgDHs1FtndY7/TFIqRX80NzrMa3oq+6nBmaL6rUeWZA3As AU3sOsLw9q8CdiUvjWi4Fkj4jbBjTry4ffezTZk6KlXdHrQu86MYGBAU8NfZqF/qt7VeqA ZS//7ogqOC9caTy/AYf6by9zFczQMXYJgEayngR4s1hUkOorR99uFTwpaRpx+g== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1657690038; a=rsa-sha256; cv=none; b=v/SYccbEcLlFi/oIHXu89+p2bcPhyxPUAIn9kYd24aifbj1rIAtfalw+JooLBmVO3Ts4hH UMeyt4rV1jGvf7m4l3O/K52vpNgYVPc63kh8C0HnZYubsJVZ7W36Tf8goiFd6C598pzd3I xC6FgWX7iSZn09hdgA3f7j0l5NUqzoOqgSjtpDlR1TlzTYMfTCGnKIek3Zfc8bcN6elGmh +oNDAWtZiIpEvZOvxNzILyyDnyj09MNC6j6McDYCXwnQJZ0jFrF0vlW+QcRabnYAVfNS0q fsujZYDXHud8udZY882E814YIQ+mO6Klw1ku/2gWbDQ/4iFkR30CnALNNhyKRg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D265181 --- Comment #8 from Warner Losh --- Ah, the bswap32, bswap_32, etc fiasco. There's three or four different standards. And I'm trying to iron it all out. Everywhere, though, __bswap32, etc, shou= ld be defined as __builtin_bswap32, etc. Anything else will be suboptimal. I started to sort all this out in https://reviews.freebsd.org/D31964 (where I start to use __ versions everywhere) https://reviews.freebsd.org/D31962 (this is almost ready to go in, but ther= e's a couple of stragglers in ports that I've not had the time to fix) The problem is that endian.h, sys/endian.h and byteswap.h are different APIs that vary a bit, that also has a number of different autoconf and autoconf-= like scripts that have various different bugs that get it wrong, or detect thing= s to include in one way, and detect which macros to use in a different way and t= his mismatch causes problems. --=20 You are receiving this mail because: You are the assignee for the bug.=