------- Comment #18 from dominiq at lps dot ens dot fr  2010-04-30 15:53 -------
> As far as I understand this use statement causes GFortran to read in the
> bytecode from the .mod file and combine the files again to a single
> translation unit.  So this split is in fact not a split.

>From my very limited understanding of the content of *.mod files, there is
nothing such as a "bytecode" in them, but only the information needed for the
USE statements:

[macbook] f90/bug% cat aa.mod
GFORTRAN module version '5' created from pr36761.f90 on Tue Apr 20 08:55:48
2010
MD5:8452a2eab439f2a00c76ddd985f3af67 -- If you edit this, you'll get what you
deserve.

(() () () () () () () () () () () () () () () () () () () () () () () ()
() () ())

()

()

()

()

()

(2 'aa' 'aa' 'aa' 1 ((MODULE UNKNOWN-INTENT UNKNOWN-PROC UNKNOWN UNKNOWN
0 0) (UNKNOWN 0 0 0 UNKNOWN ()) 0 0 () () 0 () () () 0 0)
3 'md' 'aa' 'md' 1 ((VARIABLE UNKNOWN-INTENT UNKNOWN-PROC UNKNOWN
UNKNOWN 0 0 ALLOCATABLE DIMENSION) (REAL 8 0 0 REAL ()) 0 0 () (2 0
DEFERRED () () () ()) 0 () () () 0 0)
)

('aa' 0 2 'md' 0 3)

I don't know what information you need for -fipa-pta, but it is likely not
there.


-- 


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

Reply via email to