This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug bootstrap/45658] New: [4.6 regression] Comparison failure in gcc/ada/ali.o on Solaris 2/SPARC


Even with PR bootstrap/45611 fixed, I get a comparison failure on
sparc-sun-solaris2.10:

Comparing stages 2 and 3
Bootstrap comparison failure!
gcc/ada/ali.o differs
make[2]: *** [compare] Error 1

Comparing the stage 2 and 3 assembler output, I find:

--- prev-gcc/ali.s      2010-09-13 16:02:34.927594820 +0200
+++ gcc/ali.s   2010-09-13 15:59:59.206803966 +0200
@@ -12677,6 +12677,9 @@
 .LLC68:
        .ascii  "\" found in file \""
        .align 8
+.LLC69:
+       .ascii  "00000000000000"
+       .align 8
 .LLC62:
        .ascii  "00000000"
        .align 4
@@ -12695,9 +12698,6 @@
 .LLC7:
        .long   1
        .long   17
-       .align 8
-.LLC69:
-       .ascii  "00000000000000"
        .section        ".text"
        .align 4
        .global ali__scan_ali
@@ -15059,7 +15059,7 @@
        stb     %i4, [%fp-1273]
        .loc 1 690 0
        ld      [%g2+4], %g3
-       cmp     %g1, %g3
+       cmp     %g3, %g1
        be,pn   %icc, .LL1369
         add    %g1, 1, %g3
        .loc 1 694 0
@@ -15198,7 +15198,7 @@
 .LLBB1750:
 .LLBB1749:
        .loc 1 690 0
-       cmp     %g1, %g4
+       cmp     %g4, %g1
        bne,a,pt %icc, .LL1566
         add    %g1, 1, %g1
 .LL1515:
@@ -18154,8 +18154,10 @@
        call    memcpy, 0
         mov    14, %o2
        mov     48, %i5
-       stb     %i5, [%fp-1474]
+       sethi   %hi(.LLC69+1), %g1
        stb     %i5, [%fp-1275]
+       ldub    [%g1+%lo(.LLC69+1)], %g1
+       stb     %g1, [%fp-1474]
 .LL1312:
        .loc 1 1988 0 discriminator 1
        ld      [%fp-1380], %g2

I've got to start reghunting for the culprit patch.


-- 
           Summary: [4.6 regression] Comparison failure in gcc/ada/ali.o on
                    Solaris 2/SPARC
           Product: gcc
           Version: 4.6.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: bootstrap
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: ro at gcc dot gnu dot org
 GCC build triplet: sparc-sun-solaris2*
  GCC host triplet: sparc-sun-solaris2*
GCC target triplet: sparc-sun-solaris2*


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45658


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]