[Bug c++/88869] [7/8/9 Regression] ICE (Segmentation Fault) when using lambda
jakub at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Jan 16 10:50:00 GMT 2019
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88869
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Priority|P3 |P5
CC| |jason at gcc dot gnu.org
Target Milestone|--- |7.5
Summary|ICE (Segmentation Fault) |[7/8/9 Regression] ICE
|when using lambda |(Segmentation Fault) when
| |using lambda
--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Started to ICE with r249816 aka PR81180 fix which has been backported to 7.x
where it ICEs now too.
Better testcase which is accepted by clang++:
using A = int;
template <typename> struct B;
template <> struct B<A> {
template <typename T> struct C {
T e;
C (T f) : e(f) {}
};
auto foo () { C ([] {}); }
};
More information about the Gcc-bugs
mailing list