Re: useful exercise

Martin Mares (mj@ucw.cz)
Mon, 11 Jan 1999 19:28:46 +0100


Hello,

> 1. Some things will optimise worse if you use `if' -- e.g., if
> an `if (0)' branch takes the address of a variable, that will
> still suppress some optimisations of that variable even when
> the branch is optimised away.

For example, strings in if (0)'ed out blocks still creep to the
final code.

Have a nice fortnight

-- 
Martin `MJ' Mares   <mj@ucw.cz>   http://atrey.karlin.mff.cuni.cz/~mj/
Faculty of Math and Physics, Charles University, Prague, Czech Rep., Earth
"DOS never says "EXCELLENT command or filename"..."

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