This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/52215] [4.7 Regression] __atomic_compare_exchange_n for enumeration type changes signature with -m32
- From: "jakub at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 13 Feb 2012 13:59:41 +0000
- Subject: [Bug c++/52215] [4.7 Regression] __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
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |ASSIGNED
AssignedTo|unassigned at gcc dot |jakub at gcc dot gnu.org
|gnu.org |
--- Comment #6 from Jakub Jelinek <jakub at gcc dot gnu.org> 2012-02-13 13:59:41 UTC ---
Created attachment 26650
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=26650
gcc47-pr52215.patch
Untested fix. I think it is wrong to decide this based on TYPE_SIZE,
we want to IMHO convert just the I[1248] and I16 arg_types, but not the PTR,
BOOL or INT ones (i.e. arguments in which have the overloaded types, not the
arguments that hold pointers to them or have invariant types).