Skip to content
Snippets Groups Projects
Commit a7ac7108 authored by Fonenantsoa Maurica's avatar Fonenantsoa Maurica
Browse files

Addresses Julien's review on the doc:

- BTS #!1354 is actually not yet fixed
- Logic functions and logic global variables are not yet supported
- Better description of features that are not yet implemented
- Add missing \cinput files
parent 2dc461af
No related branches found
No related tags found
No related merge requests found
...@@ -20,7 +20,6 @@ ...@@ -20,7 +20,6 @@
############################################################################### ###############################################################################
-* E-ACSL [2018/10/04] Support for \at on purely logic variables. -* E-ACSL [2018/10/04] Support for \at on purely logic variables.
Fix bug #2354 about undeclared variables when using \at.
Fix bug #1762 about out-of-scope variables when using \old. Fix bug #1762 about out-of-scope variables when using \old.
* E-ACSL [2018/10/02] Fix bug #2305 about taking the address of a * E-ACSL [2018/10/02] Fix bug #2305 about taking the address of a
bitfield. bitfield.
......
main(void) {
int m = 2;
int n = 7;;
K: ;
n = 875;
/*@ assert
\let k = 3;
\exists integer u; 9 <= u < 21 &&
\forall integer v; -5 < v <= (u < 15 ? u + 6 : k) ==>
\at(n + u + v > 0, K); */ ;
return 0;
}
/*@ ensures \forall int i; 0 <= i < n-1 ==> \old(t[i]) == t[i+1]; */
void reverse(int *t, int n) { }
...@@ -523,14 +523,14 @@ The \verb|\at| construct of the following example is supported. ...@@ -523,14 +523,14 @@ The \verb|\at| construct of the following example is supported.
\begin{notimplementedenv} \begin{notimplementedenv}
However, quantified variables and let-binded variables that use C variables in However, quantified variables that use C variables in their bounds and
their definition are not yet supported. Also, uses of formal variables of let-binded variables that use C variables in their definition
logic functions and global logic variables are not yet supported. are not yet supported.
\begin{example} \begin{example}
The \verb|\at| construct of the following example is \emph{not yet} supported The \verb|\at| construct of the following example is \emph{not yet} supported
since the let-binded variable \verb|w| uses C variables, namely \verb|m| and since the quantified variable \verb|i| uses the C variable \verb|n| in the
\verb|n|, in its definition. definition of its upper bound.
\cinput{at_on-purely-logic-variables_not-yet.c} \cinput{at_on-purely-logic-variables_not-yet.c}
\end{example} \end{example}
......
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