On 2/3/25 11:55 AM, Thomas Koenig wrote:
Hello world,
with the following patch to the failing test case
diff --git a/gcc/testsuite/gfortran.dg/unsigned_15.f90 b/gcc/testsuite/
gfortran.dg/unsigned_15.f90
index da4ccd2dc17..80a7a54e380 100644
--- a/gcc/testsuite/gfortran.dg/unsigned_15.f90
+++ b/gcc/testsuite/gfortran.dg/unsigned_15.f90
@@ -6,8 +6,8 @@ program main
unsigned :: u
print *,1 + 2u ! { dg-error "Operands of binary numeric operator" }
print *,2u + 1 ! { dg-error "Operands of binary numeric operator" }
- print *,2u ** 1 ! { dg-error "Exponentiation not valid" }
- print *,2u ** 1u ! { dg-error "Exponentiation not valid" }
+ print *,2u ** 1 ! { dg-error "Operands of binary numeric operator" }
+ print *,2u ** 1u
print *,1u < 2 ! { dg-error "Inconsistent types" }
print *,int(1u) < 2
end program main
the patch posted to
https://gcc.gnu.org/pipermail/fortran/2025-February/061670.html
and
https://gcc.gnu.org/pipermail/gcc-patches/2025-February/674931.html
passes (I don't want to re-submit the whole thing).
OK for trunk?
Best regards
Thomas
Yes, please proceed.
Jerry