[Bug c++/63736] gcc generated program with segfault on atomic exchange when the atomic variable is a member of a struct allocated with make_shared

2014-11-06 Thread leandrosansilva at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63736 --- Comment #3 from Leandro Santiago --- I've just realized the gcc I am using is 4.8.1 instead of 4.8.1 as initially reported.

[Bug c++/63736] gcc generated program with segfault on atomic exchange when the atomic variable is a member of a struct allocated with make_shared

2014-11-04 Thread leandrosansilva at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63736 --- Comment #2 from Leandro Santiago --- I tested the same program again with gcc from master branch from today and it worked as expected, generated a runnable executable. Is it possible to backport whichever the solution is to gcc 4.8? [1] CO

[Bug c++/63736] gcc generated program with segfault on atomic exchange when the atomic variable is a member of a struct allocated with make_shared

2014-11-04 Thread leandrosansilva at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63736 --- Comment #1 from Leandro Santiago --- I forgot to mention I am using Ubuntu 12.04 64-bit on a i7 machine and kernel 3.8.0.

[Bug c++/63736] New: gcc generated program with segfault on atomic exchange when the atomic variable is a member of a struct allocated with make_shared

2014-11-04 Thread leandrosansilva at gmail dot com
Version: 4.8.2 Status: UNCONFIRMED Severity: blocker Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: leandrosansilva at gmail dot com Created attachment 33882 --> https://gcc.gnu.org/bugzi