Re: [patch, fortran] Implement simplification of minloc and maxloc

2018-01-02 Thread Damian Rouson
  On January 2, 2018 at 10:02:01 AM, Paul Richard Thomas (paul.richard.tho...@gmail.com(mailto:paul.richard.tho...@gmail.com)) wrote: > Somewhere, I have a list of situations where finalization is required > but not yet implemented. I'll dig it out and post it on the list. PR 37336 has a

Re: [patch, fortran] Implement simplification of minloc and maxloc

2018-01-02 Thread Paul Richard Thomas
Hi Thomas, Dominique has tested this patch and so, except for a few typos that I communicated to you on #gfortran, this is good for trunk. Somewhere, I have a list of situations where finalization is required but not yet implemented. I'll dig it out and post it on the list. Thanks Paul On 31

[patch, fortran] Implement simplification of minloc and maxloc

2017-12-31 Thread Thomas Koenig
Hello world, the attached patch implements the simplification for minloc and maxloc. I had considered using the existing simplify_transformation_to_array and simplify_transformation_to_scalar functions, but it turned out that the special casing required for minloc/maxloc was just too complex, so