This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [gcc-in-cxx] Fix top-level configury


> 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.

-- 
Eric Botcazou


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]