Red Hat Bugzilla – Bug 89588
__sync_bool_compare_and_swap returns the wrong type
Last modified: 2007-04-18 12:53:17 EDT
See URL. A patch is checked into in mainline:
Created attachment 91278 [details]
This is the patch I checked into mainline.
Created attachment 91282 [details]
A patch for gcc version 3.2.3 20030422 (Red Hat Linux 3.2.3-1)
My patch for mainline won't apply cleanly on Red Hat gcc.
This one should be ok.
Created attachment 91361 [details]
A followup patch
My last patch was incomplete. This followup patch is
Created attachment 91370 [details]
A testcase patch
Patch present on gcc-3.3-rh branch.