X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=flang%2Finclude%2Fflang%2FEvaluate%2Flogical.h;h=ba3715a7e46b0885039768233176e138de428ff2;hb=29e71ceaee1a7a27d194100f0d94eb4d49496529;hp=44ba30ae6e174ee69ac49550a408feeb4d891a27;hpb=a688a70d58c3afb435fca1c0ef4fef813c0745de;p=platform%2Fupstream%2Fllvm.git diff --git a/flang/include/flang/Evaluate/logical.h b/flang/include/flang/Evaluate/logical.h index 44ba30a..ba3715a 100644 --- a/flang/include/flang/Evaluate/logical.h +++ b/flang/include/flang/Evaluate/logical.h @@ -29,6 +29,7 @@ public: template constexpr Logical &operator=(Logical x) { word_ = Represent(x.IsTrue()); + return *this; } // Fortran actually has only .EQV. & .NEQV. relational operations