@@ -1862,7 +1862,7 @@ Expr<TO> FoldOperation(
18621862 std::snprintf (buffer, sizeof buffer,
18631863 " INTEGER(%d) to REAL(%d) conversion" , Operand::kind,
18641864 TO::kind);
1865- RealFlagWarnings (ctx, converted.flags , buffer);
1865+ ctx. RealFlagWarnings (converted.flags , buffer);
18661866 }
18671867 return ScalarConstantToExpr (std::move (converted.value ));
18681868 } else if constexpr (FromCat == TypeCategory::Real) {
@@ -1871,7 +1871,7 @@ Expr<TO> FoldOperation(
18711871 if (!converted.flags .empty ()) {
18721872 std::snprintf (buffer, sizeof buffer,
18731873 " REAL(%d) to REAL(%d) conversion" , Operand::kind, TO::kind);
1874- RealFlagWarnings (ctx, converted.flags , buffer);
1874+ ctx. RealFlagWarnings (converted.flags , buffer);
18751875 }
18761876 if (ctx.targetCharacteristics ().areSubnormalsFlushedToZero ()) {
18771877 converted.value = converted.value .FlushSubnormalToZero ();
@@ -2012,7 +2012,7 @@ Expr<T> FoldOperation(FoldingContext &context, Add<T> &&x) {
20122012 } else {
20132013 auto sum{folded->first .Add (
20142014 folded->second , context.targetCharacteristics ().roundingMode ())};
2015- RealFlagWarnings (context, sum.flags , " addition" );
2015+ context. RealFlagWarnings (sum.flags , " addition" );
20162016 if (context.targetCharacteristics ().areSubnormalsFlushedToZero ()) {
20172017 sum.value = sum.value .FlushSubnormalToZero ();
20182018 }
@@ -2041,7 +2041,7 @@ Expr<T> FoldOperation(FoldingContext &context, Subtract<T> &&x) {
20412041 } else {
20422042 auto difference{folded->first .Subtract (
20432043 folded->second , context.targetCharacteristics ().roundingMode ())};
2044- RealFlagWarnings (context, difference.flags , " subtraction" );
2044+ context. RealFlagWarnings (difference.flags , " subtraction" );
20452045 if (context.targetCharacteristics ().areSubnormalsFlushedToZero ()) {
20462046 difference.value = difference.value .FlushSubnormalToZero ();
20472047 }
@@ -2070,7 +2070,7 @@ Expr<T> FoldOperation(FoldingContext &context, Multiply<T> &&x) {
20702070 } else {
20712071 auto product{folded->first .Multiply (
20722072 folded->second , context.targetCharacteristics ().roundingMode ())};
2073- RealFlagWarnings (context, product.flags , " multiplication" );
2073+ context. RealFlagWarnings (product.flags , " multiplication" );
20742074 if (context.targetCharacteristics ().areSubnormalsFlushedToZero ()) {
20752075 product.value = product.value .FlushSubnormalToZero ();
20762076 }
@@ -2141,7 +2141,7 @@ Expr<T> FoldOperation(FoldingContext &context, Divide<T> &&x) {
21412141 }
21422142 }
21432143 if (!isCanonicalNaNOrInf) {
2144- RealFlagWarnings (context, quotient.flags , " division" );
2144+ context. RealFlagWarnings (quotient.flags , " division" );
21452145 }
21462146 if (context.targetCharacteristics ().areSubnormalsFlushedToZero ()) {
21472147 quotient.value = quotient.value .FlushSubnormalToZero ();
@@ -2201,7 +2201,7 @@ Expr<T> FoldOperation(FoldingContext &context, RealToIntPower<T> &&x) {
22012201 [&](auto &y) -> Expr<T> {
22022202 if (auto folded{OperandsAreConstants (x.left (), y)}) {
22032203 auto power{evaluate::IntPower (folded->first , folded->second )};
2204- RealFlagWarnings (context, power.flags , " power with INTEGER exponent" );
2204+ context. RealFlagWarnings (power.flags , " power with INTEGER exponent" );
22052205 if (context.targetCharacteristics ().areSubnormalsFlushedToZero ()) {
22062206 power.value = power.value .FlushSubnormalToZero ();
22072207 }
0 commit comments