Skip to content
This repository was archived by the owner on Jun 20, 2019. It is now read-only.

Commit 6e28e5a

Browse files
committed
Mark __gdc_begin_catch as ECT_NOTHROW.
1 parent e12299c commit 6e28e5a

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

gcc/d/ChangeLog

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
2018-02-11 Iain Buclaw <[email protected]>
2+
3+
* runtime.def (BEGIN_CATCH): Set ECF_NOTHROW.
4+
15
2018-02-11 Iain Buclaw <[email protected]>
26

37
* runtime.def (NEWCLASS): Set ECF_LEAF.

gcc/d/runtime.def

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,8 @@ DEF_D_RUNTIME (AADELX, "_aaDelX", RT(BOOL),
195195

196196
/* Used for throw() expressions. */
197197
DEF_D_RUNTIME (THROW, "_d_throw", RT(VOID), P1(OBJECT), ECF_NORETURN)
198-
DEF_D_RUNTIME (BEGIN_CATCH, "__gdc_begin_catch", RT(VOIDPTR), P1(VOIDPTR), 0)
198+
DEF_D_RUNTIME (BEGIN_CATCH, "__gdc_begin_catch", RT(VOIDPTR), P1(VOIDPTR),
199+
ECF_NOTHROW)
199200

200201
/* C++ exception handlers. */
201202
DEF_D_RUNTIME (CXA_BEGIN_CATCH, "__cxa_begin_catch", RT(VOIDPTR), P1(VOIDPTR),

0 commit comments

Comments
 (0)