re PR c++/61402 (-Wsequence-point doesn't notice unsequenced lambda init and function...
authorJason Merrill <jason@redhat.com>
Fri, 12 Dec 2014 16:43:16 +0000 (11:43 -0500)
committerJason Merrill <jason@gcc.gnu.org>
Fri, 12 Dec 2014 16:43:16 +0000 (11:43 -0500)
commit18e780d460928cdbcd78b1dcbaf2bda9b8d0537c
treefc93cb696974d6d6f9a464daaf1235e8c443c3ea
parent0f3d27f01a5d86b3f7a9323d2b7fe1aa11f6ad2b
re PR c++/61402 (-Wsequence-point doesn't notice unsequenced lambda init and function argument)

PR c++/61402
* lambda.c (add_capture): Don't pass a dependent type to
variably_modified_type_p.

From-SVN: r218680
gcc/cp/ChangeLog
gcc/cp/lambda.c
gcc/testsuite/g++.dg/cpp1y/lambda-init11.C [new file with mode: 0644]