On Thu, Jul 01, 2004 at 10:45:35PM +0900, Atsushi Nemoto wrote: > >>>>> On Thu, 1 Jul 2004 15:22:40 +0200, Ralf Baechle <ralf@xxxxxxxxxxxxxx> said: > > ralf> Leave the #ifdef stuff there - or otherwise gcc might optimize > ralf> this into empty loops ... > > The loop contains paranoid out_of_line_bug, so it never be optimized > to empty. Indeed and I think that's a bit of overkill. I've never seen these assertions catch any bugs - and 2.4 isn't exactly new anymore. Anyway, even if the loop was empty gcc would not eleminate it. Ralf