File tree Expand file tree Collapse file tree 3 files changed +18
-1
lines changed Expand file tree Collapse file tree 3 files changed +18
-1
lines changed Original file line number Diff line number Diff line change
1
+ int main ()
2
+ {
3
+ double d = 5.1 ;
4
+ __CPROVER_assert (0 , "" );
5
+ return 0 ;
6
+ }
Original file line number Diff line number Diff line change
1
+ CORE
2
+ main.c
3
+ --win32 --xml-ui
4
+ ^EXIT=10$
5
+ ^SIGNAL=0$
6
+ VERIFICATION FAILED
7
+ <full_lhs_value>5\.1</full_lhs_value>
8
+ --
9
+ ^warning: ignoring
10
+ <full_lhs_value>5\.1l</full_lhs_value>
Original file line number Diff line number Diff line change @@ -1859,7 +1859,8 @@ std::string expr2ct::convert_constant(
1859
1859
// ANSI-C: double is default; float/long-double require annotation
1860
1860
if (src.type ()==float_type ())
1861
1861
dest+=' f' ;
1862
- else if (src.type ()==long_double_type ())
1862
+ else if (src.type ()==long_double_type () &&
1863
+ double_type ()!=long_double_type ())
1863
1864
dest+=' l' ;
1864
1865
}
1865
1866
else if (dest.size ()==4 &&
You can’t perform that action at this time.
0 commit comments