This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: fix 21529


On Thu, 2005-08-04 at 19:47 -0700, Richard Henderson wrote:
> I'm pretty sure there's more than one PR about SRA deciding
> to instantiate all of the members of a structure, and there
> being *way* too many of them for that to be worthwhile. 


If you really wanted to do slightly better, you could probably reuse the
"used_portions" information that the structure variable creation stuff
uses, in order to give the instantiation heuristics a fighting chance on
large structures :)

After all, we shouldn't be adding random uses of structure fields that
weren't there before, so the information should still be
valid/conservatively correct if you just kept it from there.







Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]