On 09/12/11 17:13, Jakub Jelinek wrote: > dwarf2cfi.c generates sometimes different .eh_frame with/without > -fvar-tracking-assignments. The problem is that in add_cfis_to_fde > when adding NOTE_INSN_CFI_LABEL notes there is a scan to find consecutive > NOTE_INSN_CFI notes, but if there are any var-tracking notes in between, > more labels are emitted. And apparently the assembler doesn't optimize > zero length DW_CFA_advance_loc* ops away. > While only skipping NOTE_INSN_VAR_LOCATION and NOTE_INSN_CALL_ARG_LOCATION > would be enough to fix the comparison failures, I think we can skip any > non-active_insn_p's (except for NOTE_INSN_SWTICH_TEXT_SECTION which we need > to handle earlier in the loop).
> 2011-09-12 Jakub Jelinek <ja...@redhat.com> > > PR bootstrap/50010 > * dwarf2cfi.c (add_cfis_to_fde): Ignore non-active insns in between > NOTE_INSN_CFI notes, with the exception of > NOTE_INSN_SWITCH_TEXT_SECTIONS. Ok. Bernd