decl.c (gnat_to_gnu_entity): Check for a dummy designated type via TYPE_MODE instead...
authorOlivier Hainque <hainque@act-europe.fr>
Tue, 21 Sep 2004 15:34:36 +0000 (17:34 +0200)
committerArnaud Charlet <charlet@gcc.gnu.org>
Tue, 21 Sep 2004 15:34:36 +0000 (17:34 +0200)
commit2494e67370e79d3530c72fab916713e2254453d6
treea844e2d6f014daaf847db0b66d875e987f26bc15
parent910d20fcb8c5fa83c64c1540cca945cc0c31d77c
decl.c (gnat_to_gnu_entity): Check for a dummy designated type via TYPE_MODE instead of COMPLETE_TYPE_P.

2004-09-21  Olivier Hainque  <hainque@act-europe.fr>

* decl.c (gnat_to_gnu_entity) <E_General_Access_Type>: Check for a
dummy designated type via TYPE_MODE instead of COMPLETE_TYPE_P. This
ensures proper handling of types with rep clauses, which might have
their TYPE_SIZE set already.

From-SVN: r87807
gcc/ada/ChangeLog
gcc/ada/decl.c