On Wed, Mar 07, 2012 at 11:01:36AM +0100, Richard Guenther wrote: > Hmm, but then this complicates and slows down the generic alias machinery. > Of course IMHO the RTL alias machinery should be conservative with respect > to what the RTL IL allows - so the question is are non-legitimate addresses > valid in regular instructions at any point?
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. Then both -g and -g0 will see the same things. Jakub