LLVM Bugzilla is read-only and represents the historical archive of all LLVM issues filled before November 26, 2021. Use github to submit LLVM bugs

Bug 870 - llvm-gcc4 lacks support for C++ exceptions
Summary: llvm-gcc4 lacks support for C++ exceptions
Status: RESOLVED FIXED
Alias: None
Product: tools
Classification: Unclassified
Component: llvm-gcc (show other bugs)
Version: 1.5
Hardware: All All
: P normal
Assignee: Unassigned LLVM Bugs
URL:
Keywords: missing-feature
Depends on: 592 1379 1380 1410 1414 1415 1443
Blocks: 498 644 1522
  Show dependency tree
 
Reported: 2006-08-05 18:25 PDT by Chris Lattner
Modified: 2007-12-31 03:24 PST (History)
5 users (show)

See Also:
Fixed By Commit(s):


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Lattner 2006-08-05 18:25:02 PDT
Tracking bug, this prevents llvm-gcc4 from fully replacing llvm-gcc3.
Comment 1 Reid Spencer 2007-03-24 15:53:25 PDT
Jim, 

Could you update this PR with the current status of what remains to be done?

Thanks,

Reid.
Comment 2 Anton Korobeynikov 2007-05-11 08:54:21 PDT
Current status:

Thanks to Jim, EH supports is basically runnable. We've successfully run
Shootout-C++/except test on x86/linux. Dunkan is working on some ADA-related
testcases.

There are many small glitches preventing LLVM-side of code to be usable in many
situations, but we're slowly progressing :)

The biggest "bad" thing is lack of support from GCC runtime (this is PR1379),
thus we need to link system (e.g. not compiled by llvm-gcc) libgcc, which
includes working runtime implementation.
Comment 3 Duncan Sands 2007-12-31 03:24:26 PST
As far as I know llvm-gcc-4.2 fully supports C++ exceptions, while
llvm-gcc-4.0 mostly supports them (it doesn't handle some corner
cases correctly).