[Bug rtl-optimization/123276] [16 regression] ICE when building GNAT (RTL check: expected code 'const_double' and not mode 'VOID', have code 'const_int' and mode 'VOID' in compress_float_constant, at expr.cc:4786)
cvs-commit at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Dec 24 01:46:19 GMT 2025
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=123276
--- Comment #6 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The trunk branch has been updated by Andrew Pinski <pinskia@gcc.gnu.org>:
https://gcc.gnu.org/g:2680785a6d14d7d78550edb8361f3b47eb5c4cb6
commit r16-6374-g2680785a6d14d7d78550edb8361f3b47eb5c4cb6
Author: Andrew Pinski <andrew.pinski@oss.qualcomm.com>
Date: Tue Dec 23 13:04:28 2025 -0800
ifcvt: Only allow scalar integral modes for noce_try_cond_zero_arith
[PR123276]
This is the simple fix for PR 123276 where this code can only handle scalar
integral modes. We could in theory handle scalar floating point modes here
too but it is not worth the trouble.
Pushed as obvious after bootstrap/test on x86_64-linux-gnu.
PR rtl-optimization/123276
gcc/ChangeLog:
* ifcvt.cc (noce_try_cond_zero_arith): Reject non-scalar integral
modes.
Signed-off-by: Andrew Pinski <andrew.pinski@oss.qualcomm.com>
More information about the Gcc-bugs
mailing list