------- Comment #18 from davek at gcc dot gnu dot org 2009-09-19 17:59 ------- (In reply to comment #17) > (In reply to comment #16) > > > Patch I sent to improve tree_loc code also has code to lookup constants > > in constant pool. For strings in particular this has pretty good chance > > of success. > > I see you wrote: > > " There was latent bug in that code causing undefined references to constant > pool values that was optimized out. This is fixed now. " > > That sounds like this bug! I'll test your patches against my tree, thanks > for the help.
:-( There must be one more latent bug in the code; after applying both the patches you sent today and rebuilding dwarf2out.o and cc1.exe, no difference in the generated source. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41404