Messages in this thread |  | | Date | Wed, 22 Nov 2000 09:27:07 +0100 (CET) | From | Urban Widmark <> | Subject | Re: beware of dead string constants |
| |
On Tue, 21 Nov 2000, Peter Samuelson wrote:
[someone wrote, and I am keeping it :) ] > > > > void foo (void) > > > > { > > > > if (0) > > > > printk(KERN_INFO "bar"); > > > > } > > > >
[snip]
> Jakub Jelinek claims to have fixed this particular bug in the last week > or so, although I have not downloaded and compiled recent CVS to verify > this. (Didn't someone at some point have a cgi frontend to > CVS-snapshot 'gcc -S'? I can't find it now.)
It is linked from the "Reporting bugs" page on the gcc site. http://www.codesourcery.com/gcc-compile.shtml
And as far as I can tell the assembly output of compiling "foo" does not contain the "bar" string (without using any -O at all ...)
GCC: (GNU) 2.97 20001121 (experimental)
/Urban
- 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/
|  |