Re: [Patch] Fortran: Unify gfc_get_location handling; fix expr->ts bug

2024-10-12 Thread Thomas Koenig
Hi Tobias, This unifies the two locus to location_t conversion functions, preparing for some changes I want to do later. In principle, I had the patch this morning; however, the assert is now exercised more often than before - and it triggered rather unexpected when running the testsuite.

[Patch] Fortran: Unify gfc_get_location handling; fix expr->ts bug

2024-10-11 Thread Tobias Burnus
without additional fails; this does not guarantee that there isn't any issue with other locations the code, but a least it makes it less likely. As there was no good reason to include that assert, I have done so for the attached patch. Fortran: Unify gfc_get_location handling; fix expr->ts b