Re: [patch, fortran] Implement FINDLOC

2018-10-28 Thread Thomas Koenig
Hi Paul, The patch is ready to go. Please correct the following tiny nits: I have corrected those. s/Check that en expression/Check that an expression/ s/Set this if resolution has already happened and it could be harmful/Set this if resolution has already happened. It could be harmful/

Re: [patch, fortran] Implement FINDLOC

2018-10-28 Thread Paul Richard Thomas
Hi Thomas, The patch is ready to go. Please correct the following tiny nits: s/Check that en expression/Check that an expression/ s/Set this if resolution has already happened and it could be harmful/Set this if resolution has already happened. It could be harmful/ An even tinier, probably igno

Re: [patch, fortran] Implement FINDLOC

2018-10-27 Thread Thomas Koenig
Am 23.10.18 um 23:02 schrieb Thomas Koenig: So, I think this should be clear for trunk now.  I will supply the documentation later. Ping ** 0.571428 ?

Re: [patch, fortran] Implement FINDLOC

2018-10-23 Thread Thomas Koenig
Am 23.10.18 um 18:16 schrieb Dominique d'Humières: Anyway, the attached patch fixes this, It now gives the error 4 |integer, parameter :: I_FINDLOC_BACK(1) = findloc([1,1],1, & |1 Error: transformational intrinsic 'findloc' at (1)

Re: [patch, fortran] Implement FINDLOC

2018-10-23 Thread Dominique d'Humières
> Le 22 oct. 2018 à 23:00, Thomas Koenig a écrit : > > Hi Dominique, > >> With your patch, compiling the following test >> program logtest3 >>implicit none >>logical :: x = .true. >>integer, parameter :: I_FINDLOC_BACK(1) = findloc([1,1],1, & >> back=x) >> end program logtes

Re: [patch, fortran] Implement FINDLOC

2018-10-22 Thread Bernhard Reutner-Fischer
On Mon, 22 Oct 2018 at 23:01, Thomas Koenig wrote: > Anyway, the attached patch fixes this, plus the print *, instead > of test for return values, plus the whitespace issues mentioned > by Bernhard. Patch gzipped this time to let it go through to > gcc-patches. Thanks, The few remainin issues ar

Re: [patch, fortran] Implement FINDLOC

2018-10-22 Thread Thomas Koenig
Hi Dominique, With your patch, compiling the following test program logtest3 implicit none logical :: x = .true. integer, parameter :: I_FINDLOC_BACK(1) = findloc([1,1],1, & back=x) end program logtest3 gives an ICE I sometimes wonder where you get all these test cases fro

Re: [patch, fortran] Implement FINDLOC

2018-10-21 Thread Dominique d'Humières
Hi Thomas, With your patch, compiling the following test program logtest3 implicit none logical :: x = .true. integer, parameter :: I_FINDLOC_BACK(1) = findloc([1,1],1, & back=x) end program logtest3 gives an ICE gfc: internal compiler error: Segmentation fault: 11 signal t

Fwd: [patch, fortran] Implement FINDLOC

2018-10-21 Thread Thomas Koenig
Hi, again rejected due to being overly large... The whole message can be found at https://gcc.gnu.org/ml/fortran/2018-10/msg00102.html Weitergeleitete Nachricht Betreff: [patch, fortran] Implement FINDLOC Datum: Sun, 21 Oct 2018 19:36:35 +0200 Von: Thomas Koenig An: fort