aboutsummaryrefslogtreecommitdiff
path: root/gcc/d/toir.cc
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/d/toir.cc')
-rw-r--r--gcc/d/toir.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/d/toir.cc b/gcc/d/toir.cc
index ebe7638..f1b2e09 100644
--- a/gcc/d/toir.cc
+++ b/gcc/d/toir.cc
@@ -1120,7 +1120,7 @@ public:
InterfaceDeclaration *id = cd->isInterfaceDeclaration ();
tree arg = build_expr_dtor (s->exp);
- if (!flag_exceptions)
+ if (!global.params.useExceptions)
{
static int warned = 0;
if (!warned)