https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98740
--- Comment #5 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The releases/gcc-10 branch has been updated by Eric Botcazou <ebotca...@gcc.gnu.org>: https://gcc.gnu.org/g:4779ef35735e32b8a8418ad20c36919bd19c19a8 commit r10-9278-g4779ef35735e32b8a8418ad20c36919bd19c19a8 Author: Eric Botcazou <ebotca...@adacore.com> Date: Tue Jan 19 10:43:15 2021 +0100 Fix PR ada/98740 It's a long-standing GENERIC tree sharing issue. gcc/ada/ChangeLog: PR ada/98740 * gcc-interface/trans.c (add_decl_expr): Always mark TYPE_ADA_SIZE.