Created attachment 1035648 [details] gcc log. Description of problem: gcc reports an internal error, and bails out. Version-Release number of selected component (if applicable): 5.1.1 How reproducible: always Steps to Reproduce: 1. See attachment 2. 3. Actual results: Expected results: Additional info: gcc 4.9 was able to compile this.
That can be done in standard C++ without relying on statement expressions: auto cb1=( handlerlock(vip), l.install_front([=] (const testvip &v) { seen->seen.push_back(v.n); } , *readlock(vip)) ); Construction of the temporary handlerlock is sequenced before the call to install_front, and it will be destroyed at the end of the full expression.
gcc-5.1.1-3.fc22,gcc-python-plugin-0.14-2.fc22 has been submitted as an update for Fedora 22. https://admin.fedoraproject.org/updates/gcc-5.1.1-3.fc22,gcc-python-plugin-0.14-2.fc22
Package gcc-5.1.1-3.fc22, gcc-python-plugin-0.14-2.fc22: * should fix your issue, * was pushed to the Fedora 22 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing gcc-5.1.1-3.fc22 gcc-python-plugin-0.14-2.fc22' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2015-9967/gcc-5.1.1-3.fc22,gcc-python-plugin-0.14-2.fc22 then log in and leave karma (feedback).
gcc-5.1.1-3.fc22, gcc-python-plugin-0.14-2.fc22 has been pushed to the Fedora 22 stable repository. If problems still persist, please make note of it in this bug report.