Assertion failed with exact integer model in presence of unions
ID0000341:
**This issue was created automatically from Mantis Issue 341. Further discussion may take place here.**
---
| **Id** | **Project** | **Category** | **View** | **Due Date** | **Updated** |
| --- | --- | --- | --- | --- | --- |
| ID0000341 | Frama-C | Plug-in > jessie | public | 2009-11-23 | 2009-12-03 |
| | | | | | |
| --- | --- | --- | --- | --- | --- |
| **Reporter** | nrousset | **Assigned To** | cmarche | **Resolution** | fixed |
| **Priority** | normal | **Severity** | minor | **Reproducibility** | always |
| **Platform** | - | **OS** | - | **OS Version** | - |
| **Product Version** | Frama-C Beryllium-20090902 | **Target Version** | - | **Fixed in Version** | - |
### Description :
(Note: union1.c is taken from the Jessie Plugin Tutorial, chapter 6)
$ frama-c -jessie -jessie-int-model exact union1.c
File "jc/jc_interp.ml", line 1629, characters 13-13:
Uncaught exception: File "jc/jc_interp.ml", line 1629, characters 13-19: Assertion failed
### Additional Information :
For some reasons, functions (logic_bitvector_of_native, logic_native_of_bitvector, tr_native_type) are commented in jc_interp_misc.ml and jc_interp.ml, but uncommenting them does not magically fix the problem.
## Attachments
- [union1.c](/uploads/282ff1e0db47c4874ee64f52e024a576/union1.c)
issue