Message ID | 20220705082940.GA3166724@adacore.com |
---|---|
State | New |
Headers | show |
Series | [Ada] Remove comment about a long gone formal verification mode | expand |
diff --git a/gcc/ada/sem_ch6.adb b/gcc/ada/sem_ch6.adb --- a/gcc/ada/sem_ch6.adb +++ b/gcc/ada/sem_ch6.adb @@ -2987,9 +2987,7 @@ package body Sem_Ch6 is procedure Check_Missing_Return; -- Checks for a function with a no return statements, and also performs - -- the warning checks implemented by Check_Returns. In formal mode, also - -- verify that a function ends with a RETURN and that a procedure does - -- not contain any RETURN. + -- the warning checks implemented by Check_Returns. function Disambiguate_Spec return Entity_Id; -- When a primitive is declared between the private view and the full