[Bug fortran/93114] Use span passing components of derived types

2021-04-16 Thread tkoenig at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93114

Thomas Koenig  changed:

   What|Removed |Added

 Status|ASSIGNED|NEW
   Assignee|tkoenig at gcc dot gnu.org |unassigned at gcc dot 
gnu.org

[Bug fortran/93114] Use span passing components of derived types

2020-12-23 Thread tkoenig at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93114

--- Comment #3 from Thomas Koenig  ---
Probably a better idea:

If the span can be shown at compile-time to be a multiple of
the size of the component, we need not create the temporaray array
and instead set the strides of the descriptor accordingly.

[Bug fortran/93114] Use span passing components of derived types

2020-05-02 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93114

--- Comment #2 from Thomas Koenig  ---
Created attachment 48430
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=48430=edit
Preliminary partial patch

Here is a very preliminary implementation, which only looks at
the return values of maxloc et al.

If we look at the arguments too, this will be much larger...

[Bug fortran/93114] Use span passing components of derived types

2020-04-27 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93114

Thomas Koenig  changed:

   What|Removed |Added

 Status|UNCONFIRMED |ASSIGNED
 Ever confirmed|0   |1
   Last reconfirmed||2020-04-27
   Assignee|unassigned at gcc dot gnu.org  |tkoenig at gcc dot 
gnu.org

--- Comment #1 from Thomas Koenig  ---
Assigning to myself so I do not forget this.