Re: [PATCH] Use INCLUDE_xxx macros in gcov.c for pulling in standard C++ headers

2017-01-22 Thread Gerald Pfeifer
On Sun, 22 Jan 2017, Jan Hubicka wrote: >> Below you find Dimitry's patch with a ChangeLog I created. Bootstrapped >> on x86_64-unknown-freebsd11.0, and I can take care of committing. >> 2017-01-21 Dimitry Andric >> >> * gcov.c (INCLUDE_ALGORITHM): Define. >> (INCLUDE_VECTOR): Defin

Re: [PATCH] Use INCLUDE_xxx macros in gcov.c for pulling in standard C++ headers

2017-01-22 Thread Jan Hubicka
> Honza, Nathan, > > On Sat, 21 Jan 2017, Dimitry Andric wrote: > > As discussed with the FreeBSD gcc ports maintainer [1], building trunk > > gcc with libc++ requires standard C++ headers to be included *before* > > gcc/system.h, otherwise the redefinition of abort() to fancy_abort() > > will cau

Re: [PATCH] Use INCLUDE_xxx macros in gcov.c for pulling in standard C++ headers

2017-01-21 Thread Gerald Pfeifer
Honza, Nathan, On Sat, 21 Jan 2017, Dimitry Andric wrote: > As discussed with the FreeBSD gcc ports maintainer [1], building trunk > gcc with libc++ requires standard C++ headers to be included *before* > gcc/system.h, otherwise the redefinition of abort() to fancy_abort() > will cause trouble. >

[PATCH] Use INCLUDE_xxx macros in gcov.c for pulling in standard C++ headers

2017-01-21 Thread Dimitry Andric
As discussed with the FreeBSD gcc ports maintainer [1], building trunk gcc with libc++ requires standard C++ headers to be included *before* gcc/system.h, otherwise the redefinition of abort() to fancy_abort() will cause trouble. In r235362, most gcc C++ sources were updated to define INCLUDE_xxx