public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/61189] New: ICE with __builtin_return_address() in noexcept lambda on x86
@ 2014-05-14 16:13 lh_mouse at 126 dot com
  2014-12-15 10:47 ` [Bug c++/61189] " ville.voutilainen at gmail dot com
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: lh_mouse at 126 dot com @ 2014-05-14 16:13 UTC (permalink / raw)
  To: gcc-bugs

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)


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2014-12-16 16:55 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-05-14 16:13 [Bug c++/61189] New: ICE with __builtin_return_address() in noexcept lambda on x86 lh_mouse at 126 dot com
2014-12-15 10:47 ` [Bug c++/61189] " ville.voutilainen at gmail dot com
2014-12-16 16:35 ` ktietz at gcc dot gnu.org
2014-12-16 16:55 ` ktietz at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).