This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/35876] Exceptions not working on FreeBSD
- From: "kargl at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 16 Dec 2009 22:50:04 -0000
- Subject: [Bug target/35876] Exceptions not working on FreeBSD
- References: <bug-35876-6649@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #6 from kargl at gcc dot gnu dot org 2009-12-16 22:50 -------
(In reply to comment #5)
> The only broken version is 4.3.0, all 4.2.X throw exceptions ok.
>
This now appears to work
troutmask:sgk[225] ~/work/43/bin/g++ -fexceptions -Wall -o exception a.cc
troutmask:sgk[226] ./exception
Caught an exception "String"
troutmask:sgk[227] ~/work/44/bin/g++ -fexceptions -Wall -o exception a.cc
troutmask:sgk[228] ./exception
Caught an exception "String"
The versions I tested are
gcc version 4.4.3 20091216 (prerelease) (GCC)
gcc version 4.3.5 20091216 (prerelease) (GCC)
on x86_64-*-freebsd.
Can this be closed as fixed?
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35876