This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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);


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]