[Bug c++/52215] __atomic_compare_exchange_n for enumeration type changes signature with -m32

redi at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Sun Feb 12 14:24:00 GMT 2012


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52215

Jonathan Wakely <redi at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |rejects-valid
                 CC|jwakely.gcc at gmail dot    |redi at gcc dot gnu.org
                   |com                         |
            Summary|[4.7 Regression] FAIL:      |__atomic_compare_exchange_n
                   |ext/profile/mutex_extension |for enumeration type
                   |s_neg.cc (test for excess   |changes signature with -m32
                   |errors)                     |

--- Comment #3 from Jonathan Wakely <redi at gcc dot gnu.org> 2012-02-12 14:23:54 UTC ---
It's the second parameter which has the wrong type, this works with -m32:

  __atomic_compare_exchange_n(&e, e, e, true, __ATOMIC_ACQ_REL,
      __ATOMIC_RELAXED);



More information about the Gcc-bugs mailing list