Comparison of different types in acsl clause causes segmentation fault
ID0001902:
**This issue was created automatically from Mantis Issue 1902. Further discussion may take place here.**
---
| **Id** | **Project** | **Category** | **View** | **Due Date** | **Updated** |
| --- | --- | --- | --- | --- | --- |
| ID0001902 | Frama-Clang | Plug-in > clang | public | 2014-07-30 | 2015-02-17 |
| | | | | | |
| --- | --- | --- | --- | --- | --- |
| **Reporter** | lapawczykt | **Assigned To** | virgile | **Resolution** | fixed |
| **Priority** | normal | **Severity** | minor | **Reproducibility** | have not tried |
| **Platform** | - | **OS** | xubuntu 64 bit | **OS Version** | 14.04 |
| **Product Version** | Frama-C Neon-20140301 | **Target Version** | Frama-C Neon-20140301 | **Fixed in Version** | - |
### Description :
A comparison between e.g. an int and a short is normaly translated to a cast and a following comparison in the normalised version. This works fine in C but in C++ a comparison of e.g. an int and a short in an acsl clause causes a segmentation fault.
## Attachments
- [problem311.cpp](/uploads/52700e19e5d6a83f949b1919c42187a1/problem311.cpp)
issue