[Bug libgcc/56846] _Unwind_Backtrace on ARM and noexcept

joey.ye at arm dot com gcc-bugzilla@gcc.gnu.org
Fri May 9 06:10:00 GMT 2014


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56846

Joey Ye <joey.ye at arm dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |joey.ye at arm dot com

--- Comment #1 from Joey Ye <joey.ye at arm dot com> ---
I cannot reproduce the issue you described with my arm-none-eabi GCC 4.7.4.
Here is my case:

#include <stdio.h>
void foo() noexcept
{
        printf("This is in foo\n");
}

void bar() noexcept
{
        printf("This is in bar\n");
        foo();
}

int main()
{
        bar();  
        return 0;
}

When I break and stp at foo, here is the successful backtrace:
(gdb) back
#0  foo () at n.cpp:4
#1  0x000081e0 in bar () at n.cpp:10
#2  0x000081ec in main () at n.cpp:15

Can you please share a small case to reproduce the issue?



More information about the Gcc-bugs mailing list