This is the mail archive of the
gcc-prs@gcc.gnu.org
mailing list for the GCC project.
Re: bootstrap/10472
- From: Wolfgang Bangerth <bangerth at ices dot utexas dot edu>
- To: nobody at gcc dot gnu dot org
- Cc: gcc-prs at gcc dot gnu dot org,
- Date: 29 Apr 2003 00:56:00 -0000
- Subject: Re: bootstrap/10472
- Reply-to: Wolfgang Bangerth <bangerth at ices dot utexas dot edu>
The following reply was made to PR bootstrap/10472; it has been noted by GNATS.
From: Wolfgang Bangerth <bangerth at ices dot utexas dot edu>
To: Giovanni Bajo <giovannibajo at libero dot it>
Cc: gcc-gnats at gcc dot gnu dot org, <gcc-bugs at gcc dot gnu dot org>
Subject: Re: bootstrap/10472
Date: Mon, 28 Apr 2003 19:54:55 -0500 (CDT)
> about PR/10472, maybe you can give me a hand: I have attacched to this mail
> the precompiled file that triggers the ICE. Can you try compiling this with
> a recent 3.4 (assuming you have one available) and see if you can reproduce
> the ICE? The full command line is written in the PR.
Yes, this triggers it:
----------------------
void * mempcpy (void *, const void *, unsigned);
static char *stpcpy (char *dest, const char *src);
void foo() {
stpcpy (mempcpy (stpcpy (stpcpy (0,0), 0), 0, 1), 0);
}
----------------------
g/y> ~/bin/gcc-3.4-pre/bin/gcc -O0 -c dcigettext.i
dcigettext.i:2: warning: `stpcpy' used but never defined
g/y> ~/bin/gcc-3.4-pre/bin/gcc -O -c dcigettext.i
dcigettext.i: In function `foo':
dcigettext.i:6: internal compiler error: in
instantiate_virtual_regs_lossage, at function.c:3782
I'll change the synopsis of the bug report shortly, to indicate that it is
not a bootstrap problem, but a problem in the middle-end.
W.
-------------------------------------------------------------------------
Wolfgang Bangerth email: bangerth at ices dot utexas dot edu
www: http://www.ices.utexas.edu/~bangerth/