fold-convround-1.c
936 Bytes
-
re PR middle-end/28473 (with -O, casting result of round(x) to uint64_t produces… · 738764ef
re PR middle-end/28473 (with -O, casting result of round(x) to uint64_t produces wrong values for x > INT_MAX) PR middle-end/28473 * convert.c (convert_to_integer): When transforming (T)foo(x) into bar(x) check that bar's result type can represent all the values of T. * gcc.dg/fold-convround-1.c: New test case. From-SVN: r115742
Roger Sayle committed