Alexander Viro wrote:
>
>
> if (CONFIG_FOO) {
> ....
> } else {
> ....
> }
There are a zillion reasons why this technique is superior
to using `#ifdef CONFIG_FOO'. But, alas, gcc fumbles
the ball:
> cat t.c
foo()
{
if (0)
bar("hhhhhhh");
}
> gcc -O2 -c t.c
> strings t.o | grep hhh
hhhhhhh
This was raised with the gcc guys 4-5 weeks ago
and might now be fixed. I'm too bandwidth-deprived
to check.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.tux.org/lkml/
- Re: 2.4.0-test8-pre1 is quite bad / how about integrating ... Rik van Riel
- Re: 2.4.0-test8-pre1 is quite bad / how about integrating ... Linus Torvalds
- Re: 2.4.0-test8-pre1 is quite bad / how about integra... Alexander Viro
- Re: 2.4.0-test8-pre1 is quite bad / how about int... Linus Torvalds
- Re: 2.4.0-test8-pre1 is quite bad / how about... Martin Dalecki
- Re: 2.4.0-test8-pre1 is quite bad / how a... Alexander Viro
- Re: 2.4.0-test8-pre1 is quite bad / ... Martin Dalecki
- Re: 2.4.0-test8-pre1 is quite ba... Alexander Viro
- Re: 2.4.0-test8-pre1 is quite ba... Martin Dalecki
- Re: 2.4.0-test8-pre1 is quite ba... Alexander Viro
- Re: 2.4.0-test8-pre1 is quite ba... Andrew Morton
- Re: 2.4.0-test8-pre1 is quite ba... Alexander Viro
- Re: 2.4.0-test8-pre1 is quite ba... David S. Miller
- Re: 2.4.0-test8-pre1 is quite ba... Richard Gooch
- Re: 2.4.0-test8-pre1 is quite ba... Andrew Morton
- Re: 2.4.0-test8-pre1 is quite ba... Linus Torvalds
- Re: 2.4.0-test8-pre1 is quite ba... Alexander Viro
- Re: 2.4.0-test8-pre1 is quite ba... Kai Henningsen
- Re: 2.4.0-test8-pre1 is quite ba... Mike A. Harris
- Re: 2.4.0-test8-pre1 is quite bad / ... Jamie Lokier
- Re: 2.4.0-test8-pre1 is quite ba... Richard Gooch

