> 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.
If that's really supposed to work like so, then this is the bug, because the non-legitimate expression is present only with -g and its location promoted. -- Eric Botcazou