[PATCH] fortran: Fix debug info for unsigned(kind=1) and unsigned(kind=4) [PR120193]

2025-05-09 Thread Jakub Jelinek
Hi! As the following testcase shows, debug info for unsigned(kind=1) and unsigned(kind=4) vars is wrong while unsigned(kind=2), unsigned(kind=8) and unsigned(kind=16) look right. Instead of objects having unsigned(kind=1) type they have character(kind=1) and instead of unsigned(kind=4) they have c

[PATCH] fortran: Fix up minloc/maxloc lowering [PR120191]

2025-05-09 Thread Jakub Jelinek
On Fri, May 09, 2025 at 06:18:40PM +0300, Daniil Kochergin wrote: > PR fortran/120191 > > * trans-intrinsic.cc (gfc_conv_intrinsic_minmaxloc): > > Call strip_kind_from_actual unconditionally. > > > * gfortran.dg/pr120191.f90: New test. This unfortunately only fixes some of the cases in the new

PR fortran/120191

2025-05-09 Thread Daniil Kochergin
PR fortran/120191 * trans-intrinsic.cc (gfc_conv_intrinsic_minmaxloc): Call strip_kind_from_actual unconditionally. * gfortran.dg/pr120191.f90: New test. patch_minmaxloc_120191.patch Description: Binary data gcc16-pr120191-test.patch Description: Binary data