]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR c++/52988 (std::async not executed on function returning nullptr_t)
authorJason Merrill <jason@redhat.com>
Mon, 25 Jun 2012 20:37:14 +0000 (16:37 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Mon, 25 Jun 2012 20:37:14 +0000 (16:37 -0400)
commita05069d8ad6ef7c7a7c9a3353c278d5ee91c3290
tree0b611148c8753de5105839c95fa01e8de2d9fc91
parent62cc83f9586e1e9f8d3c60431ceee78f51795882
re PR c++/52988 (std::async not executed on function returning nullptr_t)

PR c++/52988
* typeck.c (decay_conversion): Don't discard side-effects from
expressions of nullptr_t.

From-SVN: r188953
gcc/cp/ChangeLog
gcc/cp/typeck.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/cpp0x/nullptr28.C [new file with mode: 0644]