On Sun, Oct 13, 2024 at 2:06 PM Mattias Rönnblom <mattias.ronnb...@ericsson.com> wrote: > > The macros generating the parallel test for atomic test-and- > [set|clear|flip] functions used a 64-bit reference word when assuring > no neighbouring bits were modified, even when generating code for the > 32-bit version of the test. > > This issue causes spurious test failures on GCC 12.2.0 (the default > compiler on for example Debian 12 "bookworm"), when optimization level > 2 or higher are used. > > The test failures do not occur with GCC 11, 12.3 and 13.2. > > To the author, this looks like a promotion-related compiler bug in GCC > 12.2. > > Fixes: 35326b61aecb ("bitops: add atomic bit operations in new API") > > Signed-off-by: Mattias Rönnblom <mattias.ronnb...@ericsson.com> > Reviewed-by: Morten Brørup <m...@smartsharesystems.com>
Tested-by: David Marchand <david.march...@redhat.com> Applied to fix the CI, thanks. -- David Marchand