This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [C++ PATCH] Fix value initialized decltype(nullptr) in constexpr (PR c++/85553)


On 27/04/2018 22:25, Paolo Carlini wrote:
Hi,

On 27/04/2018 22:13, Jason Merrill wrote:
Ok
Maybe for 8.2.0 or whatever, would it make sense to special case convert itself? See what we do in, say, decay_conversion, we aren't afraid to immediately return nullptr_node...
... or more generally ocp_convert which already handles explicitly NULLPTR_TYPE, I'm coming to the conclusion that something is wrong or missing in it.

Paolo.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]