Commit cbbdee52 by Arnaud Charlet

[multiple changes]

2009-04-16  Quentin Ochem  <ochem@adacore.com>

	* sinput-p.adb (Clear_Source_File_Table): Use Sinput.Initialize instead
	of Source.Init.

2009-04-16  Eric Botcazou  <ebotcazou@adacore.com>

	* a-convec.ads (Is_Empty): Mark inline.

2009-04-16  Nicolas Roche  <roche@adacore.com>

	* init.c (__gnat_init_float): Initialize FPU on x86_64 windows

2009-04-16  Thomas Quinot  <quinot@adacore.com>

	* prepcomp.adb: Minor reformatting

From-SVN: r146170
parent 7e8ed0a6
2009-04-16 Quentin Ochem <ochem@adacore.com>
* sinput-p.adb (Clear_Source_File_Table): Use Sinput.Initialize instead
of Source.Init.
2009-04-16 Eric Botcazou <ebotcazou@adacore.com>
* a-convec.ads (Is_Empty): Mark inline.
2009-04-16 Nicolas Roche <roche@adacore.com>
* init.c (__gnat_init_float): Initialize FPU on x86_64 windows
2009-04-16 Thomas Quinot <quinot@adacore.com>
* prepcomp.adb: Minor reformatting
2009-04-16 Jerome Lambourg <lambourg@adacore.com> 2009-04-16 Jerome Lambourg <lambourg@adacore.com>
* sem_prag.adb (Process_Import_Or_Interface): With .NET, * sem_prag.adb (Process_Import_Or_Interface): With .NET,
...@@ -310,6 +310,7 @@ private ...@@ -310,6 +310,7 @@ private
pragma Inline (Query_Element); pragma Inline (Query_Element);
pragma Inline (Update_Element); pragma Inline (Update_Element);
pragma Inline (Replace_Element); pragma Inline (Replace_Element);
pragma Inline (Is_Empty);
pragma Inline (Contains); pragma Inline (Contains);
pragma Inline (Next); pragma Inline (Next);
pragma Inline (Previous); pragma Inline (Previous);
......
...@@ -2194,7 +2194,7 @@ __gnat_install_handler (void) ...@@ -2194,7 +2194,7 @@ __gnat_install_handler (void)
void void
__gnat_init_float (void) __gnat_init_float (void)
{ {
#if defined (__i386__) || defined (i386) #if defined (__i386__) || defined (i386) || defined (__x86_64)
/* This is used to properly initialize the FPU on an x86 for each /* This is used to properly initialize the FPU on an x86 for each
process thread. */ process thread. */
......
...@@ -122,8 +122,7 @@ package body Prepcomp is ...@@ -122,8 +122,7 @@ package body Prepcomp is
-- Table to store the dependencies on preprocessing files -- Table to store the dependencies on preprocessing files
procedure Add_Command_Line_Symbols; procedure Add_Command_Line_Symbols;
-- Add the command line symbol definitions, if any, to the -- Add the command line symbol definitions, if any, to Prep.Mapping table
-- Prep.Mapping table.
procedure Skip_To_End_Of_Line; procedure Skip_To_End_Of_Line;
-- Ignore errors and scan up to the next end of line or the end of file -- Ignore errors and scan up to the next end of line or the end of file
...@@ -742,7 +741,7 @@ package body Prepcomp is ...@@ -742,7 +741,7 @@ package body Prepcomp is
Check_Command_Line_Symbol_Definition Check_Command_Line_Symbol_Definition
(Definition => Symbol_Definitions (Index).all, (Definition => Symbol_Definitions (Index).all,
Data => Symbol_Data); Data => Symbol_Data);
Found := False; Found := False;
-- If there is already a definition for this symbol, replace the old -- If there is already a definition for this symbol, replace the old
......
...@@ -89,7 +89,7 @@ package body Sinput.P is ...@@ -89,7 +89,7 @@ package body Sinput.P is
end loop; end loop;
Source_File.Free; Source_File.Free;
Source_File.Init; Sinput.Initialize;
end Clear_Source_File_Table; end Clear_Source_File_Table;
----------------------- -----------------------
......
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