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++/52988] std::async not executed on function returning nullptr_t


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


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