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

--- Comment #7 from Rimvydas (RJ) <rimvydas.jas at gmail dot com> ---
(In reply to anlauf from comment #6)
> 
> OK, this is really a memory hog.
> 
> Replacing the many "use phys_base_mod, only : phys_base" by a simple
> 
>   import
> 
> in the interfaces after putting
> 
>   use phys_base_mod, only : phys_base
> 
> at the very top gives a tremendous speed-up.  Can you try that as a
> workaround?
> 
> As an aside: is this automatically generated code?

The import variant is known workaround, but it does not work well with optional
dummy arguments in interfaces if main unit does not make use of the given type.
Most of these interfaces are pregenerated automatically from original source
code and used as includes in others.

Reply via email to