https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101826
--- Comment #2 from Abdul Basit Ijaz <abdul.b.ijaz at intel dot com> --- I tried with GFortran 11.1.0 version so if you already see DW_TAG_string_type in trunk then it means it was already fixed. Do you happen to know any issue related to it then this issue can be duplicated to know which release will have the fix. Regarding GDB it also has a issue for such case and it also need a fix for such cases to handle DW_TAG_string_type for array type appropriately.