Re: [tty:tty-next 34/39] drivers/tty/serial/8250/8250_core.c:1094:1: error: unrecognizable insn:

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 2017-07-31 at 13:05 +0800, kbuild test robot wrote:
> tree:   https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty.git
>  tty-next
> head:   065ea0a7afd64d6cf3464bdd1d8cd227527e2045
> commit: c7ac15ce89242e3c25fcc49fa4d00028285fab05 [34/39] serial: core:
> move UPF_NO_TXEN_TEST to quirks and rename
> config: cris-allyesconfig (attached as .config)
> compiler: cris-linux-gcc (GCC) 6.2.0
> reproduce:
>         wget https://raw.githubusercontent.com/01org/lkp-tests/master/
> sbin/make.cross -O ~/bin/make.cross
>         chmod +x ~/bin/make.cross
>         git checkout c7ac15ce89242e3c25fcc49fa4d00028285fab05
>         # save the attached .config to linux build tree
>         make.cross ARCH=cris 
> 
> All errors (new ones prefixed by >>):
> 
>    drivers/tty/serial/8250/8250_core.c: In function
> 'univ8250_release_irq':
>    drivers/tty/serial/8250/8250_core.c:235:19: warning: 'i' may be
> used uninitialized in this function [-Wmaybe-uninitialized]
>      struct irq_info *i;
>                       ^

This one is known false positive (see comment in the code)

>    drivers/tty/serial/8250/8250_core.c: In function
> 'serial8250_unregister_port':
> > > drivers/tty/serial/8250/8250_core.c:1094:1: error: unrecognizable
> > > insn:
> 
>     }
>     ^
>    (insn 121 120 92 5 (set (reg:QI 9 r9 [95])
>            (ior:QI (mem:QI (reg/f:SI 10 r10 [87]) [0 MEM[(struct
> uart_8250_port *)&serial8250_ports][line_3(D)].port.quirks+0 S1 A8])
>                (reg:QI 9 r9 [89])))
> drivers/tty/serial/8250/8250_core.c:502 -1
>         (nil))

LISP detected!

> > > drivers/tty/serial/8250/8250_core.c:1094:1: internal compiler
> > > error: in extract_insn, at recog.c:2287

Oh, yeah, indeed.

P.S. I'm not familiar with cris arch, so, it might be the bug in the
code as well that triggers internal bug in gcc...


-- 
Andy Shevchenko <andriy.shevchenko@xxxxxxxxxxxxxxx>
Intel Finland Oy
--
To unsubscribe from this list: send the line "unsubscribe linux-serial" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux PPP]     [Linux FS]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Linmodem]     [Device Mapper]     [Linux Kernel for ARM]

  Powered by Linux