On 05/11/2015 02:01 PM, Jason Merrill wrote:
On 05/11/2015 12:57 PM, Jason Merrill wrote:
On 05/11/2015 08:03 AM, Manuel López-Ibáñez wrote:
My preference would be to replace the static with a pointer and
placement-new with proper new and delete
Actually, on second thought, there really doesn't seem to be a need for
that. The patch should be OK; if it doesn't work I'd like to know why.
I think the existing pattern is just a holdover from the C days.
So go ahead and apply the patch. If you would also make the similar fix
to other front ends, that would be great, too.
Jason