Skip to content

Commit 4e76011

Browse files
Cast floatbv arguments to parameter types on inlining
1 parent df709df commit 4e76011

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/goto-programs/goto_inline.cpp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,11 @@ void goto_inlinet::parameter_assignments(
122122
{
123123
actual.make_typecast(par_type);
124124
}
125+
else if(f_partype.id()==ID_floatbv &&
126+
f_acttype.id()==ID_floatbv)
127+
{
128+
actual.make_typecast(par_type);
129+
}
125130
else
126131
{
127132
error().source_location=actual.find_source_location();

0 commit comments

Comments
 (0)