This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [gcc-in-cxx] Fix top-level configury
- From: Richard Guenther <richard dot guenther at gmail dot com>
- To: Eric Botcazou <ebotcazou at adacore dot com>
- Cc: Ian Lance Taylor <iant at google dot com>, gcc-patches at gcc dot gnu dot org
- Date: Fri, 30 Jan 2009 23:11:27 +0100
- Subject: Re: [gcc-in-cxx] Fix top-level configury
- References: <m37i4cyf16.fsf@google.com> <200901301814.52655.ebotcazou@adacore.com>
On Fri, Jan 30, 2009 at 6:14 PM, Eric Botcazou <ebotcazou@adacore.com> wrote:
>> It also comments out some code which added
>> -fkeep-inlin-functions to stage 1. When building with C++ this breaks
>> the inline functions which are provided by <gmp.h>, as they wind up
>> getting included in many .o files leading to duplicate definition
>> errors at link time.
>
> This was added precisely because of that, i.e. because non-GCC compilers tend
> not to eliminate inline functions when not optimizing. So, if you plan to
> support other C++ compilers then G++, that's a step backwards.
It was added to help debugging IIRC.
Richard.
> --
> Eric Botcazou
>