This is the mail archive of the gcc-bugs@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]

[Bug c++/63757] nullptr conversion sequence fails to compile


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

--- Comment #2 from paolo at gcc dot gnu.org <paolo at gcc dot gnu.org> ---
Author: paolo
Date: Wed Nov 26 20:11:16 2014
New Revision: 218098

URL: https://gcc.gnu.org/viewcvs?rev=218098&root=gcc&view=rev
Log:
/cp
2014-11-26  Paolo Carlini  <paolo.carlini@oracle.com>

    PR c++/63757
    * call.c (standard_conversion): Do not require expr to be non-null
    when NULLPTR_TYPE_P (from) is true.

/testsuite
2014-11-26  Paolo Carlini  <paolo.carlini@oracle.com>

    PR c++/63757
    * g++.dg/cpp0x/nullptr33.C: New.

Added:
    trunk/gcc/testsuite/g++.dg/cpp0x/nullptr33.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/call.c
    trunk/gcc/testsuite/ChangeLog


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