[lkml]   [2009]   [Jun]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [Compile Warning] 2.6.30-rc8 build
> I don't think there's any way in which gcc can deduce that h->first is
> non-zero on entry to that loop. Even if it inlines
> serial_unlink_irq_chain() into serial8250_shutdown().

Why does it care ?

Suppose the list is empty, n is loaded with NULL

That follows the BUG_ON path which expands to include a function marked
as not returning

gcc is just rather smarter than your average cc

 \ /
  Last update: 2009-06-06 00:09    [W:0.035 / U:1.612 seconds]
©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site