[Bug c++/52215] [4.7 Regression] __atomic_compare_exchange_n for enumeration type changes signature with -m32
jakub at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Feb 13 20:14:00 GMT 2012
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52215
--- Comment #8 from Jakub Jelinek <jakub at gcc dot gnu.org> 2012-02-13 20:13:02 UTC ---
Author: jakub
Date: Mon Feb 13 20:12:54 2012
New Revision: 184167
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=184167
Log:
PR c++/52215
* c-common.c (sync_resolve_params): Don't decide whether to convert
or not based on TYPE_SIZE comparison, convert whenever arg_type
is unsigned INTEGER_TYPE.
* g++.dg/ext/atomic-1.C: New test.
Added:
trunk/gcc/testsuite/g++.dg/ext/atomic-1.C
Modified:
trunk/gcc/c-family/ChangeLog
trunk/gcc/c-family/c-common.c
trunk/gcc/testsuite/ChangeLog
More information about the Gcc-bugs
mailing list