This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/52215] __atomic_compare_exchange_n for enumeration type changes signature with -m32
- From: "redi at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sun, 12 Feb 2012 14:23:54 +0000
- Subject: [Bug c++/52215] __atomic_compare_exchange_n for enumeration type changes signature with -m32
- Auto-submitted: auto-generated
- References: <bug-52215-4@http.gcc.gnu.org/bugzilla/>
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);