[Bug c++/52988] std::async not executed on function returning nullptr_t
jason at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Jun 25 20:38:00 GMT 2012
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52988
--- Comment #6 from Jason Merrill <jason at gcc dot gnu.org> 2012-06-25 20:37:30 UTC ---
Author: jason
Date: Mon Jun 25 20:37:25 2012
New Revision: 188954
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=188954
Log:
PR c++/52988
* typeck.c (decay_conversion): Don't discard side-effects from
expressions of nullptr_t.
Added:
branches/gcc-4_7-branch/gcc/testsuite/g++.dg/cpp0x/nullptr28.C
Modified:
branches/gcc-4_7-branch/gcc/cp/ChangeLog
branches/gcc-4_7-branch/gcc/cp/typeck.c
branches/gcc-4_7-branch/gcc/testsuite/ChangeLog
More information about the Gcc-bugs
mailing list