This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: [RFC] Contributing tree-ssa to mainline
On Sat, 2004-01-17 at 09:07, Joseph S. Myers wrote:
> On Sat, 17 Jan 2004, Daniel Berlin wrote:
>
> > As Diego stated when SRA was committed, the following limitation exists:
> > /* Maximum number of fields that a structure should have to be
> > scalarized.
> > FIXME This limit has been arbitrarily set to 5. Experiment to find
> > a
> > sensible setting. */
> > #define MAX_NFIELDS_FOR_SRA 5
>
> Before the merge to mainline, please at least change hardcoded parameters
> like this to use --param (which does make experimenting with different
> values easier). I've understood ever since Mark added that option
> <http://gcc.gnu.org/ml/gcc-patches/2001-02/msg00800.html> that using it
> was the convention, it just hasn't been documented as such. OK to commit
> the following web page patch? (The beginner.html patch is because it
> seems no-one ever took up my suggestion in that thread to add converting
> existing parameters to the projects list, and I don't think they've all
> been done. Adding comments to parameters that for whatever reason
> shouldn't be converted to --param, saying so, would be useful.)
Yes, these patches to the docs are OK.
--
Mark Mitchell <mark@codesourcery.com>
CodeSourcery, LLC