Skip to content
Snippets Groups Projects
Commit 7f0bf785 authored by Kostyantyn Vorobyov's avatar Kostyantyn Vorobyov
Browse files

Merge branch 'bugfix/julien/ctype_to_gmp' into 'master'

Fix 2 bugs with integer casts

This MR fixes two bugs with integer casts:
- when generating a new variable corresponding to a cast ```(ty)t```, its type was the one of the translation of ```t```, not ```ty```
- for a cast ```(ty)t``` the implementation of the type system didn't compute the smallest interval from both operands. It might result in incorrectness of the generated code as reported in https://bts.frama-c.com/view.php?id=2231 (which is now fixed). I guess this patch also solves your gmp issue with SpecCPU Benchmark.

See merge request !78
parents b58a96bb 1dce17eb
No related branches found
No related tags found
Loading
Showing
with 97 additions and 21 deletions
Loading
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