[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20070112231925.GA7273@slug>
Date: Fri, 12 Jan 2007 23:19:25 +0000
From: Frederik Deweerdt <deweerdt@...e.fr>
To: Robert Hancock <hancockr@...w.ca>
Cc: linux-kernel <linux-kernel@...r.kernel.org>,
Arnd Bergmann <arnd@...db.de>, arjan@...radead.org
Subject: Re: -mm merge plans for 2.6.21
On Sat, Feb 10, 2007 at 11:04:48AM -0600, Robert Hancock wrote:
> Frederik Deweerdt wrote:
> >>How about this one instead then:
> >Well, the warning you get is not that obvious:
> >test.c: In function 'main':
> >test.c:11: warning: 'deprecated_irqf' is deprecated
> >And as far as I could test
... which apparently was not enough :)
> >(gcc 4.1.1 and gcc 3.4.3), Arjan's comment is
> >not true, the "static const int" don't use extra space, they get
> >optimized away by the compiler (see http://lkml.org/lkml/2007/2/9/106).
>
> gcc 3.2 should be tested as well, that is still supported by the kernel, and versions before 3.4 did not have unit-at-a-time optimizations.
Sorry for the delay. I've setup a 3.2.3 gcc and, indeed, the symbols
make their way in the binary...
$ gcc-3.2.3 -O2 -c dont_use_flag.c
$ nm dont_use_flag.o
00000000 r SA_INTERRUPT
00000000 T main
U printf
Regards,
Frederik
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists