Skip to content
Snippets Groups Projects
Commit a1198973 authored by Piotr Trojanek's avatar Piotr Trojanek Committed by Pierre-Marie de Rodat
Browse files

[Ada] Cleanup a statically true condition in expanded raise statement

gcc/ada/

	* exp_ch4.adb (Apply_Accessibility_Check): Skip a statically
	true condition in expanded raise statement.
parent 67207bd6
No related branches found
No related tags found
No related merge requests found
...@@ -737,8 +737,7 @@ package body Exp_Ch4 is ...@@ -737,8 +737,7 @@ package body Exp_Ch4 is
   
Append_To (Stmts, Append_To (Stmts,
Make_Raise_Program_Error (Loc, Make_Raise_Program_Error (Loc,
Condition => New_Occurrence_Of (Standard_True, Loc), Reason => PE_Accessibility_Check_Failed));
Reason => PE_Accessibility_Check_Failed));
   
-- Step 2: Create the accessibility comparison -- Step 2: Create the accessibility comparison
   
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment