Re: C++ PATCH for C++14 sized deallocation

2015-10-30 Thread Jason Merrill
On 12/15/2014 01:30 PM, Jason Merrill wrote: This patch implements the last remaining language feature for C++14, global sized deallocation. C++ has always had sized deallocation at class scope, but didn't for deletes that use the global operator delete. The support can be controlled separately

Re: [PATCH] Fix C++ PATCH for C++14 sized deallocation

2014-12-16 Thread Jason Merrill
OK, thanks. Jason

[PATCH] Fix C++ PATCH for C++14 sized deallocation

2014-12-16 Thread Jakub Jelinek
On Tue, Dec 16, 2014 at 05:54:04PM +0100, Jakub Jelinek wrote: > On Tue, Dec 16, 2014 at 10:16:42AM -0500, Jason Merrill wrote: > > On 12/16/2014 05:09 AM, Andreas Schwab wrote: > > >covariant4.C:(.text._ZN5ModelD2Ev[_ZN5ModelD5Ev]+0x1e): undefined > > >reference to `operator delete(void*, unsigne

Re: C++ PATCH for C++14 sized deallocation

2014-12-16 Thread Jakub Jelinek
On Tue, Dec 16, 2014 at 10:16:42AM -0500, Jason Merrill wrote: > On 12/16/2014 05:09 AM, Andreas Schwab wrote: > >covariant4.C:(.text._ZN5ModelD2Ev[_ZN5ModelD5Ev]+0x1e): undefined reference > >to `operator delete(void*, unsigned int)'. > > Can you determine why this reference isn't being satisfie

Re: C++ PATCH for C++14 sized deallocation

2014-12-16 Thread Andreas Schwab
Jason Merrill writes: > On 12/16/2014 05:09 AM, Andreas Schwab wrote: >> covariant4.C:(.text._ZN5ModelD2Ev[_ZN5ModelD5Ev]+0x1e): undefined reference >> to `operator delete(void*, unsigned int)'. > > Can you determine why this reference isn't being satisfied by libstdc++? $ objdump -tC x86_64-su

Re: C++ PATCH for C++14 sized deallocation

2014-12-16 Thread Jason Merrill
On 12/16/2014 05:09 AM, Andreas Schwab wrote: covariant4.C:(.text._ZN5ModelD2Ev[_ZN5ModelD5Ev]+0x1e): undefined reference to `operator delete(void*, unsigned int)'. Can you determine why this reference isn't being satisfied by libstdc++? Jason

Re: C++ PATCH for C++14 sized deallocation

2014-12-16 Thread Andreas Schwab
spawn /daten/aranym/gcc/gcc-20141216/Build/gcc/testsuite/g++/../../xg++ -B/daten/aranym/gcc/gcc-20141216/Build/gcc/testsuite/g++/../../ /daten/aranym/gcc/gcc-20141216/gcc/testsuite/g++.dg/abi/covariant4.C -fno-diagnostics-show-caret -fdiagnostics-color=never -nostdinc++ -I/daten/aranym/gcc/gcc-

C++ PATCH for C++14 sized deallocation

2014-12-15 Thread Jason Merrill
This patch implements the last remaining language feature for C++14, global sized deallocation. C++ has always had sized deallocation at class scope, but didn't for deletes that use the global operator delete. The support can be controlled separately from the -std level with the -fsized-deall