ARM Linux EABI: unwinding through a segfault handler

2011-08-25 Thread Andrew Haley
Throwing an exception through a segfault handler doesn't always work on ARM: the attached example fails on current gcc trunk. panda-9:~ $ g++ segv.cc -fnon-call-exceptions -g panda-9:~ $ ./a.out terminate called after throwing an instance of 'FoobarException*' Aborted The bug is that _Unwind_GetI

Re: ARM Linux EABI: unwinding through a segfault handler

2011-08-25 Thread David Daney
On 08/25/2011 05:26 AM, Andrew Haley wrote: Throwing an exception through a segfault handler doesn't always work on ARM: the attached example fails on current gcc trunk. panda-9:~ $ g++ segv.cc -fnon-call-exceptions -g panda-9:~ $ ./a.out terminate called after throwing an instance of 'FoobarExc

Re: ARM Linux EABI: unwinding through a segfault handler

2011-08-25 Thread Andrew Haley
On 08/25/2011 05:57 PM, David Daney wrote: > On 08/25/2011 05:26 AM, Andrew Haley wrote: >> Throwing an exception through a segfault handler doesn't always work >> on ARM: the attached example fails on current gcc trunk. >> >> panda-9:~ $ g++ segv.cc -fnon-call-exceptions -g >> panda-9:~ $ ./a.out

gcc-4.5-20110825 is now available

2011-08-25 Thread gccadmin
Snapshot gcc-4.5-20110825 is now available on ftp://gcc.gnu.org/pub/gcc/snapshots/4.5-20110825/ and on various mirrors, see http://gcc.gnu.org/mirrors.html for details. This snapshot has been generated from the GCC 4.5 SVN branch with the following options: svn://gcc.gnu.org/svn/gcc/branches