This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/85553] [8/9 Regression] cannot list-initialize a variable of type std::nullptr_t
- From: "paolo.carlini at oracle dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 27 Apr 2018 17:50:59 +0000
- Subject: [Bug c++/85553] [8/9 Regression] cannot list-initialize a variable of type std::nullptr_t
- Auto-submitted: auto-generated
- References: <bug-85553-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85553
--- Comment #4 from Paolo Carlini <paolo.carlini at oracle dot com> ---
I see. Then, my humble opinion (we got Jason in CC, anyway) is that if we are
still hoping to have this fixed in 8.1.0 we should just go ahead with something
rather straightforward like your tweak, otherwise we should probably
investigate the constexpr.c behavior a little more, because I don't really see
why going from integer_zero_node to NULLPTR_TYPE_P is "better" than going from
nullptr_node to NULLPTR_TYPE_P, if you see what I mean.