Hi Jerry,

I just had a look into pr120843 and I have successfully merged the old version of the patch. This what you are hitting now. I am very sorry.

The new 'else if' near the coarray error message should be something like:

else if (!op1.ref || !gfc_ref_this_image (op1.ref) ||

and the same for op2. I will fix it tomorrow. Sorry again for all the bother.

- Andre
Andre Vehreschild  * ve...@gmx.de
Am 1. Juli 2025 19:33:41 schrieb Jerry D <jvdelis...@gmail.com>:

Hi all,

With latest trunk this morning after Andre's commits I am still getting failures
with Toon's random_weather.f90.

Was there another patch I missed?

Jerry

$ gfc -fcoarray=single random-weather.f90
f951: internal compiler error: in gfc_ref_this_image, at fortran/expr.cc:5948
0x21dce1f internal_error(char const*, ...)
        ../../trunk/gcc/diagnostic-global-context.cc:517
0x647e93 fancy_abort(char const*, int, char const*)
        ../../trunk/gcc/diagnostic.cc:1810
0x40369d gfc_ref_this_image(gfc_ref*)
        ../../trunk/gcc/fortran/expr.cc:5948
0x40369d gfc_ref_this_image(gfc_ref*)
        ../../trunk/gcc/fortran/expr.cc:5944
0x730068 resolve_operator
        ../../trunk/gcc/fortran/resolve.cc:4831
0x730068 gfc_resolve_expr(gfc_expr*)
        ../../trunk/gcc/fortran/resolve.cc:7860
0x72e449 gfc_resolve_expr(gfc_expr*)
        ../../trunk/gcc/fortran/resolve.cc:7834
0x72e449 resolve_operator
        ../../trunk/gcc/fortran/resolve.cc:4356
0x72e449 gfc_resolve_expr(gfc_expr*)
        ../../trunk/gcc/fortran/resolve.cc:7860
0x734503 gfc_resolve_expr(gfc_expr*)
        ../../trunk/gcc/fortran/resolve.cc:7834

Reply via email to