On Mon, Mar 30, 2020 at 01:09:41PM +0200, Richard Biener wrote: > Btw, does the above fallout already happen if you add -g? Because > all the affected stmt-lists should end up with some DEBUG_BEGIN_STMTs > in them and thus preserved?
Such STATEMENT_LISTs were marked !TREE_SIDE_EFFECTS, which means e.g. save_expr doesn't save those etc. Jakub