[Bug c++/91859] Using destroying delete should not clobber stores to the object

2021-06-01 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91859 Jason Merrill changed: What|Removed |Added Target Milestone|--- |11.2 Status|NEW

[Bug c++/91859] Using destroying delete should not clobber stores to the object

2021-06-01 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91859 --- Comment #8 from CVS Commits --- The releases/gcc-11 branch has been updated by Jason Merrill : https://gcc.gnu.org/g:ee3edeb01eca1cc8d7ebe777b4adb333f0c1118a commit r11-8495-gee3edeb01eca1cc8d7ebe777b4adb333f0c1118a Author: Jason Merrill

[Bug c++/91859] Using destroying delete should not clobber stores to the object

2021-06-01 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91859 --- Comment #7 from CVS Commits --- The master branch has been updated by Jason Merrill : https://gcc.gnu.org/g:cf2b7020ee8e9745ede527b0a3b2e0ffbafd492b commit r12-1145-gcf2b7020ee8e9745ede527b0a3b2e0ffbafd492b Author: Jason Merrill Date:

[Bug c++/91859] Using destroying delete should not clobber stores to the object

2021-05-20 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91859 --- Comment #6 from Jonathan Wakely --- Yes, but those optimizations are just doing what they are designed to do. I suspect that the bug is due to the front end inserting a CLOBBER that says it's ok for those optimizations to do that.

[Bug c++/91859] Using destroying delete should not clobber stores to the object

2021-05-19 Thread josephcsible at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91859 --- Comment #5 from Joseph C. Sible --- The real problem mentioned in comment 2 still happens as of GCC 11.1. I've narrowed it down somewhat to the optimization flags "-Og -ftree-dse -ftree-pta". Removing any one of those will make it behave

[Bug c++/91859] Using destroying delete should not clobber stores to the object

2019-09-25 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91859 Jonathan Wakely changed: What|Removed |Added CC||jason at gcc dot gnu.org