--- Comment #10 from phil dot sidler at attachmate dot com 2006-11-06
21:58 ---
fyi, does work OK at
gcc (GCC) 4.1.2 20061028 (prerelease) (Debian 4.1.1-19)
cheers
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29714
--- Comment #8 from phil dot sidler at attachmate dot com 2006-11-06 20:29
---
I see you're right, this is probably fixed now.
This was on
cc (GCC) 4.1.2 20060928 (prerelease) (Ubuntu 4.1.1-13ubuntu5)
thanks.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29714
--- Comment #5 from phil dot sidler at attachmate dot com 2006-11-06 20:18
---
Recreated with the following
#include
main()
{
uint8_t area = 1;
uint8_t oldval;
uint8_t res;
oldval = area;
res = __sync_val_compare_and_swap(&area, oldval,
--- Comment #4 from phil dot sidler at attachmate dot com 2006-11-04 23:24
---
gcc -W -Wall -O3 -march=k8 -fomit-frame-pointer
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29714
--- Comment #2 from phil dot sidler at attachmate dot com 2006-11-04 19:07
---
Created an attachment (id=12548)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=12548&action=view)
preprocessed source gzipped
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29714