Re: [C++ PATCH] Fix C++ violation in g++.jason/init3.C (PR testsuite/63299)

2016-09-20 Thread Jeff Law
On 09/19/2016 04:04 PM, Jakub Jelinek wrote: Hi! As valgrind reports, this testcase allocates the string with new [], but deallocates with delete str. Fixed thusly, regtested on x86_64-linux and i686-linux, ok for trunk? 2016-09-19 Maxim Ostapenko Jakub Jelinek PR tes

[C++ PATCH] Fix C++ violation in g++.jason/init3.C (PR testsuite/63299)

2016-09-19 Thread Jakub Jelinek
Hi! As valgrind reports, this testcase allocates the string with new [], but deallocates with delete str. Fixed thusly, regtested on x86_64-linux and i686-linux, ok for trunk? 2016-09-19 Maxim Ostapenko Jakub Jelinek PR testsuite/63299 * g++.old-deja/g++.jason/i