https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69591

            Bug ID: 69591
           Summary: gcc.dg/and-1.c scan-assembler-not nand fails on
                    powerpc64-linux-gnu
           Product: gcc
           Version: 4.9.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
          Assignee: unassigned at gcc dot gnu.org
          Reporter: tiago.brusamarello at datacom dot ind.br
  Target Milestone: ---

Besides being resolved by https://gcc.gnu.org/bugzilla/show_bug.cgi?id=33512,
it still happens in 4.9.1 for powerpc64-linux-gnu:

Executing on host: powerpc64-unknown-linux-gnu-gcc
/opt/x-tools/powerpc64-unknown-linux-gnu_v1.0/test-suite/gcc/testsuite/gcc.dg/and-1.c
 -fno-diagnostics-show-caret -fdiagnostics-color=never   -O2 -S  -o and-1.s   
(timeout = 300)
spawn powerpc64-unknown-linux-gnu-gcc
/opt/x-tools/powerpc64-unknown-linux-gnu_v1.0/test-suite/gcc/testsuite/gcc.dg/and-1.c
-fno-diagnostics-show-caret -fdiagnostics-color=never -O2 -S -o and-1.s
PASS: gcc.dg/and-1.c (test for excess errors)
PASS: gcc.dg/and-1.c scan-assembler and
FAIL: gcc.dg/and-1.c scan-assembler-not nand

Assembler output:

        .file   "and-1.c"
        .section        ".toc","aw"
        .section        ".text"
        .align 2
        .p2align 4,,15
        .globl f
        .section        ".opd","aw"
        .align 3
f:
        .quad   .L.f,.TOC.@tocbase,0
        .previous
        .type   f, @function
.L.f:
        neg 9,3
        nand 9,9,3
        and 3,9,3
        extsw 3,3
        blr
        .long 0
        .byte 0,0,0,0,0,0,0,0
        .size   f,.-.L.f
        .ident  "GCC: (crosstool-NG 1.20.0) 4.9.1"

Reply via email to