https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61189
Bug ID: 61189 Summary: ICE with __builtin_return_address() in noexcept lambda on x86 Product: gcc Version: 4.9.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: lh_mouse at 126 dot com Minimal test case: void foo(){ []() noexcept { return __builtin_return_address(0); }(); } Compiled with: E:\Desktop>g++ test.cpp -std=c++1y test.cpp: In lambda function: test.cpp:2:54: internal compiler error: in ix86_compute_frame_layout, at config/i386/i386.c:9510 []() noexcept { return __builtin_return_address(0); }(); ^ Please submit a full bug report, with preprocessed source if appropriate. See <http://sourceforge.net/projects/mingw-w64> for instructions. g++ version: E:\Desktop>g++ -v Thread model: win32 gcc version 4.9.0 (i686-win32-sjlj-rev1, Built by MinGW-W64 project)