https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82760
Marc Glisse changed:
What|Removed |Added
Status|ASSIGNED|RESOLVED
Resolution|---
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&root=gcc&view=rev
Log:
PR c++/82760 - memory corruption with aligned new.
* call
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&root=gcc&view=rev
Log:
PR c++/82760 - memory corruption with aligned new.
* call
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82760
Jason Merrill changed:
What|Removed |Added
Status|NEW |ASSIGNED
CC|
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 a way t
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82760
Marc Glisse changed:
What|Removed |Added
Status|UNCONFIRMED |NEW
Last reconfirmed|