This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: [gcc-3_4-basic-improvements] Mainline merge as of 2002-09-17
- From: "H. J. Lu" <hjl at lucon dot org>
- To: Richard Henderson <rth at redhat dot com>,Zack Weinberg <zack at codesourcery dot com>, gcc at gcc dot gnu dot org
- Date: Tue, 17 Sep 2002 19:55:03 -0700
- Subject: Re: [gcc-3_4-basic-improvements] Mainline merge as of 2002-09-17
- References: <20020917230450.GD13341@codesourcery.com> <20020918024503.GA24002@redhat.com>
On Tue, Sep 17, 2002 at 07:45:03PM -0700, Richard Henderson wrote:
> On Tue, Sep 17, 2002 at 04:04:50PM -0700, Zack Weinberg wrote:
> > An i686-linux bootstrap fails with a comparison failure; mainline at
> > the tag does not. I believe this to be caused by the recent real.h
> > rewrite in some edge condition.
>
> I do not see an boostrap comparison failure. I'm starting with
>
> gcc version 3.2 20020520 (experimental)
> GNU assembler 2.12.90 20020520
>
I did. As of Tue Sep 17 09:50:59 PDT 2002, I got
Bootstrap comparison failure!
ggc-common.o differs
make[3]: *** [compare] Error 1
on mainline. Here is the diff between stage1 and stage2.
H.J.
--
--- 1.s Tue Sep 17 19:53:48 2002
+++ 2.s Tue Sep 17 19:53:39 2002
@@ -634,16 +634,16 @@ ggc_print_common_statistics:
cmpl $255, %ebx
jle .L103
.loc 1 221 0
- movl 4096(%esi), %edx
- movl $32, %eax
- cmpl $10239, %edx
+ movl 4096(%esi), %eax
+ movl $32, %edx
+ cmpl $10239, %eax
jbe .L105
- cmpl $10485760, %edx
- sbbl %eax, %eax
- andl $30, %eax
- addl $77, %eax
+ cmpl $10485760, %eax
+ sbbl %edx, %edx
+ andl $30, %edx
+ addl $77, %edx
.L105:
- movl %eax, 20(%esp)
+ movl %edx, 20(%esp)
movl 4096(%esi), %eax
cmpl $10239, %eax
movl %eax, %edx
@@ -731,16 +731,16 @@ ggc_print_common_statistics:
cmpl $162, %ebx
jle .L125
.loc 1 241 0
- movl 4100(%esi), %edx
- movl $32, %eax
- cmpl $10239, %edx
+ movl 4100(%esi), %eax
+ movl $32, %edx
+ cmpl $10239, %eax
jbe .L127
- cmpl $10485760, %edx
- sbbl %eax, %eax
- andl $30, %eax
- addl $77, %eax
+ cmpl $10485760, %eax
+ sbbl %edx, %edx
+ andl $30, %edx
+ addl $77, %edx
.L127:
- movl %eax, 20(%esp)
+ movl %edx, 20(%esp)
movl 4100(%esi), %eax
cmpl $10239, %eax
movl %eax, %edx