This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Solaris 9/Intel comparison failure on current trunk
- To: gcc-bugs at gcc dot gnu dot org
- Subject: Solaris 9/Intel comparison failure on current trunk
- From: Rainer Orth <ro at TechFak dot Uni-Bielefeld dot DE>
- Date: Mon, 24 Sep 2001 14:39:46 +0200 (MEST)
I've just tried to bootstrap gcc 3.1 20010921 on i386-pc-solaris2.9, using
cc from Forté 6 Update 2 as bootstrap compiler. With a patch from Richard
Henderson to avoid emitting .8byte (which Sun as doesn't recognize),
bootstrap stopped in the make compare stage:
Bootstrap comparison failure!
i386.o differs
f/expr.o differs
f/stb.o differs
Running the stage1 and stage2 compilers manually with -save-temps, it turns
out that all failures are of the same kind: the .i files are unchanged, but
.s files show an additional .align 4 before a local label:
--- stage2/i386.s Mon Sep 24 14:14:26 2001
+++ stage3/i386.s Mon Sep 24 14:13:33 2001
@@ -7354,10 +7354,11 @@ sse_comparison_operator:
.LM606:
movl $1, %eax
.LBE103:
.stabn 68,0,2519,.LM607-sse_comparison_operator
.LM607:
+ .align 4
.L773:
leave
ret
.LBB104:
.align 4
@@ -7749,10 +7750,11 @@ promotable_binary_operator:
cmpl $1, ix86_cpu
seta %al
movzbl %al, %eax
.stabn 68,0,2621,.LM651-promotable_binary_operator
.LM651:
+ .align 4
.L838:
leave
ret
.align 4
.L846:
--- stage2/f/expr.s Mon Sep 24 14:16:29 2001
+++ stage3/f/expr.s Mon Sep 24 14:15:43 2001
@@ -16479,10 +16479,11 @@ ffeexpr_cb_comma_i_2_:
.align 4
.L1930:
.stabn 68,0,7938,.LM1852-ffeexpr_cb_comma_i_2_
.LM1852:
movl $56, %ebx
+ .align 4
.L1928:
.stabn 68,0,7954,.LM1853-ffeexpr_cb_comma_i_2_
.LM1853:
movl -16(%ebp), %edx
cmpl $24, 20(%edx)
@@ -16729,10 +16730,11 @@ ffeexpr_cb_comma_i_3_:
.align 4
.L1951:
.stabn 68,0,7994,.LM1876-ffeexpr_cb_comma_i_3_
.LM1876:
movl $56, %ebx
+ .align 4
.L1949:
.stabn 68,0,8010,.LM1877-ffeexpr_cb_comma_i_3_
.LM1877:
movl -16(%ebp), %edx
movl 20(%edx), %eax
@@ -17183,10 +17185,11 @@ ffeexpr_cb_comma_i_5_:
.align 4
.L2003:
.stabn 68,0,8116,.LM1925-ffeexpr_cb_comma_i_5_
.LM1925:
movb $1, -17(%ebp)
+ .align 4
.L2001:
.stabn 68,0,8132,.LM1926-ffeexpr_cb_comma_i_5_
.LM1926:
call ffebld_pool_pop
.stabn 68,0,8133,.LM1927-ffeexpr_cb_comma_i_5_
--- stage2/f/stb.s Mon Sep 24 14:18:19 2001
+++ stage3/f/stb.s Mon Sep 24 14:17:49 2001
@@ -17705,10 +17705,11 @@ ffestb_R8091_:
pushl $20
pushl ffesta_output_pool
call ffeexpr_rhs
.stabn 68,0,8548,.LM2273-ffestb_R8091_
.LM2273:
+ .align 4
.L1944:
movl -4(%ebp), %ebx
leave
ret
.align 4
Any suggestions on how to further debug this?
Rainer
-----------------------------------------------------------------------------
Rainer Orth, Faculty of Technology, Bielefeld University
Email: ro@TechFak.Uni-Bielefeld.DE