Commit a7209434 by Arnaud Charlet

[multiple changes]

2009-07-13  Robert Dewar  <dewar@adacore.com>

	* output.adb: Minor comment addition for last change

	* sinfo.ads: Minor reformatting

2009-07-13  Vasiliy Fofanov  <fofanov@adacore.com>

	* adaint.c (__gnat_portable_no_block_spawn): on Windows, return -1 when
	spawn failed like on all other targets.

2009-07-13  Ed Schonberg  <schonberg@adacore.com>

	* exp_ch7.adb: Indicate origin of temporary for transient expression.

From-SVN: r149584
parent ef76538f
2009-07-13 Robert Dewar <dewar@adacore.com>
* output.adb: Minor comment addition for last change
* sinfo.ads: Minor reformatting
2009-07-13 Vasiliy Fofanov <fofanov@adacore.com>
* adaint.c (__gnat_portable_no_block_spawn): on Windows, return -1 when
spawn failed like on all other targets.
2009-07-13 Ed Schonberg <schonberg@adacore.com>
* exp_ch7.adb: Indicate origin of temporary for transient expression.
2009-07-13 Thomas Quinot <quinot@adacore.com> 2009-07-13 Thomas Quinot <quinot@adacore.com>
* s-oscons-tmplt.c: Add comment. * s-oscons-tmplt.c: Add comment.
......
...@@ -2511,9 +2511,12 @@ __gnat_portable_no_block_spawn (char *args[]) ...@@ -2511,9 +2511,12 @@ __gnat_portable_no_block_spawn (char *args[])
h = win32_no_block_spawn (args[0], args); h = win32_no_block_spawn (args[0], args);
if (h != NULL) if (h != NULL)
add_handle (h); {
add_handle (h);
return GetProcessId (h); return GetProcessId (h);
}
else
return -1;
#else #else
......
...@@ -3556,6 +3556,10 @@ package body Exp_Ch7 is ...@@ -3556,6 +3556,10 @@ package body Exp_Ch7 is
Etyp : constant Entity_Id := Etype (N); Etyp : constant Entity_Id := Etype (N);
begin begin
-- Indicate the origin of the temporary, for better reports
-- in CodePeer.
Set_Related_Expression (E, N);
Insert_Actions (N, New_List ( Insert_Actions (N, New_List (
Make_Object_Declaration (Loc, Make_Object_Declaration (Loc,
Defining_Identifier => E, Defining_Identifier => E,
......
...@@ -29,6 +29,10 @@ ...@@ -29,6 +29,10 @@
-- -- -- --
------------------------------------------------------------------------------ ------------------------------------------------------------------------------
-- Note: the pragma Warnings (Off) here is because ASIS compiles this unit
-- without -gnatg, and System.OS_Lib is an implementation unit. This is a
-- temporary kludge which will be better resolved later on ???
pragma Warnings (Off); pragma Warnings (Off);
with System.OS_Lib; use System.OS_Lib; with System.OS_Lib; use System.OS_Lib;
pragma Warnings (On); pragma Warnings (On);
......
...@@ -671,7 +671,6 @@ package Sinfo is ...@@ -671,7 +671,6 @@ package Sinfo is
-- Comes_From_Extended_Return_Statement (Flag18-Sem) -- Comes_From_Extended_Return_Statement (Flag18-Sem)
-- Present in N_Simple_Return_Statement nodes. True if this node was -- Present in N_Simple_Return_Statement nodes. True if this node was
-- constructed as part of the N_Extended_Return_Statement expansion. -- constructed as part of the N_Extended_Return_Statement expansion.
-- .
-- Compile_Time_Known_Aggregate (Flag18-Sem) -- Compile_Time_Known_Aggregate (Flag18-Sem)
-- Present in N_Aggregate nodes. Set for aggregates which can be fully -- Present in N_Aggregate nodes. Set for aggregates which can be fully
......
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