[Bug rtl-optimization/97439] Wrong min value generated for DFP numbers
cvs-commit at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Oct 22 10:39:04 GMT 2020
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97439
--- Comment #3 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Andreas Krebbel <krebbel@gcc.gnu.org>:
https://gcc.gnu.org/g:e3f25eac67aee77af0b2038cd4d6cbd36d7f1030
commit r11-4223-ge3f25eac67aee77af0b2038cd4d6cbd36d7f1030
Author: Andreas Krebbel <krebbel@linux.ibm.com>
Date: Thu Oct 22 12:24:22 2020 +0200
Fix PR97439
decimal_real_maxval misses to set the sign flag in the REAL_VALUE_TYPE.
gcc/ChangeLog:
PR rtl-optimization/97439
* dfp.c (decimal_real_maxval): Set the sign flag in the
generated number.
gcc/testsuite/ChangeLog:
* gcc.dg/dfp/pr97439.c: New test.
More information about the Gcc-bugs
mailing list