This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: c/3711: ICE in instantiate_virtual_regs_1, at function.c:3880
- From: Richard Henderson <rth at redhat dot com>
- To: gcc-gnats at gcc dot gnu dot org, nicola at brainstorm dot co dot uk, gcc-bugs at gcc dot gnu dot org
- Date: Mon, 25 Mar 2002 16:25:56 -0800
- Subject: 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~