Hi, This patch moves into one function building the typeof(null) values in the D front-end. Bootstrapped and regression tested on x86_64-linux-gnu. Committed to trunk as r267955. -- Iain --- gcc/d/ChangeLog: 2019-01-16 Iain Buclaw * d-codegen.cc (build_typeof_null_value): New function. * d-tree.h (build_typeof_null_value): Declare. * d-convert.cc (convert_expr): Use build_typeof_null_value. * expr.cc (ExprVisitor::visit(NullExp)): Likewise. ---