https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81535
--- Comment #1 from seurer at gcc dot gnu.org --- The failures also occur on powerpc64 BE. This test that was added in this revision also fails: spawn /home/seurer/gcc/build/gcc-test/gcc/xgcc -B/home/seurer/gcc/build/gcc-test/gcc/ /home/seurer/gcc/gcc-test/gcc/testsuite/gcc.dg/pr56727-2.c -fno-diagnostics-show-caret -fdiagnostics-color=never -O2 -fPIC -ffat-lto-objects -S -o pr56727-2.s PASS: gcc.dg/pr56727-2.c (test for excess errors) FAIL: gcc.dg/pr56727-2.c scan-assembler @(PLT|plt) seurer@makalu-lp1:~/gcc/build/gcc-test$ /home/seurer/gcc/build/gcc-test/gcc/xgcc -B/home/seurer/gcc/build/gcc-test/gcc/ /home/seurer/gcc/gcc-test/gcc/testsuite/gcc.dg/pr56727-2.c -fno-diagnostics-show-caret -fdiagnostics-color=never -O2 -fPIC -ffat-lto-objects -S -o pr56727-2.s seurer@makalu-lp1:~/gcc/build/gcc-test$ cat pr56727-2.s .file "pr56727-2.c" .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: .p2align 4,,15 .L2: b .L2 .long 0 .byte 0,0,0,0,0,0,0,0 .size f,.-.L.f .set g,f .align 2 .p2align 4,,15 .globl h .section ".opd","aw" .align 3 h: .quad .L.h,.TOC.@tocbase,0 .previous .type h, @function .L.h: li 3,0 b g .long 0 .byte 0,0,0,0,0,0,0,0 .size h,.-.L.h .ident "GCC: (GNU) 8.0.0 20170721 (experimental) [trunk revision 250442]"