Skip to content

Commit 5d3bde7

Browse files
committed
change format string to warning
1 parent fe42b89 commit 5d3bde7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

flang/lib/Semantics/check-call.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -802,7 +802,7 @@ static void CheckExplicitDataArg(const characteristics::DummyDataObject &dummy,
802802
!evaluate::HasVectorSubscript(actual)) {
803803
context.Warn(common::UsageWarning::VolatileOrAsynchronousTemporary,
804804
messages.at(),
805-
"The array section '%s' should not be associated with %s with %s attribute, unless the dummy is assumed-shape or assumed-rank"_port_en_US,
805+
"The array section '%s' should not be associated with %s with %s attribute, unless the dummy is assumed-shape or assumed-rank"_warn_en_US,
806806
actual.AsFortran(), dummyName,
807807
dummyIsAsynchronous ? "ASYNCHRONOUS" : "VOLATILE");
808808
volatileOrAsyncNeedsTempDiagnosticIssued = true;

0 commit comments

Comments
 (0)