[Bug c++/123361] False positive "narrowing conversion of 'value' from 'int32_t' {aka 'int'} to 'double'"?

pinskia at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Jan 1 21:42:44 GMT 2026


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=123361

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
The part you copied was only for constant expressions:
>except where the source is a constant expression 

In neither of your cases below is the source a constant expression.


More information about the Gcc-bugs mailing list