This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Ada] fixes in Ada.Finalization


Tested on i686-linux, committed on trunk

This change fixes two issues in the spec of standard library package
Ada.Finalization. First, it adds a missing categorization pragma, which
is necessary to allow other Remote_Types units to depend upon this one.

It also fixes a copy/paste error whereby a pragma
Preelaborable_Initialization failed to be provided for type
Limited_Controlled.
Note that this addition results from AI-126 (Ada 95 TC1).

gnat.dg/specs/preelab.ads package must compile quietly.

2007-06-06  Thomas Quinot  <quinot@adacore.com>

	* a-finali.ads (Ada.Finalization): Add missing pragma Remote_Types. The
	presence of this categorization pragma is mandated by the language.
	(Limited_Controlled): Add missing pragma Preelaborable_Initialization
	for this type.

Attachment: difs
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]