This is the mail archive of the
mailing list for the GCC project.
Re: C++ PATCH: Fix -O3
- To: dan at www dot cgsoftware dot com
- Subject: Re: C++ PATCH: Fix -O3
- From: Mark Mitchell <mark at codesourcery dot com>
- Date: Thu, 03 May 2001 22:27:58 -0700
- Cc: gcc at gcc dot gnu dot org
- Organization: CodeSourcery, LLC
- References: <20010503214817Z.firstname.lastname@example.org><Pine.LNX.email@example.com>
If the function we are considering inlining is too large, don't inline it
If the function we are considering inlining would make the number of
inlined insns over the course of entire compilation too large, don't
I agree that this would be wrong, but I don't think it behaves this
way. There's no global data here.
The inline_data structure is reset at the beginning of
the inlining pass for each function.
You'll have to show an example.
Mark Mitchell firstname.lastname@example.org
CodeSourcery, LLC http://www.codesourcery.com