diff --git a/lib/Interpreter/CIFactory.cpp b/lib/Interpreter/CIFactory.cpp index 1c099ad3..c4aced66 100644 --- a/lib/Interpreter/CIFactory.cpp +++ b/lib/Interpreter/CIFactory.cpp @@ -1362,6 +1362,11 @@ namespace { argvCompile.push_back("-fno-omit-frame-pointer"); #endif +#ifdef __cpp_sized_deallocation + // Propagate the setting of the compiler to the interpreter + argvCompile.push_back("-fsized-deallocation"); +#endif + // Disable optimizations and keep frame pointer when debugging, overriding // other optimization options that might be in argv if (debuggingEnabled) {