[Bug 1338254] [NEW] internal error on lambda as argument
Victor-Nicolae Savu
unique_lock-bugs at yahoo.com
Sun Jul 6 15:50:41 UTC 2014
Public bug reported:
1) The release of Ubuntu I am using:
$ lsb_release -rd
Description: Ubuntu 14.04 LTS
Release: 14.04
2) The package version:
$ apt-cache policy g++
g++:
Installed: 4:4.8.2-1ubuntu6
Candidate: 4:4.8.2-1ubuntu6
Version table:
*** 4:4.8.2-1ubuntu6 0
500 http://ch.archive.ubuntu.com/ubuntu/ trusty/main amd64 Packages
100 /var/lib/dpkg/status
3) What I expected to happen:
I expected the source file "test.cc" to compile correctly, using the
compiler command:
g++ -std=c++1y test.cc
4) What happened instead:
Compiler output:
test.cc: In instantiation of ‘struct S<int>::__lambda0’:
test.cc:15:8: required from here
test.cc:18:8: internal compiler error: in tsubst_copy, at cp/pt.c:12125
B b{[this]() { foo(); }};
^
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-4.8/README.Bugs> for instructions.
Preprocessed source stored into /tmp/ccgECJVP.out file, please attach this to your bugreport.
** Affects: gcc-4.8 (Ubuntu)
Importance: Undecided
Status: New
** Attachment added: "Preprocessed source"
https://bugs.launchpad.net/bugs/1338254/+attachment/4146654/+files/ccgECJVP.out
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to gcc-4.8 in Ubuntu.
https://bugs.launchpad.net/bugs/1338254
Title:
internal error on lambda as argument
Status in “gcc-4.8” package in Ubuntu:
New
Bug description:
1) The release of Ubuntu I am using:
$ lsb_release -rd
Description: Ubuntu 14.04 LTS
Release: 14.04
2) The package version:
$ apt-cache policy g++
g++:
Installed: 4:4.8.2-1ubuntu6
Candidate: 4:4.8.2-1ubuntu6
Version table:
*** 4:4.8.2-1ubuntu6 0
500 http://ch.archive.ubuntu.com/ubuntu/ trusty/main amd64 Packages
100 /var/lib/dpkg/status
3) What I expected to happen:
I expected the source file "test.cc" to compile correctly, using the
compiler command:
g++ -std=c++1y test.cc
4) What happened instead:
Compiler output:
test.cc: In instantiation of ‘struct S<int>::__lambda0’:
test.cc:15:8: required from here
test.cc:18:8: internal compiler error: in tsubst_copy, at cp/pt.c:12125
B b{[this]() { foo(); }};
^
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-4.8/README.Bugs> for instructions.
Preprocessed source stored into /tmp/ccgECJVP.out file, please attach this to your bugreport.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gcc-4.8/+bug/1338254/+subscriptions
More information about the foundations-bugs
mailing list