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

--- Comment #9 from Bernd Edlinger <bernd.edlinger at hotmail dot de> ---
Thanks Jeff for this advice,
It could be that this are two different issues, but
The ft32-issue might be solved by this completely untested patch:

--- a/gcc/dwarf2out.cc
+++ b/gcc/dwarf2out.cc
@@ -13019,9 +13019,9 @@ output_one_line_info_table (dw_line_info_table *table)

            view++;

-           dw2_asm_output_data (1, DW_LNS_fixed_advance_pc, "fixed advance PC,
increment view to %i", view);
-           dw2_asm_output_delta (2, line_label, prev_label,
-                                 "from %s to %s", prev_label, line_label);
+           dw2_asm_output_data (1, DW_LNS_advance_pc, "advance PC, increment
view to %i", view);
+           dw2_asm_output_delta_uleb128 (line_label, prev_label,
+                                         "from %s to %s", prev_label,
line_label);

            prev_addr = ent;
            break;

Reply via email to