> CCing Alex. I think we feed debug insn mems in the scheduler to be able to > find out what debug insns need to be invalidated and what can be kept. > And any address expressions are legitimate for debug insns, why should we > be limited by what the ISA allows? All we are limited is if we can express > those expressions in DWARF or not. > How can this be reproduced with a cross?
Run -fcompare-debug on sem_ch2.o with -O2 -gnatpgn -g (on the 4.7 branch). -- Eric Botcazou