> I see the original rationale for inhibiting creation of subvariables > on aggregates here: > > http://gcc.gnu.org/ml/fortran/2006-01/msg00195.html > > But I don't think, memory wise, it should apply to complex types. > This patch will cause the clearring of "t" to be redundant on mainline. > On mem-ssa it doesn't matter, cause we get the case wrong anyhow, but it's > best to describe what's going on-- while I'm at it :). > > How does this look?
Actually the patch referenced above was refered as a hack and really should reverted if the memory usage in general is fixed. In fact that patch makes GCC miss that a read is done if the address is taken so I stand by that above patch should be instead reverted. -- Pinski