[C++] compiler incompatibility with lambdas
authorNathan Sidwell <nathan@acm.org>
Mon, 25 Mar 2019 12:22:47 +0000 (12:22 +0000)
committerNathan Sidwell <nathan@gcc.gnu.org>
Mon, 25 Mar 2019 12:22:47 +0000 (12:22 +0000)
commitd03f6e7bf321767f80c8474fb5aa8c60226bf445
tree972bced8a969cede04916e0f2d378885437d927f
parentc0eb90b5db85f59f031a827755a978772072f44d
[C++] compiler incompatibility with lambdas

https://gcc.gnu.org/ml/gcc-patches/2019-03/msg00982.html
* lambda.c (maybe_add_lambda_conv_op): Don't add to comdat group.
* g++.dg/abi/lambda-static-1.C: New.

From-SVN: r269915
gcc/cp/ChangeLog
gcc/cp/lambda.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/abi/lambda-static-1.C [new file with mode: 0644]