Linus Torvalds caf5b04c82 x86: Work around compiler code generation bug with -Os
Some versions of gcc generate incorrect code for the inet_check_attr()
function, apparently due to a totally bogus index -> pointer comparison
transformation.

At least "gcc version 4.0.1 20050727 (Red Hat 4.0.1-5)" from FC4 is
affected, possibly others too.

This changes the function subtly so that the buggy gcc transformation
doesn't trigger.

Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2006-01-14 22:08:28 -08:00
..
2006-01-08 20:14:10 -08:00
2006-01-11 18:42:14 -08:00
2006-01-11 18:42:14 -08:00
2006-01-11 18:42:14 -08:00
2006-01-11 18:42:14 -08:00
2006-01-11 18:42:14 -08:00
2006-01-11 18:42:14 -08:00
2005-08-29 15:31:14 -07:00
2006-01-11 18:42:14 -08:00
2006-01-13 14:29:07 -08:00
2006-01-11 18:42:14 -08:00
2005-09-08 08:14:11 -07:00
2006-01-12 14:06:31 -08:00
2006-01-12 14:06:31 -08:00
2006-01-03 13:11:17 -08:00
2005-04-16 15:20:36 -07:00