decl.c (gnat_to_gnu_entity): Fix comment.
* gcc-interface/decl.c (gnat_to_gnu_entity) <E_Class_Wide_Type>: Fix comment. * gcc-interface/trans.c (process_freeze_entity): Use local copy of Ekind. Return early for class-wide types. Do not compute initializer unless necessary. Reuse the tree for an associated class-wide type only if processing its root type. From-SVN: r158295
Showing
gcc/testsuite/gnat.dg/class_wide2.adb
0 → 100644
gcc/testsuite/gnat.dg/class_wide2.ads
0 → 100644
Please
register
or
sign in
to comment