Re: {standard input}:211: Error: operand out of range (128 is not between -128 and 127)

From: Matthew Wilcox
Date: Wed Nov 20 2019 - 07:30:54 EST


On Wed, Nov 20, 2019 at 06:31:38PM +0800, kbuild test robot wrote:
> Hi Matthew,
>
> FYI, the error/warning still remains.

That's because gcc-7.4.0 is still buggy on arc.

> tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
> head: c74386d50fbaf4a54fd3fe560f1abc709c0cff4b
> commit: 5a74ac4c4a97bd8b7dba054304d598e2a882fea6 idr: Fix idr_get_next_ul race with idr_remove
> date: 3 weeks ago
> config: arc-defconfig (attached as .config)
> compiler: arc-elf-gcc (GCC) 7.4.0