c/3711: ICE in instantiate_virtual_regs_1, at function.c:3880
Richard Henderson
rth@redhat.com
Mon Mar 25 16:26:00 GMT 2002
The following reply was made to PR c/3711; it has been noted by GNATS.
From: Richard Henderson <rth@redhat.com>
To: gcc-gnats@gcc.gnu.org, nicola@brainstorm.co.uk, gcc-bugs@gcc.gnu.org
Cc:
Subject: Re: c/3711: ICE in instantiate_virtual_regs_1, at function.c:3880
Date: Mon, 25 Mar 2002 16:25:56 -0800
>
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~
More information about the Gcc-prs
mailing list