diff --git a/flang/runtime/descriptor-io.h b/flang/runtime/descriptor-io.h --- a/flang/runtime/descriptor-io.h +++ b/flang/runtime/descriptor-io.h @@ -30,8 +30,8 @@ const SubscriptValue subscripts[]) { A *p{descriptor.Element(subscripts)}; if (!p) { - io.GetIoErrorHandler().Crash( - "ExtractElement: null base address or subscripts out of range"); + io.GetIoErrorHandler().Crash("Bad address for I/O item -- null base " + "address or subscripts out of range"); } return *p; }