lkml.org 
[lkml]   [2000]   [Sep]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Alexander Viro writes:
>
>
>
> On Wed, 6 Sep 2000, Andrew Morton wrote:
>
> > > cat t.c
> > foo()
> > {
> > if (0)
> > bar("hhhhhhh");
> > }
> > > gcc -O2 -c t.c
> > > strings t.o | grep hhh
> > hhhhhhh

Nasty, eh?

> Eww... Do they _ever_ remove dead code?

I guess not. Also, even if we get the compilers fixed, it will be some
time before we can deploy the kind of change you're proposing (which I
do agree looks a lot nicer: #ifdefs are ugly if for no other reason
that they lie outside the brace levels).

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.

Regards,

Richard....
Permanent: rgooch@atnf.csiro.au
Current: rgooch@ras.ucalgary.ca
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 12:38    [W:0.079 / U:0.364 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site