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

            Bug ID: 69536
           Summary: FAIL: gcc.dg/lto/20110201-1
                    c_lto_20110201-1_0.o-c_lto_20110201-1_0.o link, -O0
                    -flto -fno-math-errno -mfloat-abi=softfp
                    -mfpu=neon-vfpv4
           Product: gcc
           Version: 6.0
            Status: UNCONFIRMED
          Severity: trivial
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: vries at gcc dot gnu.org
  Target Milestone: ---

failure:
...
spawn gcc/xgcc -Bgcc/ linker_plugin10485.c -fno-diagnostics-show-caret
-fdiagnostics-color=never -flto -fuse-linker-plugin -o linker_plugin10485.exe
spawn gcc/xgcc -Bgcc/ -fno-diagnostics-show-caret -fdiagnostics-color=never
-mfpu=vfp -mfloat-abi=softfp -c -o arm_vfp_ok10485.o arm_vfp_ok10485.c
spawn gcc/xgcc -Bgcc/ -fno-diagnostics-show-caret -fdiagnostics-color=never -O0
-flto -fno-math-errno -mfloat-abi=softfp -mfpu=neon-vfpv4 -c -o
c_lto_20110201-1_0.o src/gcc/testsuite/gcc.dg/lto/20110201-1_0.c
PASS: gcc.dg/lto/20110201-1 c_lto_20110201-1_0.o assemble, -O0 -flto
-fno-math-errno -mfloat-abi=softfp -mfpu=neon-vfpv4
spawn gcc/xgcc -Bgcc/ c_lto_20110201-1_0.o -fno-diagnostics-show-caret
-fdiagnostics-color=never -O0 -flto -fno-math-errno -mfloat-abi=softfp
-mfpu=neon-vfpv4 -o gcc-dg-lto-20110201-1-01.exe
/usr/bin/arm-linux-gnueabihf-ld: error: gcc-dg-lto-20110201-1-01.exe uses VFP
register arguments, /tmp/ccItFA6v.ltrans0.ltrans.o does not
/usr/bin/arm-linux-gnueabihf-ld: failed to merge target specific data of file
/tmp/ccItFA6v.ltrans0.ltrans.o
collect2: error: ld returned 1 exit status
compiler exited with status 1
collect2: error: ld returned 1 exit status
FAIL: gcc.dg/lto/20110201-1 c_lto_20110201-1_0.o-c_lto_20110201-1_0.o link, -O0
-flto -fno-math-errno -mfloat-abi=softfp -mfpu=neon-vfpv4
UNRESOLVED: gcc.dg/lto/20110201-1 c_lto_20110201-1_0.o-c_lto_20110201-1_0.o
execute -O0 -flto -fno-math-errno -mfloat-abi=softfp -mfpu=neon-vfpv4
...

Found with r232873.

Compiler configured with:
...
src/configure --disable-bootstrap --enable-checking=yes,rtl
--enable-languages=c --build=arm-linux-gnueabihf --host=arm-linux-gnueabihf
--target=arm-linux-gnueabihf --enable-multiarch --disable-multilib
--disable-sjlj-exceptions --with-arch=armv7-a --with-fpu=vfpv3-d16
--with-float=hard --with-mode=thumb --with-system-zlib --disable-libmudflap
--disable-libitm --disable-libquadmath --with-sysroot=/ --enable-threads=posix
--enable-shared
...

Reply via email to