We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5989450 commit 1754651Copy full SHA for 1754651
flang/include/flang/Lower/Support/Utils.h
@@ -502,7 +502,7 @@ class IsEqualEvaluateExpr {
502
return std::visit(
503
[&](const auto &p, const auto &q) { return isEqual(p, q); },
504
x.parent(), y.parent()) &&
505
- isEqual(x.lower(), y.lower()) && isEqual(x.lower(), y.lower());
+ isEqual(x.lower(), y.lower()) && isEqual(x.upper(), y.upper());
506
}
507
static bool isEqual(const Fortran::evaluate::StaticDataObject::Pointer &x,
508
const Fortran::evaluate::StaticDataObject::Pointer &y) {
0 commit comments