Skip to content

Commit bf5a2a9

Browse files
authored
[flang] Fix build problem caused by #96807 (#97450)
I had erroneously used a bitwise '&' with boolean operands which caused a warning on the ARM build. This change fixes that.
1 parent ebdb6f4 commit bf5a2a9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

flang/lib/Evaluate/intrinsics-library.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -807,7 +807,7 @@ static bool VerifyAtan2LikeArguments(
807807
template <ArgumentVerifierFunc... F>
808808
static bool CombineVerifiers(
809809
const std::vector<Expr<SomeType>> &args, FoldingContext &context) {
810-
return (... & F(args, context));
810+
return (... && F(args, context));
811811
}
812812

813813
/// Define argument names to be used error messages when the intrinsic have

0 commit comments

Comments
 (0)