PR c++/84664
commit624b4ae0483d3b09ded0f423f55b5a123109ad54
authormpolacek <mpolacek@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 2 Mar 2018 17:55:28 +0000 (2 17:55 +0000)
committermpolacek <mpolacek@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 2 Mar 2018 17:55:28 +0000 (2 17:55 +0000)
treef0f14edfd5a86569d2157afb0d0aa8ce58c9c42e
parent15a3655caf7634772750bc16f8fb4e7d6b55211a
PR c++/84664
* typeck.c (cp_perform_integral_promotions): Check the result of
mark_rvalue_use.

* g++.dg/cpp0x/lambda/lambda-ice28.C: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@258149 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/cp/ChangeLog
gcc/cp/typeck.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/cpp0x/lambda/lambda-ice28.C [new file with mode: 0644]