https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91626
Bug ID: 91626
Summary: FAIL: gcc.dg/lto/pr48622
c_lto_pr48622_0.o-c_lto_pr48622_0.o link, -O -flto
-finline-small-functions -fno-early-inlining
Product: gcc
Version: 10.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: lto
Assignee: unassigned at gcc dot gnu.org
Reporter: danglin at gcc dot gnu.org
CC: marxin at gcc dot gnu.org
Target Milestone: ---
Host: hppa64-hp-hpux11.11
Target: hppa64-hp-hpux11.11
Build: hppa64-hp-hpux11.11
Executing on host: /test/gnu/gcc/objdir/gcc/xgcc -B/test/gnu/gcc/objdir/gcc/
-fno-diagnostics-show-caret -fno-diagnostics-show-line-numbers
-fdiagnostics-color=never -O -flto -finline-small-functions
-fno-early-inlining -c -o c_lto_pr48622_0.o
/test/gnu/gcc/gcc/gcc/testsuite/gcc.dg/lto/pr48622_0.c (timeout = 300)
spawn /test/gnu/gcc/objdir/gcc/xgcc -B/test/gnu/gcc/objdir/gcc/
-fno-diagnostics-show-caret -fno-diagnostics-show-line-numbers
-fdiagnostics-color=never -O -flto -finline-small-functions -fno-early-inlining
-c -o c_lto_pr48622_0.o /test/gnu/gcc/gcc/gcc/testsuite/gcc.dg/lto/pr48622_0.c
PASS: gcc.dg/lto/pr48622 c_lto_pr48622_0.o assemble, -O -flto
-finline-small-functions -fno-early-inlining
Executing on host: /test/gnu/gcc/objdir/gcc/xgcc -B/test/gnu/gcc/objdir/gcc/
c_lto_pr48622_0.o -fno-diagnostics-show-caret
-fno-diagnostics-show-line-numbers -fdiagnostics-color=never -O -flto
-finline-small-functions -fno-early-inlining -o
gcc-dg-lto-pr48622-01.exe (timeout = 300)
spawn /test/gnu/gcc/objdir/gcc/xgcc -B/test/gnu/gcc/objdir/gcc/
c_lto_pr48622_0.o -fno-diagnostics-show-caret
-fno-diagnostics-show-line-numbers -fdiagnostics-color=never -O -flto
-finline-small-functions -fno-early-inlining -o gcc-dg-lto-pr48622-01.exe
ld: Unsatisfied symbol "ashift_qi_1" in file
/var/tmp//gcc-dg-lto-pr48622-01.exe.mbbTyk.ltrans0.ltrans.o
1 errors.
collect2: fatal error: ld returned 1 exit status
compilation terminated.
compiler exited with status 1
output is:
ld: Unsatisfied symbol "ashift_qi_1" in file
/var/tmp//gcc-dg-lto-pr48622-01.exe.mbbTyk.ltrans0.ltrans.o
1 errors.
collect2: fatal error: ld returned 1 exit status
compilation terminated.
FAIL: gcc.dg/lto/pr48622 c_lto_pr48622_0.o-c_lto_pr48622_0.o link, -O -flto
-finline-small-functions -fno-early-inlining