--- Comment #10 from redi at gcc dot gnu dot org 2010-04-29 22:56 ---
(In reply to comment #9)
> you're throwing a string literal and trying to catch a char*, that's invalid
I should clarify that - it's not invalid to TRY to catch a char* but it will
fail, and the program will terminate
--- Comment #9 from redi at gcc dot gnu dot org 2010-04-29 22:55 ---
you're throwing a string literal and trying to catch a char*, that's invalid
if you change it to catch(const char*) it works fine with 4.4.3
--
redi at gcc dot gnu dot org changed:
What|Removed
--- Comment #8 from pinskia at gcc dot gnu dot org 2008-01-16 15:01 ---
This testcase does not work even without shared libraries:
terminate called after throwing an instance of 'char const*'
Abort
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34778
--- Comment #7 from tkiernan at gmail dot com 2008-01-16 12:32 ---
(From update of attachment 14947)
Attached is the source code and binary - issue is on gcc4.1.1 Linux redhat4.5,
IBM ppc64.
It aborts when tries to rethrow exception across shared libs.
Execute ./main
--
http://gcc.
--- Comment #6 from tkiernan at gmail dot com 2008-01-16 12:29 ---
Created an attachment (id=14947)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=14947&action=view)
TestCase
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34778
--- Comment #5 from pinskia at gcc dot gnu dot org 2008-01-14 18:34 ---
Ok, what about a reproducible testcase then?
--
pinskia at gcc dot gnu dot org changed:
What|Removed |Added
--- Comment #4 from tkiernan at gmail dot com 2008-01-14 13:01 ---
I have reconfigued gcc4.2.2 withou the enable-sjlij-exceptions flag and still
getting the same behaviour ...
--
tkiernan at gmail dot com changed:
What|Removed |Added
-
--- Comment #3 from tkiernan at gmail dot com 2008-01-14 12:16 ---
(In reply to comment #2)
> -enable-sjlj-execptions Why are you using that option? This causes an ABI
> incompatiable with the default GCC build.
>
Ok , I have reconfigured gcc4.2.2 without this option again ...
How e
--- Comment #2 from pinskia at gcc dot gnu dot org 2008-01-14 12:07 ---
-enable-sjlj-execptions Why are you using that option? This causes an ABI
incompatiable with the default GCC build.
--
pinskia at gcc dot gnu dot org changed:
What|Removed |Ad
--- Comment #1 from pinskia at gcc dot gnu dot org 2008-01-14 12:05 ---
*** Bug 34779 has been marked as a duplicate of this bug. ***
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34778
10 matches
Mail list logo