Commit 804ff4c3 by Arnaud Charlet

[multiple changes]

2011-09-15  Robert Dewar  <dewar@adacore.com>

	* tree_io.ads: Minor reformatting.
	* a-intnam.ads: Fix bad header.

2011-09-15  Thomas Quinot  <quinot@adacore.com>

	* a-exexpr-gcc.adb: Minor reformatting.

2011-09-15  Yannick Moy  <moy@adacore.com>

	* sem_ch6.adb: Propagate information that an expression function comes
	from source (otherwise references to this entity are not stored).

From-SVN: r178878
parent 0b5b2bbc
2011-09-15 Robert Dewar <dewar@adacore.com> 2011-09-15 Robert Dewar <dewar@adacore.com>
* tree_io.ads: Minor reformatting.
* a-intnam.ads: Fix bad header.
2011-09-15 Thomas Quinot <quinot@adacore.com>
* a-exexpr-gcc.adb: Minor reformatting.
2011-09-15 Yannick Moy <moy@adacore.com>
* sem_ch6.adb: Propagate information that an expression function comes
from source (otherwise references to this entity are not stored).
2011-09-15 Robert Dewar <dewar@adacore.com>
* a-cdlili.adb, a-coinve.adb, a-stzunb-shared.ads, a-suezst.adb, * a-cdlili.adb, a-coinve.adb, a-stzunb-shared.ads, a-suezst.adb,
a-suenco.adb, a-stwiun-shared.ads, a-cobove.adb, a-convec.adb, a-suenco.adb, a-stwiun-shared.ads, a-cobove.adb, a-convec.adb,
a-btgbso.adb, a-cbdlli.adb, a-suewst.adb: Minor reformatting. a-btgbso.adb, a-cbdlli.adb, a-suewst.adb: Minor reformatting.
......
...@@ -441,8 +441,7 @@ package body Exception_Propagation is ...@@ -441,8 +441,7 @@ package body Exception_Propagation is
-- Unwind_RaiseException to actually do the raise, taking care of -- Unwind_RaiseException to actually do the raise, taking care of
-- handling the two phase scheme it implements. -- handling the two phase scheme it implements.
procedure Propagate_Exception procedure Propagate_Exception is
is
Excep : constant EOA := Get_Current_Excep.all; Excep : constant EOA := Get_Current_Excep.all;
GCC_Exception : GNAT_GCC_Exception_Access; GCC_Exception : GNAT_GCC_Exception_Access;
......
...@@ -6,10 +6,23 @@ ...@@ -6,10 +6,23 @@
-- -- -- --
-- S p e c -- -- S p e c --
-- -- -- --
-- This specification is derived from the Ada Reference Manual for use with -- -- Copyright (C) 1995-2011, Free Software Foundation, Inc. --
-- GNAT. In accordance with the copyright of that document, you can freely -- -- --
-- copy and modify this specification, provided that if you redistribute a -- -- GNAT is free software; you can redistribute it and/or modify it under --
-- modified version, any changes that you have made are clearly indicated. -- -- terms of the GNU General Public License as published by the Free Soft- --
-- ware Foundation; either version 3, or (at your option) any later ver- --
-- sion. GNAT is distributed in the hope that it will be useful, but WITH- --
-- OUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY --
-- or FITNESS FOR A PARTICULAR PURPOSE. --
-- --
-- As a special exception under Section 7 of GPL version 3, you are granted --
-- additional permissions described in the GCC Runtime Library Exception, --
-- version 3.1, as published by the Free Software Foundation. --
-- --
-- You should have received a copy of the GNU General Public License and --
-- a copy of the GCC Runtime Library Exception along with this program; --
-- see the files COPYING3 and COPYING.RUNTIME respectively. If not, see --
-- <http://www.gnu.org/licenses/>. --
-- -- -- --
------------------------------------------------------------------------------ ------------------------------------------------------------------------------
......
...@@ -325,7 +325,14 @@ package body Sem_Ch6 is ...@@ -325,7 +325,14 @@ package body Sem_Ch6 is
New_Decl := New_Decl :=
Make_Subprogram_Declaration (Loc, Make_Subprogram_Declaration (Loc,
Specification => Copy_Separate_Tree (Specification (N))); Specification => Copy_Separate_Tree (Specification (N)));
-- Do rewrite setting Comes_From_Source on the result if the original
-- expression function came from source.
Rewrite (N, New_Decl); Rewrite (N, New_Decl);
Set_Comes_From_Source
(Defining_Entity (N), Comes_From_Source (Def_Id));
Analyze (N); Analyze (N);
Set_Is_Inlined (Defining_Entity (New_Decl)); Set_Is_Inlined (Defining_Entity (New_Decl));
......
...@@ -54,7 +54,7 @@ package Tree_IO is ...@@ -54,7 +54,7 @@ package Tree_IO is
-- format that would result in the compiler being incompatible with an -- format that would result in the compiler being incompatible with an
-- older version of ASIS. -- older version of ASIS.
-- --
-- 27 2011-09-06 Changes in the tree structures for expression functions -- 27 Changes in the tree structures for expression functions
procedure Tree_Read_Initialize (Desc : File_Descriptor); procedure Tree_Read_Initialize (Desc : File_Descriptor);
-- Called to initialize reading of a tree file. This call must be made -- Called to initialize reading of a tree file. This call must be made
......
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