[PATCH] Fortran: fix ICE in get_expr_storage_size [PR108421]

2023-01-16 Thread Harald Anlauf via Fortran
Dear all, here's an obvious patch for an ICE-on-invalid where we missed a check that we actually have an integer length before trying to extract a usable value. Regtested on x86_64-pc-linux-gnu. I intend to commit it to mainline within the next 24h unless there are comments. Cheers, Harald dif

[PATCH] Fortran: fix ICE in check_charlen_present [PR108420]

2023-01-16 Thread Harald Anlauf via Fortran
Dear all, it appears that the fix for pr107874 uncovered a latent bug for the case of arrays of type character and size zero when passed to the intrinsics MERGE and SPREAD as SOURCE. In that case, there is no constructor from which we could obtain another character length. A reasonable solution

Re: libgomp.fortran/async_io_[1,2,3,4,8,9].f90 fail on FreeBSD

2023-01-16 Thread Gerald Pfeifer
On Sat, 23 Oct 2021, Tobias Burnus wrote: > @Gerald: Do you see those issues as well? Or do you have an idea what > could go wrong? > > @Gerald (and unrelated to the topic below): Can you provide more log data > regarding the failing gfortran.dg tests? (Esp. excess errors but also the > ICE.) Ap