Richard Gooch wrote: > > It will probably take about 5 years after a new version of GCC which > has this fix before we can trust it to produce correct code for the > kernel. I don't think it's that bad, Richard. As davem points out, the dead code elimination works OK. Chris has a counter-example but I was not able to reproduce that with 2.7.2.3. The only problem I'm aware of is this tendency to leave dangling strings in .rodata. Unfortunately you can't work around this with the linker and -fdata-sections either. See http://gcc.gnu.org/ml/gcc-prs/2000-q2/msg00036.html But still, doing the conditional compilation at compile-time rather than preprocessing-time is so *nice* that if you don't have too many literal strings floating about it may be justifiable. In cs89x0.c you reduce the object size by 1.5k by setting DEBUGGING to literal zero - no #ifdefs in sight. - 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 ... Martin Dalecki
- 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... Martin Dalecki
- Re: 2.4.0-test8-pre1 is quite bad / how about... Alexander Viro
- Re: 2.4.0-test8-pre1 is quite bad / how about... Martin Dalecki
- Re: 2.4.0-test8-pre1 is quite bad / how about... Alexander Viro
- Re: 2.4.0-test8-pre1 is quite bad / how about... Andrew Morton
- Re: 2.4.0-test8-pre1 is quite bad / how about... Alexander Viro
- Re: 2.4.0-test8-pre1 is quite bad / how about... David S. Miller
- Re: 2.4.0-test8-pre1 is quite bad / how about... Richard Gooch
- Re: 2.4.0-test8-pre1 is quite bad / how about... Andrew Morton
- Re: 2.4.0-test8-pre1 is quite bad / how about... Linus Torvalds
- Re: 2.4.0-test8-pre1 is quite bad / how about... Alexander Viro
- Re: 2.4.0-test8-pre1 is quite bad / how about... Kai Henningsen
- Re: 2.4.0-test8-pre1 is quite bad / how about... Mike A. Harris
- Re: 2.4.0-test8-pre1 is quite bad / how about int... Jamie Lokier
- Re: 2.4.0-test8-pre1 is quite bad / how about... Richard Gooch
- Re: 2.4.0-test8-pre1 is quite bad / how about... Alexander Viro
- Re: 2.4.0-test8-pre1 is quite bad / how about... Richard Gooch
- Re: 2.4.0-test8-pre1 is quite bad / how about... Peter Samuelson
- Re: 2.4.0-test8-pre1 is quite bad / how about... David S. Miller