------- Comment #1 from jakub at gcc dot gnu dot org  2009-09-14 08:18 -------
Created an attachment (id=18580)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=18580&action=view)
gcc45-pr41353.patch

Here is a small patch that allows us to get at least a little bit toward fixing
the first testcase.  At *.expand time it fills the location with the pseudos of
the PARM_DECL, but as it isn't used, that pseudo is optimized away very soon.
Either at the point where the pseudo is killed we should handle it (know that
PARM_DECLs initially live in the incoming reg/mem), or perhaps already this
spot should know about it and handle PARM_DECLs when there is no partition
immediately using DECL_INCOMING_RTL.


-- 


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

Reply via email to