[Bug c++/107260] The prvalue with the value 0 that is not a integer literal shouldn't convert to std::nullptr_t

mpolacek at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Oct 14 13:52:12 GMT 2022


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

--- Comment #3 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
I wonder if we could wrap the INTEGER_CST in a NOP_EXPR/V_C_E to make it clear
it's not an integer literal.


More information about the Gcc-bugs mailing list