block-local variables not handled correctly in conjunction with -ulevel
ID0000244:
**This issue was created automatically from Mantis Issue 244. Further discussion may take place here.**
---
| **Id** | **Project** | **Category** | **View** | **Due Date** | **Updated** |
| --- | --- | --- | --- | --- | --- |
| ID0000244 | Frama-C | Plug-in > Eva | public | 2009-09-14 | 2014-02-12 |
| | | | | | |
| --- | --- | --- | --- | --- | --- |
| **Reporter** | pascal | **Assigned To** | pascal | **Resolution** | fixed |
| **Priority** | normal | **Severity** | major | **Reproducibility** | always |
| **Platform** | - | **OS** | - | **OS Version** | - |
| **Product Version** | Frama-C Beryllium-20090901 | **Target Version** | - | **Fixed in Version** | Frama-C Carbon-20101201-beta1 |
### Description :
int R,*p;
void main(void)
{
int a,i;
a=2;
for(i=0; i<2; i++)
{
int u=a;
p = &u;
}
R = *p;
}
Commandline:
bin/toplevel.opt -val u.c -ulevel 5
Result:
R ? {2; }
Should be:
NON TERMINATING FUNCTION
issue