Date: Wed, 13 Jul 2022 05:27:17 +0000 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) Message-ID: <bug-265181-29464-Su0SyOZg83@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-265181-29464@https.bugs.freebsd.org/bugzilla/> References: <bug-265181-29464@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D265181 --- Comment #8 from Warner Losh <imp@FreeBSD.org> --- 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.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-265181-29464-Su0SyOZg83>