Commit e3dd53ec by Arnaud Charlet

Minor reformatting.

From-SVN: r146697
parent 481f29eb
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
-- -- -- --
-- B o d y -- -- B o d y --
-- -- -- --
-- Copyright (C) 1999-2009 Free Software Foundation, Inc. -- -- Copyright (C) 1999-2009, Free Software Foundation, Inc. --
-- -- -- --
-- GNARL is free software; you can redistribute it and/or modify it under -- -- GNARL is free software; you can redistribute it and/or modify it under --
-- terms of the GNU General Public License as published by the Free Soft- -- -- terms of the GNU General Public License as published by the Free Soft- --
...@@ -156,7 +156,6 @@ package body System.OS_Interface is ...@@ -156,7 +156,6 @@ package body System.OS_Interface is
function lwp_self return Address is function lwp_self return Address is
function pthread_mach_thread_np (thread : pthread_t) return Address; function pthread_mach_thread_np (thread : pthread_t) return Address;
pragma Import (C, pthread_mach_thread_np, "pthread_mach_thread_np"); pragma Import (C, pthread_mach_thread_np, "pthread_mach_thread_np");
begin begin
return pthread_mach_thread_np (pthread_self); return pthread_mach_thread_np (pthread_self);
end lwp_self; end lwp_self;
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
-- S p e c -- -- S p e c --
-- -- -- --
-- Copyright (C) 1991-1994, Florida State University -- -- Copyright (C) 1991-1994, Florida State University --
-- Copyright (C) 1995-2008, Free Software Foundation, Inc. -- -- Copyright (C) 1995-2009, Free Software Foundation, Inc. --
-- -- -- --
-- GNARL is free software; you can redistribute it and/or modify it under -- -- GNARL is free software; you can redistribute it and/or modify it under --
-- terms of the GNU General Public License as published by the Free Soft- -- -- terms of the GNU General Public License as published by the Free Soft- --
......
...@@ -212,11 +212,17 @@ package body Sem_Warn is ...@@ -212,11 +212,17 @@ package body Sem_Warn is
end if; end if;
-- Check multiple code statements in a row -- Check multiple code statements in a row
-- Note : the following code is now unreachable, because Asm statements
-- Note: the following code is now unreachable, because Asm statements
-- are procedure calls whose actuals are concatenations, and as a result -- are procedure calls whose actuals are concatenations, and as a result
-- of a recent stack usage optimization each such call has its own -- of a recent stack usage optimization each such call has its own
-- block. -- block.
-- Are they always concatenations??? if so why not remove this code???
-- And indeed if we are really losing this warning, that's really bad
-- and we need to put it back ???
if Is_List_Member (N) if Is_List_Member (N)
and then Present (Prev (N)) and then Present (Prev (N))
and then Nkind (Prev (N)) = N_Code_Statement and then Nkind (Prev (N)) = N_Code_Statement
......
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