https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101643
Tom de Vries <vries at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Keywords| |wrong-debug Status|UNCONFIRMED |RESOLVED Target Milestone|--- |9.0 Version|7.5.0 |8.5.0 --- Comment #1 from Tom de Vries <vries at gcc dot gnu.org> --- Fixed by: ... commit 21afc4facd1ac4f62f7bd8ca0a3997fdb8ed1230 Author: Eric Botcazou <ebotca...@adacore.com> AuthorDate: Thu May 31 10:46:02 2018 +0000 Commit: Pierre-Marie de Rodat <pmdero...@gcc.gnu.org> CommitDate: Thu May 31 10:46:02 2018 +0000 [Ada] Fix strange behavior of Object_Size for packed array subtype 2018-05-31 Eric Botcazou <ebotca...@adacore.com> gcc/ada/ * gcc-interface/decl.c (gnat_to_gnu_entity) <discrete_type>: Do not deal with the ___XP suffix for packed array types here... <E_Array_Subtype>: ...or here when processing the implementation type but when processing the original type instead. Do not reuse the DECL of the implementation type for the original type. Tidy up. From-SVN: r260999 ... I was not able to find a submission of this patch.