[Bug c++/82760] Incorrect code generated for aligned new

2018-08-23 Thread glisse at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82760 Marc Glisse changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/82760] Incorrect code generated for aligned new

2018-01-17 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82760 --- Comment #4 from Jason Merrill --- Author: jason Date: Wed Jan 17 18:07:45 2018 New Revision: 256806 URL: https://gcc.gnu.org/viewcvs?rev=256806=gcc=rev Log: PR c++/82760 - memory corruption with aligned new. * call.c

[Bug c++/82760] Incorrect code generated for aligned new

2017-11-29 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82760 --- Comment #3 from Jason Merrill --- Author: jason Date: Wed Nov 29 21:01:23 2017 New Revision: 255253 URL: https://gcc.gnu.org/viewcvs?rev=255253=gcc=rev Log: PR c++/82760 - memory corruption with aligned new. * call.c

[Bug c++/82760] Incorrect code generated for aligned new

2017-11-29 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82760 Jason Merrill changed: What|Removed |Added Status|NEW |ASSIGNED CC|

[Bug c++/82760] Incorrect code generated for aligned new

2017-10-28 Thread glisse at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82760 --- Comment #2 from Marc Glisse --- In cp/call.c: - (**args)[0] = *size; + const_cast((*cand->args)[0]) = *size; since in the aligned case we are using a copy align_args of the arguments. Of course it should be done in

[Bug c++/82760] Incorrect code generated for aligned new

2017-10-28 Thread glisse at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82760 Marc Glisse changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|