[Bug libstdc++/65147] alignment of std::atomic object is not correct

2015-04-22 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65147 Jonathan Wakely changed: What|Removed |Added Status|REOPENED|RESOLVED Resolution|---

[Bug libstdc++/65147] alignment of std::atomic object is not correct

2015-04-22 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65147 Jakub Jelinek changed: What|Removed |Added Target Milestone|5.0 |5.2 --- Comment #14 from Jakub Jelinek

[Bug libstdc++/65147] alignment of std::atomic object is not correct

2015-04-09 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65147 --- Comment #12 from Jonathan Wakely --- Alexey, your testcases in comment 0 and comment 7 give the right results now.

[Bug libstdc++/65147] alignment of std::atomic object is not correct

2015-04-09 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65147 --- Comment #11 from Jonathan Wakely --- Author: redi Date: Thu Apr 9 11:15:44 2015 New Revision: 221945 URL: https://gcc.gnu.org/viewcvs?rev=221945&root=gcc&view=rev Log: 2015-04-09 Jonathan Wakely Richard Henderson PR libstd

[Bug libstdc++/65147] alignment of std::atomic object is not correct

2015-03-30 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65147 --- Comment #10 from Jonathan Wakely --- (In reply to Alexey Lapshin from comment #7) > It looks like this fix makes alignment of atomic object to be the same as > alignment of integral non-atomic object of the same size. Actually it only did th

[Bug libstdc++/65147] alignment of std::atomic object is not correct

2015-03-27 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65147 Jonathan Wakely changed: What|Removed |Added Status|RESOLVED|REOPENED Resolution|FIXED

[Bug libstdc++/65147] alignment of std::atomic object is not correct

2015-03-27 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65147 --- Comment #8 from Jonathan Wakely --- (In reply to Alexey Lapshin from comment #7) > It looks like this fix makes alignment of atomic object to be the same as > alignment of integral non-atomic object of the same size. That was the intention,

[Bug libstdc++/65147] alignment of std::atomic object is not correct

2015-03-27 Thread alexey.lapshin at oracle dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65147 --- Comment #7 from Alexey Lapshin --- (In reply to Jonathan Wakely from comment #5) > Author: redi > Date: Thu Mar 26 19:27:02 2015 > New Revision: 221703 > > URL: https://gcc.gnu.org/viewcvs?rev=221703&root=gcc&view=rev > Log: > PR libst

[Bug libstdc++/65147] alignment of std::atomic object is not correct

2015-03-26 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65147 Jonathan Wakely changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug libstdc++/65147] alignment of std::atomic object is not correct

2015-03-26 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65147 --- Comment #5 from Jonathan Wakely --- Author: redi Date: Thu Mar 26 19:27:02 2015 New Revision: 221703 URL: https://gcc.gnu.org/viewcvs?rev=221703&root=gcc&view=rev Log: PR libstdc++/62259 PR libstdc++/65147 * include/std/atomic (a

[Bug libstdc++/65147] alignment of std::atomic object is not correct

2015-03-23 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65147 --- Comment #4 from Jonathan Wakely --- I think std::atomic should increase the alignment of its T member. That will have the advantage of being layout-compatible with _Atomic T.

[Bug libstdc++/65147] alignment of std::atomic object is not correct

2015-03-23 Thread alexey.lapshin at oracle dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65147 --- Comment #3 from Alexey Lapshin --- (In reply to Jason Merrill from comment #2) > This does seem like a bug. What is a proper behavior for G++ in this case ? should it always align std::atomic object of size 8 at 8 bytes ? Or should G++ jus

[Bug libstdc++/65147] alignment of std::atomic object is not correct

2015-03-20 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65147 Jason Merrill changed: What|Removed |Added Keywords||ABI Status|UNCONFIRMED