This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [C++ patch] warnings for -Winline
> On Tue, 9 Sep 2003 20:46:29 +0200, Jan Hubicka <jh@suse.cz> wrote:
>
> > Any idea why we prohibit inlining for functions that need instantiating?
> > It produces crazy warnins and removing the test appears to cause no harm.
>
> We don't. The test you remove in the patch is to avoid instantiating a
> function if we don't expect it to be inlinable anyway, to save compilation
> time.
OK, Should I keep it and add some kind of warning? What would the
warning say?
Honza
>
> Jason