Followup to: <[EMAIL PROTECTED]> By author: Alan Cox <[EMAIL PROTECTED]> In newsgroup: linux.dev.kernel > > That isnt what Andries is arguing about. Read harder. Its semantic differences > rather than code differences. > > static int a=0; > > says 'I thought about this. I want it to start at zero. I've written it this > way to remind of the fact' > > Sure it generates the same code > The problem is that it doesn't. One could argue this is a gcc bug or rather missed optimization. One can, of course, also write: static int a /* = 0 */; ... to make it clear to human programmers without making gcc make bad code. -hpa -- <[EMAIL PROTECTED]> at work, <[EMAIL PROTECTED]> in private! "Unix gives you enough rope to shoot yourself in the foot." http://www.zytor.com/~hpa/puzzle.txt - 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: [PATCH] removal of "stat... Andre Hedrick
- Re: [PATCH] removal of "... Keith Owens
- Re: [PATCH] removal of "... Andre Hedrick
- Re: [PATCH] removal of "stat... Tigran Aivazian
- Re: [PATCH] removal of "stat... Tigran Aivazian
- Re: [PATCH] removal of "... bert hubert
- Re: [PATCH] removal of "... Pavel Machek
- Re: [PATCH] removal of "stat... Rogier Wolff
- Re: [PATCH] removal of "static fo... Philipp Rumpf
- Re: [PATCH] removal of "static fo... Georg Nikodym
- Re: [PATCH] removal of "static fo... H. Peter Anvin
- Re: [PATCH] removal of "stat... Kai Henningsen
- Re: [PATCH] removal of "static foo = 0&qu... Werner Almesberger
- Re: [PATCH] removal of "static foo = 0" Adam J. Richter
- Re: [PATCH] removal of "static foo = 0" Elmer Joandi
- Re: [PATCH] removal of "static foo = 0" Alexander Viro
- Re: [PATCH] removal of "static foo = 0&qu... Elmer Joandi
- Re: [PATCH] removal of "static foo = 0" Rogier Wolff
- Universal debug macros. Elmer Joandi
- Re: Universal debug macros. Rogier Wolff
- Re: Universal debug macros. Elmer Joandi