Launchpad has imported 3 comments from the remote bug at https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77983.
If you reply to an imported comment from within Launchpad, your comment will be sent to the remote bug automatically. Read more about Launchpad's inter-bugtracker facilities at https://documentation.ubuntu.com/launchpad/user/reference/bugs/multi-project-bugs/about-multi-project-bugs/#bugs-in-external-trackers. ------------------------------------------------------------------------ On 2016-10-14T08:37:13+00:00 Doko-v wrote: Created attachment 39808 test case [forwarded from https://launchpad.net/bugs/1577891] seen with 5, 6 and trunk, works with 4.8 and 4.9. $ g++-4.8 -O1 -g -ggdb test.cpp && ./a.out Before:000102030405060708090a0b0c0d0e0f10111213 After :0000000000000000000000000000000000000000 $ g++-6 -O1 -g -ggdb test.cpp && ./a.out Before:000102030405060708090a0b0c0d0e0f10111213 After :000102030405060708090a0b0c0d0e0f10111213 $ g++-6 -O0 -g -ggdb test.cpp && ./a.out Before:000102030405060708090a0b0c0d0e0f10111213 After :0000000000000000000000000000000000000000 Reply at: https://bugs.launchpad.net/ubuntu/+source/gcc-5/+bug/1577891/comments/3 ------------------------------------------------------------------------ On 2016-10-14T08:50:49+00:00 Marxin-m wrote: Hi. Please look at documentation for -flifetime-dse, btw.: g++ pr77983.cpp -O1 -flifetime-dse=0 && ./a.out Before:000102030405060708090a0b0c0d0e0f10111213 After :0000000000000000000000000000000000000000 I'm closing as invalid. Reply at: https://bugs.launchpad.net/ubuntu/+source/gcc-5/+bug/1577891/comments/4 ------------------------------------------------------------------------ On 2016-10-14T12:55:27+00:00 Pinskia wrote: Use something different than memset is the other fix. There is also a thread in glibc mailing list about a secure memset Reply at: https://bugs.launchpad.net/ubuntu/+source/gcc-5/+bug/1577891/comments/5 ** Changed in: gcc Status: Unknown => Invalid ** Changed in: gcc Importance: Unknown => Medium -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1577891 Title: Placement new destructor call optimized out To manage notifications about this bug go to: https://bugs.launchpad.net/gcc/+bug/1577891/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
