[Bug c++/34152] Erratic behaviour: Exception translation (throw from signal handlers)

2007-11-19 Thread asteinarson at gmail dot com
--- Comment #1 from asteinarson at gmail dot com 2007-11-19 16:21 --- I found something out. If I add a further function call to FuncNested1: int FuncNested2( ){ StructWithDtor swd; return 0; } int FuncNested1( int *pi ){ StructWithDtor swd; FuncNested2( ); // This

[Bug c++/34152] Erratic behaviour: Exception translation (throw from signal handlers)

2007-12-11 Thread phelps at gnusto dot com
--- Comment #2 from phelps at gnusto dot com 2007-12-11 10:38 --- Created an attachment (id=14728) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=14728&action=view) proposed fix I'm seeing similar behavior on x86-64 with both g++-4.1.3 (ubuntu-7.10 dist) and g++-4.2.2 build from so

[Bug c++/34152] Erratic behaviour: Exception translation (throw from signal handlers)

2007-12-11 Thread phelps at gnusto dot com
--- Comment #3 from phelps at gnusto dot com 2007-12-11 10:43 --- Added Steve Ellcey to the CC as he's the author of r115654. Hope that's not rude. Thanks, -Ted -- phelps at gnusto dot com changed: What|Removed |Added

[Bug c++/34152] Erratic behaviour: Exception translation (throw from signal handlers)

2007-12-11 Thread asteinarson at gmail dot com
--- Comment #4 from asteinarson at gmail dot com 2007-12-11 17:55 --- (In reply to comment #2) > Created an attachment (id=14728) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=14728&action=view) [edit] > proposed fix > > I'm seeing similar behavior on x86-64 with both g++-4.1.3 (u

[Bug c++/34152] Erratic behaviour: Exception translation (throw from signal handlers)

2007-12-11 Thread phelps at gnusto dot com
--- Comment #5 from phelps at gnusto dot com 2007-12-11 22:30 --- Created an attachment (id=14732) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=14732&action=view) minimal test case This attachment contains a minimal C++ program that exhibits the behavior. The program should exit

[Bug c++/34152] Erratic behaviour: Exception translation (throw from signal handlers)

2007-12-11 Thread jakub at gcc dot gnu dot org
--- Comment #6 from jakub at gcc dot gnu dot org 2007-12-11 22:49 --- Benjamin, the patch in #c4 looks good to me and this is a very severe bug, could you please review the patch and apply if you agree? Wonder what kind of testing was done before r115654 commit :(. -- jakub at gcc do

[Bug c++/34152] Erratic behaviour: Exception translation (throw from signal handlers)

2008-01-06 Thread asteinarson at gmail dot com
--- Comment #7 from asteinarson at gmail dot com 2008-01-06 17:02 --- (In reply to comment #2) > Created an attachment (id=14728) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=14728&action=view) [edit] > proposed fix > > I'm seeing similar behavior on x86-64 with both g++-4.1.3 (u

[Bug c++/34152] Erratic behaviour: Exception translation (throw from signal handlers)

2008-01-06 Thread jakub at gcc dot gnu dot org
--- Comment #8 from jakub at gcc dot gnu dot org 2008-01-06 20:26 --- Subject: Bug 34152 Author: jakub Date: Sun Jan 6 20:25:57 2008 New Revision: 131361 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=131361 Log: PR c++/34152 * libsupc++/eh_personality.cc (PERSO

[Bug c++/34152] Erratic behaviour: Exception translation (throw from signal handlers)

2008-01-06 Thread asteinarson at gmail dot com
--- Comment #9 from asteinarson at gmail dot com 2008-01-06 23:18 --- (In reply to comment #8) > Subject: Bug 34152 > > Author: jakub > Date: Sun Jan 6 20:25:57 2008 > New Revision: 131361 > > URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=131361 > Log: > PR c++/34152 >

[Bug c++/34152] Erratic behaviour: Exception translation (throw from signal handlers)

2008-01-07 Thread asteinarson at gmail dot com
--- Comment #10 from asteinarson at gmail dot com 2008-01-07 13:24 --- (In reply to comment #9) > (In reply to comment #8) > > Subject: Bug 34152 > > > > * libsupc++/eh_personality.cc (PERSONALITY_FUNCTION): Check > > _GLIBCXX_HAVE_GETIPINFO instead of HAVE_GETIPINFO. >

[Bug c++/34152] Erratic behaviour: Exception translation (throw from signal handlers)

2008-01-07 Thread jakub at gcc dot gnu dot org
--- Comment #11 from jakub at gcc dot gnu dot org 2008-01-07 16:06 --- Subject: Bug 34152 Author: jakub Date: Mon Jan 7 16:05:27 2008 New Revision: 131376 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=131376 Log: PR c++/34152 * libsupc++/eh_personality.cc (PERS

[Bug c++/34152] Erratic behaviour: Exception translation (throw from signal handlers)

2008-01-08 Thread phelps at gnusto dot com
--- Comment #12 from phelps at gnusto dot com 2008-01-09 05:53 --- re: comment #7, could you double-check with ldd that your application is picking up the right libstdc++.so? You may have to fiddle with your LD_LIBRARY_PATH to make it do so. -Ted -- http://gcc.gnu.org/bugzilla/sho

[Bug c++/34152] Erratic behaviour: Exception translation (throw from signal handlers)

2008-01-08 Thread phelps at gnusto dot com
--- Comment #13 from phelps at gnusto dot com 2008-01-09 05:54 --- re: comment #12 -- sorry, just read comment #10. Ignore me. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34152

[Bug c++/34152] Erratic behaviour: Exception translation (throw from signal handlers)

2008-03-12 Thread pinskia at gcc dot gnu dot org
--- Comment #14 from pinskia at gcc dot gnu dot org 2008-03-12 16:14 --- *** Bug 3 has been marked as a duplicate of this bug. *** -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34152

[Bug c++/34152] Erratic behaviour: Exception translation (throw from signal handlers)

2008-03-12 Thread asteinarson at gmail dot com
--- Comment #15 from asteinarson at gmail dot com 2008-03-12 16:41 --- I had missed to use the flag -fnon-call-exceptions. With that enabled it works as it should. Regards // ATS -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34152

[Bug c++/34152] Erratic behaviour: Exception translation (throw from signal handlers)

2011-11-07 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34152 Paolo Carlini changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED CC|gcc-bugs at g