lib/lz4/lz4_decompress.c:487:1: internal compiler error: output_operand: unrecognized address

From: kbuild test robot
Date: Thu Oct 05 2017 - 12:10:53 EST


tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 42b76d0e6b1fe0fcb90e0ff6b4d053d50597b031
commit: 8cb5d7482810b7eb1bb05bf4f71bc93ce35e5896 lib/lz4: make arrays static const, reduces object code size
date: 2 days ago
config: cris-dev88_defconfig (attached as .config)
compiler: cris-linux-gcc (GCC) 6.2.0
reproduce:
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
git checkout 8cb5d7482810b7eb1bb05bf4f71bc93ce35e5896
# save the attached .config to linux build tree
make.cross ARCH=cris

All errors (new ones prefixed by >>):

(post_inc:SI (reg:SI 15 acr))
lib/lz4/lz4_decompress.c: In function 'LZ4_decompress_safe_usingDict':
>> lib/lz4/lz4_decompress.c:487:1: internal compiler error: output_operand: unrecognized address
}
^
0x6f7b1f output_operand_lossage(char const*, ...)
/c/gcc/gcc/final.c:3409
0x6f7dc3 output_address(machine_mode, rtx_def*)
/c/gcc/gcc/final.c:3859
0x6f7d1c output_operand(rtx_def*, int)
/c/gcc/gcc/final.c:3843
0x6f81df output_asm_insn(char const*, rtx_def**)
/c/gcc/gcc/final.c:3759
0x6f9c8c output_asm_insn(char const*, rtx_def**)
/c/gcc/gcc/final.c:3010
0x6f9c8c final_scan_insn(rtx_insn*, _IO_FILE*, int, int, int*)
/c/gcc/gcc/final.c:3015
0x6fa189 final(rtx_insn*, _IO_FILE*, int)
/c/gcc/gcc/final.c:2045
0x6fa697 rest_of_handle_final
/c/gcc/gcc/final.c:4441
0x6fa697 execute
/c/gcc/gcc/final.c:4516
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <http://gcc.gnu.org/bugs.html> for instructions.
{standard input}: Assembler messages:
{standard input}:4875: Warning: end of file not at end of a line; newline inserted
{standard input}:4876: Error: Illegal operands

vim +487 lib/lz4/lz4_decompress.c

cffb78b0 Kyungsik Lee 2013-07-08 480
4e1a33b1 Sven Schmidt 2017-02-24 481 int LZ4_decompress_safe_usingDict(const char *source, char *dest,
4e1a33b1 Sven Schmidt 2017-02-24 482 int compressedSize, int maxOutputSize,
4e1a33b1 Sven Schmidt 2017-02-24 483 const char *dictStart, int dictSize)
4e1a33b1 Sven Schmidt 2017-02-24 484 {
4e1a33b1 Sven Schmidt 2017-02-24 485 return LZ4_decompress_usingDict_generic(source, dest,
4e1a33b1 Sven Schmidt 2017-02-24 486 compressedSize, maxOutputSize, 1, dictStart, dictSize);
cffb78b0 Kyungsik Lee 2013-07-08 @487 }
cffb78b0 Kyungsik Lee 2013-07-08 488

:::::: The code at line 487 was first introduced by commit
:::::: cffb78b0e0b3a30b059b27a1d97500cf6464efa9 decompressor: add LZ4 decompressor module

:::::: TO: Kyungsik Lee <kyungsik.lee@xxxxxxx>
:::::: CC: Linus Torvalds <torvalds@xxxxxxxxxxxxxxxxxxxx>

---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation

Attachment: .config.gz
Description: application/gzip