Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[flang] Parenthesize RHS arguments to defined assignments (bug #62599)
The right-hand sides of assignment statements are always expressions, never variables. When an assignment statement is converted into a call to a defined assignment subroutine, and the actual argument being associated with the second dummy argument is a variable, and the dummy argument does not have the VALUE attribute, wrap it with parentheses so that lowering will pass it by means of a temporary. Fixes #62599. Differential Revision: https://reviews.llvm.org/D150331
- Loading branch information