fix libgomp miscompilation on ppc64
Mark Mitchell
mark@codesourcery.com
Tue Jan 31 07:00:00 GMT 2006
Jakub Jelinek wrote:
> Yes, since libstdc++-v3 was not using the __sync_* builtins internally
> in GCC 4.0.x and earlier, but used inline assembly instead for the atomic
> stuff. We only saw the bug in libgomp so far, so it is possible in
> libstdc++-v3 we are just lucky enough to not expose it. Though it is
> unclear if GCC 4.1's libstdc++-v3 has been tested with all the compile
> flags combinations people will be actually using.
OK, go ahead and apply the patch.
Thanks,
--
Mark Mitchell
CodeSourcery
mark@codesourcery.com
(650) 331-3385 x713
More information about the Gcc-patches
mailing list