This is the mail archive of the
mailing list for the GCC project.
Re: [RFC] Contributing tree-ssa to mainline
On Jan 17, 2004, at 9:53 AM, Florian Weimer wrote:
Daniel Berlin wrote:Hmmm. Interesting.
As Diego stated when SRA was committed, the following limitation
/* Maximum number of fields that a structure should have to be
FIXME This limit has been arbitrarily set to 5. Experiment to
sensible setting. */
#define MAX_NFIELDS_FOR_SRA 5
This was done, IIRC, to avoid severely increased register pressure.
If you want SRA to do something on your structure, you'll need to
increase that limit
If I go down to two fields/tuples of length two, the optimization
doesn't kick in, either. 8-(
Can you file a bug report with this testcase (the length 2, which
*should* be taken care of already), so it can be tracked?