This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: fix libgomp miscompilation on ppc64
On 1/31/06, Mark Mitchell <mark@codesourcery.com> wrote:
> 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.
Done.
Thanks,
Richard.