------- Comment #4 from jakub at gcc dot gnu dot org  2009-09-03 11:58 -------
Created an attachment (id=18472)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=18472&action=view)
gcc45-pr41238.patch

Here is an untested fix (well, tested on the provided testcase, but nothing
else).  The function.c change is only needed for arguments passed by invisible
reference which don't have the pointers passed in registers, but on the stack
(say long double argument on alpha or sparc -m32 with -mlong-double-128 which
has 6 or so other integral arguments before it).  Saying the stack slot
contains the parameter is certainly wrong in that case.


-- 


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

Reply via email to