[Bug rtl-optimization/44194] struct returned by value generates useless stores

ebotcazou at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Jun 20 15:28:00 GMT 2011


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44194

--- Comment #33 from Eric Botcazou <ebotcazou at gcc dot gnu.org> 2011-06-20 15:27:06 UTC ---
> I think these two are totally independent of each other -- one should not be
> gated against each other. If Eawaran's approach is completely flawed, that is
> different story.  With this change, we at least make incremental improvement.  
> Not familiar with the rtl expander, but I guess the spilling was there probably
> for a deeper reason. If you have an insight, you can of course point it out.

See comment #22.  It's an incremental improvement, but maybe we can avoid
wasting time and memory by creating RTXes and Trees that will be thrown away
immediately after.  I don't really see what we risk by trying.



More information about the Gcc-bugs mailing list