[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 14:00:00 GMT 2012


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



More information about the Gcc-bugs mailing list