https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90608

--- Comment #5 from Thomas Koenig <tkoenig at gcc dot gnu.org> ---
(In reply to ktkachov from comment #4)
> LTO'ing libgfortran aside, how much work would it be to teach the scalarizer
> to at least elide the temporary arrays in expressions like:
> A(:) = minloc(...) ?
> I think that would be a good start towards improving such code.

That would look like a major project, the scalarizer is not really
easy to understand.

What documentation we have is at https://gcc.gnu.org/wiki/GFortranScalarizer .,
maybe you can take a look.

Reply via email to