Re: C++ PATCH for c++/61659 (undefined symbol with devirtualization)

2014-07-01 Thread Jason Merrill
On 07/01/2014 02:45 AM, Andreas Schwab wrote: I'm getting this ABI change, is that OK? -FUNC:_ZNK10__cxxabiv117__pbase_type_info15__pointer_catchEPKS0_PPvj@@CXXABI_1.3 Hmm, probably not, thanks. Jason

Re: C++ PATCH for c++/61659 (undefined symbol with devirtualization)

2014-07-01 Thread Andreas Schwab
Jason Merrill writes: > libstdc++-v3/ > * libsupc++/cxxabi.h (class __pbase_type_info): __pointer_catch > is pure, not inline. I'm getting this ABI change, is that OK? -FUNC:_ZNK10__cxxabiv117__pbase_type_info15__pointer_catchEPKS0_PPvj@@CXXABI_1.3 Andreas. -- Andreas Schwab,

C++ PATCH for c++/61659 (undefined symbol with devirtualization)

2014-06-30 Thread Jason Merrill
When we're devirtualizing, we need to make sure that any virtual functions are synthesized or instantiated even if the vtable isn't going to be emitted. My earlier patches for 53808 handled this for synthesized destructors, but the issue is more general. Tested x86_64-pc-linux-gnu, applying t