https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120691
--- Comment #1 from Marc Adams <madams846 at hotmail dot com> --- I tested my larger program on a wide range of input values and it only failed when it converted integer value '9825' to Decimal128 then divide by '10000'. A work-around could be to convert int to double then to Decimal128.