[Bug tree-optimization/126464] [13/14/15 Regression] wrong code with FP ranges since r13-3926
cvs-commit at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Aug 27 14:12:01 GMT 2026
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=126464
--- Comment #22 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-15 branch has been updated by Jakub Jelinek
<jakub@gcc.gnu.org>:
https://gcc.gnu.org/g:a47ba832ccfd4d75bd711feea2aa1af8b58afa63
commit r15-11518-ga47ba832ccfd4d75bd711feea2aa1af8b58afa63
Author: Jakub Jelinek <jakub@redhat.com>
Date: Tue Aug 4 21:42:49 2026 +0200
testsuite: Fix up gcc.dg/pr126464.c test [PR126464]
On Tue, Aug 04, 2026 at 02:13:19PM +0200, Torbjorn SVENSSON wrote:
> This causes regression on most (all?) arm-none-eabi targets.
> /build/gcc_src/gcc/testsuite/gcc.dg/pr126464.c:56:3: warning: floating
constant exceeds range of 'long double' [-Woverflow]
This patch guards it with preprocessor tests whether such floating point
constants are representable.
2026-08-04 Jakub Jelinek <jakub@redhat.com>
PR tree-optimization/126464
* gcc.dg/pr126464.c: Guard uses of 1e300 with
__DBL_MAX_10_EXP__ >= 301 and uses of 1e4000L with
__LDBL_MAX_10_EXP__ >= 4001.
Reviewed-by: Andrea Pinski <andrew.pinski@oss.qualcomm.com>
(cherry picked from commit b5b0203b8c3b7cee4e65a09e4443f948dee434b4)
More information about the Gcc-bugs
mailing list