public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/60780] New: Equivalence statements in nested modules results in fast growing duplicate statements in module files
@ 2014-04-07 17:27 russelldub at gmail dot com
  2014-04-07 17:41 ` [Bug fortran/60780] " russelldub at gmail dot com
                   ` (10 more replies)
  0 siblings, 11 replies; 12+ messages in thread
From: russelldub at gmail dot com @ 2014-04-07 17:27 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60780

            Bug ID: 60780
           Summary: Equivalence statements in nested modules results in
                    fast growing duplicate statements in module files
           Product: gcc
           Version: 4.8.2
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
          Assignee: unassigned at gcc dot gnu.org
          Reporter: russelldub at gmail dot com

Created attachment 32558
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=32558&action=edit
Code to reproduce issue.

Equivalence statements in equivalence statements results in quickly growing
number of duplicated statements in nested module files.  The attached file
shows the issue.  Compiled with
> gfortran equiv_mod.f90
Resulting module files grow from 3.1 kb to 128 kb.  (This issue is somewhat
mitigated by compressing modules in latest gfortran, but duplicate statements
still exist).  The fortran interface to HDF5 is affected by this.  In code that
uses HDF5 in nested fashion module files can grow to multiple GB in size
resulting in ICE when memory is exhausted.  May be related to pr 38171.

Reproduced in 4.4.7, 4.6.1, 4.8.2 and recent git clone.


^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2015-06-05 20:42 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-04-07 17:27 [Bug fortran/60780] New: Equivalence statements in nested modules results in fast growing duplicate statements in module files russelldub at gmail dot com
2014-04-07 17:41 ` [Bug fortran/60780] " russelldub at gmail dot com
2014-04-09  8:27 ` dominiq at lps dot ens.fr
2014-10-08  1:58 ` russelldub at gmail dot com
2014-10-08  2:00 ` russelldub at gmail dot com
2015-03-09 10:22 ` dominiq at lps dot ens.fr
2015-03-09 18:49 ` jvdelisle at gcc dot gnu.org
2015-03-09 18:57 ` dominiq at lps dot ens.fr
2015-03-11  5:12 ` russelldub at gmail dot com
2015-06-05 16:55 ` kargl at gcc dot gnu.org
2015-06-05 20:41 ` kargl at gcc dot gnu.org
2015-06-05 20:42 ` kargl at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).