This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: c/3711: va_arg + var size struct + typeof crash gcc 3.1
- From: rodrigc at gcc dot gnu dot org
- To: gcc-bugs at gcc dot gnu dot org, gcc-prs at gcc dot gnu dot org, nicola at brainstorm dot co dot uk, nobody at gcc dot gnu dot org
- Date: 15 Dec 2001 17:02:41 -0000
- Subject: Re: c/3711: va_arg + var size struct + typeof crash gcc 3.1
- Reply-to: rodrigc at gcc dot gnu dot org, gcc-bugs at gcc dot gnu dot org, gcc-prs at gcc dot gnu dot org, nicola at brainstorm dot co dot uk, nobody at gcc dot gnu dot org, gcc-gnats at gcc dot gnu dot org
Synopsis: va_arg + var size struct + typeof crash gcc 3.1
State-Changed-From-To: open->analyzed
State-Changed-By: rodrigc
State-Changed-When: Sat Dec 15 09:02:41 2001
State-Changed-Why:
With gcc 3.1 20011207, I get the following ICE
your code example:
x.c: In function `functionWithArgs':
x.c:24: Internal compiler error in instantiate_virtual_regs_1, at function.c:3873
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.
Problem goes away if I make the char x[] a fixed instead
of variable size.
Problem does not occur in gcc 3.0.3
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=3711