[Bug rtl-optimization/44194] struct returned by value generates useless stores
xinliangli at gmail dot com
gcc-bugzilla@gcc.gnu.org
Sat Jun 18 16:34:00 GMT 2011
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44194
--- Comment #31 from davidxl <xinliangli at gmail dot com> 2011-06-18 16:32:32 UTC ---
(In reply to comment #30)
> > Is Easwaran's patch a reasonable way to go?
>
> So, in the end, you weren't talking about the general situation, were you?
> Let's try first to avoid spilling to memory, if possible.
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.
Again, I think these two things are not in conflict.
David
More information about the Gcc-bugs
mailing list