[Bug libstdc++/62259] atomic class doesn't enforce required alignment on powerpc64

amacleod at redhat dot com gcc-bugzilla@gcc.gnu.org
Wed Sep 3 16:09:00 GMT 2014


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62259

Andrew Macleod <amacleod at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |amacleod at redhat dot com

--- Comment #4 from Andrew Macleod <amacleod at redhat dot com> ---
Yeah... up until now, CRIS was the only port that this was an issue for.

The original C11 work had an extension  __attribute__(atomic)  which would do
the same thing the _Atomic keyword does for non C11 compilation, and the type
in the libstdc++ atomic classes would be given this attribute.

When jsm took over the C11 integration, this attribute code added extra testing
and code paths that were beyond the scope of what he was doing with C11, so it
was left behind.

my original mothballing note was
https://gcc.gnu.org/ml/gcc/2013-09/msg00240.html

we could probably track down the parts he didn't integrate from the branch if
someone wanted to work with them and get them up to snuff.



More information about the Gcc-bugs mailing list