This is the mail archive of the gcc-bugs@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: c/3711: ICE in instantiate_virtual_regs_1, at function.c:3880


 > 
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=3711

Incidentally, I believe this test case to be in error.  The type of the 
argument in the caller and the callee is different.  In particular, the 
size of the argument is static in the caller and variable in the callee. 
 Whether or not an argument has variable size affects calling 
conventions, and thus affects how the callee should find the argument in 
varargs.

A correct test case would have the caller have a variable sized 
structure as well.


r~


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