Re: [PATCH] PR fortran/99061 - [10/11/12 Regression] ICE in gfc_conv_intrinsic_atan2d, at fortran/trans-intrinsic.c:4728

2021-11-21 Thread Mikael Morin
Le 15/11/2021 à 22:38, Harald Anlauf via Fortran a écrit : Dear Fortranners, the attached patch fixes the handling of the DEC trigonometric intrinsics for different argument kinds. It is based on the original patch by Steve, which fixes the lookup for the needed intrinsics. Regtested on x86_64

Re: [PATCH] PR fortran/87851 - [9/10/11/12 Regression] Wrong return type for len_trim

2021-11-21 Thread Mikael Morin
Le 19/11/2021 à 20:47, Harald Anlauf via Fortran a écrit : Dear Fortranners, scalariziation of the elemental intrinsic LEN_TRIM was ICEing when the optional KIND argument was present. The cleanest solution is to use the infrastructure added by Mikael's fix for PR97896. In that case it is a 1-l

Re: [PATCH] fortran, debug: Fix up DW_AT_rank [PR103315]

2021-11-21 Thread Mikael Morin
Le 19/11/2021 à 10:40, Jakub Jelinek via Fortran a écrit : Bootstrapped/regtested on x86_64-linux and i686-linux, ok for trunk? Hello, you know probably better than me or any fortran maintainer whether it’s good or bad. So OK from the fortran side.

Re: [PATCH] gfortran: Improve translation of POPPAR intrinsic

2021-11-21 Thread Harald Anlauf via Fortran
Let's have a look at the tree-dump of the existing testcase: integer(kind=4) runtime_poppar (integer(kind=16) & restrict i) { integer(kind=4) res; { uint128_t D.4221; D.4221 = (uint128_t) *i; res = __builtin_parityll ((unsigned long) D.4221 ^ (unsigned long) (D.4221 >> 64));

Re: [PATCH] gfortran: Improve translation of POPPAR intrinsic

2021-11-21 Thread Bernhard Reutner-Fischer via Fortran
On Sun, 21 Nov 2021 19:59:35 +0100 Harald Anlauf wrote: > Let's have a look at the tree-dump of the existing testcase: > > integer(kind=4) runtime_poppar (integer(kind=16) & restrict i) > { >integer(kind=4) res; > >{ > uint128_t D.4221; > > D.4221 = (uint128_t) *i; > res