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