[flang] Handle logical constant value for quiet in STOP stmt
authorValentin Clement <clementval@gmail.com>
Fri, 4 Feb 2022 09:11:46 +0000 (10:11 +0100)
committerValentin Clement <clementval@gmail.com>
Fri, 4 Feb 2022 09:12:25 +0000 (10:12 +0100)
commitcc306740ccfcb0b64f789c2062c4de8954026ad4
tree3048134f5751723128cd055a55265248dd379674
parentb94f09524efe2789598eb8c1bf5f44f5b17148d6
[flang] Handle logical constant value for quiet in STOP stmt

This patch handles the quiet argument in the STOP statement. It adds
ability to lower LOGICAL constant.

This patch is part of the upstreaming effort from fir-dev branch.

Reviewed By: kiranchandramohan, PeteSteinfeld

Differential Revision: https://reviews.llvm.org/D118897

Co-authored-by: Jean Perier <jperier@nvidia.com>
flang/lib/Lower/ConvertExpr.cpp
flang/lib/Lower/Runtime.cpp
flang/test/Lower/stop-statement.f90