[Bug target/35876] Exceptions not working on FreeBSD

kargl at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Wed Dec 16 22:50:00 GMT 2009



------- 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



More information about the Gcc-bugs mailing list