[Bug testsuite/65578] New: FAIL: gcc.target/arm/builtin-bswap-1.c (test for excess errors)
vries at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Mar 26 10:20:00 GMT 2015
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65578
Bug ID: 65578
Summary: FAIL: gcc.target/arm/builtin-bswap-1.c (test for
excess errors)
Product: gcc
Version: 5.0
Status: UNCONFIRMED
Severity: trivial
Priority: P3
Component: testsuite
Assignee: unassigned at gcc dot gnu.org
Reporter: vries at gcc dot gnu.org
gcc.target/arm/builtin-bswap-1.c compilation fails like this:
...
spawn /data/devel/lean-c/build/gcc/xgcc -B/data/devel/lean-c/build/gcc/
src/gcc/testsuite/gcc.target/arm/builtin-bswap-1.c -fno-diagnostics-show-caret
-fdiagnostics-color=never -O2 -march=armv6 -ffat-lto-objects -ffat-lto-objects
-ffat-lto-objects -ffat-lto-objects -ffat-lto-objects -ffat-lto-objects
-ffat-lto-objects -ffat-lto-objects -ffat-lto-objects -ffat-lto-objects -S -o
builtin-bswap-1.s^M
src/gcc/testsuite/gcc.target/arm/builtin-bswap-1.c: In function 'swaps16':^M
src/gcc/testsuite/gcc.target/arm/builtin-bswap-1.c:18:1: sorry, unimplemented:
Thumb-1 hard-float VFP ABI^M
compiler exited with status 1
output is:
src/gcc/testsuite/gcc.target/arm/builtin-bswap-1.c: In function 'swaps16':^M
src/gcc/testsuite/gcc.target/arm/builtin-bswap-1.c:18:1: sorry, unimplemented:
Thumb-1 hard-float VFP ABI^M
FAIL: gcc.target/arm/builtin-bswap-1.c (test for excess errors)
Excess errors:
src/gcc/testsuite/gcc.target/arm/builtin-bswap-1.c:18:1: sorry, unimplemented:
Thumb-1 hard-float VFP ABI
...
The testcase requires v6. So it first tests whether it can set the arm to v6,
and then sets it:
...
/* { dg-require-effective-target arm_arch_v6_ok } */
/* { dg-add-options arm_arch_v6 } */
...
The effective target test succeeds, but during compilation, we find out that we
actually can't compile, AFAIU because of the combination -mthumb -march=armv6
-mhard-float.
More information about the Gcc-bugs
mailing list