Re: [patch] Fix debug info for packed array types in Ada

2021-09-06 Thread Eric Botcazou
> OK, I suppose this should also help some Fortran array descriptor cases? Thanks. This changes something only if array types in the source code are not always represented by ARRAY_TYPEs in the IR. -- Eric Botcazou

Re: [patch] Fix debug info for packed array types in Ada

2021-09-06 Thread Richard Biener via Gcc-patches
On Fri, Sep 3, 2021 at 10:55 AM Eric Botcazou wrote: > > Hi, > > packed array types are sometimes represented with integer types under the hood > in Ada, but we nevertheless need to emit them as array types in the debug info > so we have the types.get_array_descr_info langhook for this purpose; bu

[patch] Fix debug info for packed array types in Ada

2021-09-03 Thread Eric Botcazou
Hi, packed array types are sometimes represented with integer types under the hood in Ada, but we nevertheless need to emit them as array types in the debug info so we have the types.get_array_descr_info langhook for this purpose; but it is not invoked from modified_type_die, which is responsible