Re: libcpp PATCH to avoid deprecated copy assignment

2018-05-24 Thread Gerald Pfeifer
On Wed, 23 May 2018, Jason Merrill wrote: > Great, applied. Thank you! Gerald

Re: libcpp PATCH to avoid deprecated copy assignment

2018-05-23 Thread Jason Merrill
On Wed, May 23, 2018 at 1:33 AM, Gerald Pfeifer wrote: > On Mon, 21 May 2018, Jason Merrill wrote: >>> broke bootstrap on systems using libc++ instead of libstdc++ > >>> In file included from /usr/include/c++/v1/new:91: >>> /usr/include/c++/v1/exception:180:5: error: no member named 'fancy_abo

Re: libcpp PATCH to avoid deprecated copy assignment

2018-05-22 Thread Gerald Pfeifer
On Mon, 21 May 2018, Jason Merrill wrote: >> broke bootstrap on systems using libc++ instead of libstdc++ >> In file included from /usr/include/c++/v1/new:91: >> /usr/include/c++/v1/exception:180:5: error: no member named 'fancy_abort' >> in namespace 'std::__1'; did you mean simply 'fancy_ab

Re: libcpp PATCH to avoid deprecated copy assignment

2018-05-21 Thread Jason Merrill
On Mon, May 21, 2018 at 9:25 PM, Gerald Pfeifer wrote: > Hi Jason, > > I'm afraid this change > > 2018-05-17 Jason Merrill > > * line-map.c (linemap_init): Use placement new. > * system.h: #include . > > broke bootstrap on systems using libc++ instead of libstdc++ (such > as n

Re: libcpp PATCH to avoid deprecated copy assignment

2018-05-21 Thread Gerald Pfeifer
Hi Jason, I'm afraid this change 2018-05-17 Jason Merrill * line-map.c (linemap_init): Use placement new. * system.h: #include . broke bootstrap on systems using libc++ instead of libstdc++ (such as newer versions of FreeBSD, reported on FreeBSD 11 but could also be notica

libcpp PATCH to avoid deprecated copy assignment

2018-05-17 Thread Jason Merrill
Another case of assignment from a value-initialized temporary, which in this case ought to be placement new. Tested x86_64-pc-linux-gnu, applying to trunk. commit ccd4031ebdabf02fe0d54bb43a68c0fa72ec2708 Author: Jason Merrill Date: Thu May 17 17:16:28 2018 -0400 * line-map.c (linem