This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: [lno] Bootstrap failure on Alpha due to miscompilation
- From: Zdenek Dvorak <rakdver at atrey dot karlin dot mff dot cuni dot cz>
- To: Falk Hueffner <hueffner at informatik dot uni-tuebingen dot de>
- Cc: gcc at gcc dot gnu dot org, pop at cri dot ensmp dot fr,Zdenek Dvorak <rakdver at atrey dot karlin dot mff dot cuni dot cz>
- Date: Tue, 6 Jul 2004 15:36:50 +0200
- Subject: Re: [lno] Bootstrap failure on Alpha due to miscompilation
- References: <87wu1izb95.fsf@informatik.uni-tuebingen.de>
Hello,
> lno fails to bootstrap on Alpha for several days now; it segfaults
> while compiling libgcc in the second stage, so apparently it
> miscompiles itself.
>
> The only test suite failure that does not already occur on mainline
> Alpha or on lno ia64 (according to gcc-testresults) is
> gcc.c-torture/execute/961017-1.c. There, lno compiles at -O and above
>
> unsigned char z = 0;
> do ; while (--z > 0);
>
> to a loop over the whole 64 bit space:
>
> clr $1
> [...]
> $L2: lda $1,1($1)
> bne $1,$L2
>
> I'm not sure, however, whether it is this problem that causes the
> bootstrap failure (people don't often rely on unsigned wrapping
> semantics in loops...).
I will have a look at this testsuite failure; however I do not have an
access to the Alpha machine just now, so I won't be of much help with
the bootstrap problem.
Zdenek