[Bug target/58490] __sync_bool_compare_and_swap sign bit failure

2013-09-27 Thread erikvanderwerf at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58490 --- Comment #3 from Erik van der Werf erikvanderwerf at gmail dot com --- I'm sorry, that patch definitely looks relevant, and I'd like to try it, but somehow I did not manage to rebuild the arm-linux-gnueabi-gcc-4.7 package. I'm not a gcc

[Bug c/58490] New: __sync_bool_compare_and_swap sign bit failure

2013-09-21 Thread erikvanderwerf at gmail dot com
Assignee: unassigned at gcc dot gnu.org Reporter: erikvanderwerf at gmail dot com The following lines cause an assertion failure on my arm device: unsigned short int x=0x8000; unsigned short int y=1; // or any other number char success = __sync_bool_compare_and_swap