https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99090

--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Making it work is desirable in any case.  But, the emitted debug sections will
be in various spots less compact when .uleb128/.sleb128 don't support
non-constant operands.
Though, I'm afraid the
              /* FIXME: This will ICE ifndef HAVE_AS_LEB128.
                 For that case we probably need to emit DW_LLE_startx_endx,
                 but we'd need 2 .debug_addr entries rather than just one.  */
              dw2_asm_output_delta_uleb128 (curr->end, curr->begin,
                                            "Location list length (%s)",
                                            list_head->ll_symbol);
case is actually code addresses and not .debug section labels, sorry for
confusion.

Reply via email to