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

            Bug ID: 69590
           Summary: Test script tries to compile source code with
                    "-mthumb" option when running test gcc.dg/binop-xor1.c
                    for powerpc64
           Product: gcc
           Version: 4.9.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: testsuite
          Assignee: unassigned at gcc dot gnu.org
          Reporter: tiago.brusamarello at datacom dot ind.br
  Target Milestone: ---

When running the test suite for powerpc64 the "gcc.dg/binop-xor1.c" test fails
with the following output:

Executing on host: powerpc64-unknown-linux-gnu-gcc
/opt/x-tools/powerpc64-unknown-linux-gnu_v1.0/test-suite/gcc/testsuite/gcc.dg/binop-xor1.c
 -fno-diagnostics-show-caret -fdiagnostics-color=never   -O2
-fdump-tree-optimized -S  -o binop-xor1.s    (timeout = 300)
spawn powerpc64-unknown-linux-gnu-gcc
/opt/x-tools/powerpc64-unknown-linux-gnu_v1.0/test-suite/gcc/testsuite/gcc.dg/binop-xor1.c
-fno-diagnostics-show-caret -fdiagnostics-color=never -O2 -fdump-tree-optimized
-S -o binop-xor1.s
PASS: gcc.dg/binop-xor1.c (test for excess errors)
Executing on host: powerpc64-unknown-linux-gnu-gcc arm_cortex_m19028.c 
-fno-diagnostics-show-caret -fdiagnostics-color=never  -mthumb -S  -o
arm_cortex_m19028.s    (timeout = 300)
spawn powerpc64-unknown-linux-gnu-gcc arm_cortex_m19028.c
-fno-diagnostics-show-caret -fdiagnostics-color=never -mthumb -S -o
arm_cortex_m19028.s
powerpc64-unknown-linux-gnu-gcc: error: unrecognized command line option
'-mthumb'
compiler exited with status 1
output is:
powerpc64-unknown-linux-gnu-gcc: error: unrecognized command line option
'-mthumb'
FAIL: gcc.dg/binop-xor1.c scan-tree-dump-times optimized "\\^" 1

It seems that the test suite is trying to compile code for ARM with a PPC64
compiler.

Reply via email to