Commit 4bfe4a99 by Gary Dismukes Committed by Arnaud Charlet

exp_ch9.adb, [...]: Minor reformatting.

2017-01-12  Gary Dismukes  <dismukes@adacore.com>

	* exp_ch9.adb, s-secsta.adb, snames.ads-tmpl, exp_ch3.adb: Minor
	reformatting.
	* debug.adb: Minor comment fixes.

From-SVN: r244360
parent fedb0830
2017-01-12 Gary Dismukes <dismukes@adacore.com>
* exp_ch9.adb, s-secsta.adb, snames.ads-tmpl, exp_ch3.adb: Minor
reformatting.
* debug.adb: Minor comment fixes.
2017-01-12 Arnaud Charlet <charlet@adacore.com> 2017-01-12 Arnaud Charlet <charlet@adacore.com>
* sem_util.adb (Unique_Entity): For concurrent * sem_util.adb (Unique_Entity): For concurrent
......
...@@ -376,8 +376,7 @@ package body Debug is ...@@ -376,8 +376,7 @@ package body Debug is
-- general Elaborate_All is still required because of nested calls. -- general Elaborate_All is still required because of nested calls.
-- dE Apply compile time elaboration checking for with relations between -- dE Apply compile time elaboration checking for with relations between
-- predefined units. Normally no checks are made (it seems that at -- predefined units. Normally no checks are made.
-- least on the SGI, such checks run into trouble).
-- dF Front end data layout enabled. Normally front end data layout -- dF Front end data layout enabled. Normally front end data layout
-- is only enabled if the target parameter Backend_Layout is False. -- is only enabled if the target parameter Backend_Layout is False.
...@@ -407,7 +406,7 @@ package body Debug is ...@@ -407,7 +406,7 @@ package body Debug is
-- dL Output trace information on elaboration checking. This debug -- dL Output trace information on elaboration checking. This debug
-- switch causes output to be generated showing each call or -- switch causes output to be generated showing each call or
-- instantiation as it is checked, and the progress of the recursive -- instantiation as it is checked, and the progress of the recursive
-- trace through calls at elaboration time. -- trace through elaboration calls at compile time.
-- dM Assume all variables have been modified, and ignore current value -- dM Assume all variables have been modified, and ignore current value
-- indications. This debug flag disconnects the tracking of constant -- indications. This debug flag disconnects the tracking of constant
......
...@@ -2730,10 +2730,9 @@ package body Exp_Ch3 is ...@@ -2730,10 +2730,9 @@ package body Exp_Ch3 is
Actions := Build_Assignment (Id, Expression (Decl)); Actions := Build_Assignment (Id, Expression (Decl));
end if; end if;
-- CPU, Dispatching_Domain, Priority and -- CPU, Dispatching_Domain, Priority, and Secondary_Stack_Size
-- Secondary_Stack_Size components are filled with the -- components are filled in with the corresponding rep-item
-- corresponding rep item expression of the concurrent -- expression of the concurrent type (if any).
-- type (if any).
elsif Ekind (Scope (Id)) = E_Record_Type elsif Ekind (Scope (Id)) = E_Record_Type
and then Present (Corresponding_Concurrent_Type (Scope (Id))) and then Present (Corresponding_Concurrent_Type (Scope (Id)))
......
...@@ -11931,8 +11931,8 @@ package body Exp_Ch9 is ...@@ -11931,8 +11931,8 @@ package body Exp_Ch9 is
Get_Rep_Pragma (TaskId, Name_Storage_Size)))))))); Get_Rep_Pragma (TaskId, Name_Storage_Size))))))));
end if; end if;
-- Add the _Secondary_Stack_Size component if a -- Add the _Secondary_Stack_Size component if a Secondary_Stack_Size
-- Secondary_Stack_Size rep item is present. -- rep item is present.
if Has_Rep_Item (TaskId, Name_Secondary_Stack_Size, if Has_Rep_Item (TaskId, Name_Secondary_Stack_Size,
Check_Parents => False) Check_Parents => False)
......
...@@ -171,7 +171,7 @@ package body System.Secondary_Stack is ...@@ -171,7 +171,7 @@ package body System.Secondary_Stack is
-- Convert from address stored in task data structures -- Convert from address stored in task data structures
---------------------------------- ----------------------------------
-- Minumum_Secondary_Stack_Size -- -- Minimum_Secondary_Stack_Size --
---------------------------------- ----------------------------------
function Minimum_Secondary_Stack_Size return Natural is function Minimum_Secondary_Stack_Size return Natural is
......
...@@ -1054,7 +1054,7 @@ package Snames is ...@@ -1054,7 +1054,7 @@ package Snames is
-- names used internally by GNAT in order to deal with delayed aspects -- names used internally by GNAT in order to deal with delayed aspects
-- (Aspect_CPU, Aspect_Dispatching_Domain, Aspect_Interrupt_Priority, -- (Aspect_CPU, Aspect_Dispatching_Domain, Aspect_Interrupt_Priority,
-- Aspect_Secondary_Stack_Size) that don't have corresponding pragmas or -- Aspect_Secondary_Stack_Size) that don't have corresponding pragmas or
-- user-referencable attributes. -- user-referenceable attributes.
-- It is convenient to have these internal attributes available for -- It is convenient to have these internal attributes available for
-- processing the aspects, since the normal approach is to convert an -- processing the aspects, since the normal approach is to convert an
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment