On Fri, Mar 09, 2012 at 08:05:39PM +0100, Eric Botcazou wrote: > > I'd say that alias.c when processing non-debug insn content should just > > ignore any cselib locs which have DEBUG_INSN_P setting_insn. > > That wouldn't work though, as promote_debug_loc overwrites setting_insn.
It does that only in case the -g0 build would add the same locs to the table. Only the DEBUG_INSN_P setting_insn locs are there just in -g builds and not in -g0 ones. Jakub