Commit 9d951866 by Hristian Kirtchev Committed by Pierre-Marie de Rodat

[Ada] Add a No_Return annotation to ease static analysis

2018-09-26  Hristian Kirtchev  <kirtchev@adacore.com>

gcc/ada/

	* sem_ch5.adb (Wrap_Loop_Statement): Annotate as No_Return.

From-SVN: r264627
parent 6cd1ee98
2018-09-26 Hristian Kirtchev <kirtchev@adacore.com>
* sem_ch5.adb (Wrap_Loop_Statement): Annotate as No_Return.
2018-09-26 Ed Schonberg <schonberg@adacore.com>
* exp_util.adb (Make_Predicate_Call): Use OK_Convert_To when
......
......@@ -3429,7 +3429,8 @@ package body Sem_Ch5 is
-- for transformation if needed.
procedure Wrap_Loop_Statement (Manage_Sec_Stack : Boolean);
pragma Inline (Wrap_Loop_Statement);
pragma Inline (Wrap_Loop_Statement);
pragma No_Return (Wrap_Loop_Statement);
-- Wrap loop statement N within a block. Flag Manage_Sec_Stack must
-- be set when the block must mark and release the secondary stack.
......
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