https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64000
Bug ID: 64000 Summary: internal compiler error on lambda Product: gcc Version: 4.9.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: tobias.polzer+gcc at gmail dot com Created attachment 34053 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=34053&action=edit preprocessed source g++ -std=c++11 -Wall -Wextra -g -O0 regex.cpp -o regex regex.cpp: In lambda function: regex.cpp:72:25: warning: ‘<anonymous>’ is used uninitialized in this function [-Wuninitialized] if(dist[a][b] > d) { ^ regex.cpp:72:25: internal compiler error: in expand_expr_real_1, at expr.c:9454 if(dist[a][b] > d) { ^ Please submit a full bug report, with preprocessed source if appropriate. See <file:///usr/share/doc/gcc-4.9/README.Bugs> for instructions. Preprocessed source stored into /tmp/ccW3t071.out file, please attach this to your bugreport.