deferred_const2.adb
203 Bytes
-
decl.c (gnat_to_gnu_entity): Remove dead code. · 8df2e902
2008-08-01 Eric Botcazou <ebotcazou@adacore.com> * gcc-interface/decl.c (gnat_to_gnu_entity) <E_Constant>: Remove dead code. Do not get full definition of deferred constants with address clause for a use. Do not ignore deferred constant definitions with address clause. Ignore constant definitions already marked with the error node. <object>: Remove obsolete comment. For a deferred constant with address clause, get the initializer from the full view. * gcc-interface/trans.c (gnat_to_gnu) <N_Attribute_Definition_Clause>: Rework and remove obsolete comment. <N_Object_Declaration>: For a deferred constant with address clause, mark the full view with the error node. * gcc-interface/utils.c (convert_to_fat_pointer): Rework and fix formatting nits. From-SVN: r138513
Eric Botcazou committed