lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Fri, 5 Jun 2009 23:06:41 +0100
From:	Alan Cox <alan@...rguk.ukuu.org.uk>
To:	Andrew Morton <akpm@...ux-foundation.org>
Cc:	lkml@...ethan.org, linux-kernel@...r.kernel.org
Subject: Re: [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



--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists