Open
Description
Steps to reproduce:
- Run cbmc on regression/cbmc/pointer-function-parameters-2/main.c with the flags "--function fun --cover branch".
Actual results:
In the output, the following lines appear.
Test suite:
a=((signed int **)NULL), tmp$1=((signed int *)NULL) + 1, tmp$2=0
a=&tmp$1!0, tmp$1=((signed int *)NULL), tmp$2=0
a=&tmp$1!0, tmp$1=&tmp$2!0, tmp$2=0
a=&tmp$1!0, tmp$1=&tmp$2!0, tmp$2=4
Expected results:
The variable names in the address-of expressions shouldn't have the "!0" suffixes.
Discussion:
The "!0" are used in the ssa phase to indicate the thread, but they should have been removed when the ssa-trace was transformed into goto-trace. I think that this isn't working for address-of expression on the right hand side.