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

--- Comment #9 from SASANO Takayoshi <uaa at mx5 dot nisiq.net> ---
(In reply to Michael N. Moran from comment #8)
> I created a corresponding cp-demangle.s file and attached it
> https://gcc.gnu.org/bugzilla/attachment.cgi?id=54530

Please read this thread carefully, currently this issue targets 
H8 advanced mode (24bit address). Your attachment says that
the code is compiled for H8 normal mode (16bit address).

>         .file   "cp-demangle.c"
>         .h8300hn
>         .section .text

But, we have to consider why the problem has occurred.

> .Ldebug_ranges3:
>         .section        .debug_line,"",@progbits
> .Ldebug_line0:
>         .2byte  0, .LELT0-.LSLT0
> .LSLT0:
>         .2byte  0x5
(snip)
>  
>         .byte   0x1
> .LELT0:
>         .section        .debug_str,"MS",@progbits,1
> .LASF248:

(.LELT0 - .LSLT0) shows the size of .debug_line section.

The reported problem means "allocated bitwidth for .Ldebug_line0
is insufficient to store the size of .debug_line section".

I think this is out of topic, should be handled at more suitable place.

Reply via email to