------- Comment #19 from rguenth at gcc dot gnu dot org 2010-04-30 17:12 ------- (In reply to comment #18) > > 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:
You are right. The .mod files only seem to contain declaration information. So splitting the file should make the testcase work ... > I don't know what information you need for -fipa-pta, but it is likely not > there. ... I need callgraph information not misrepresented. Indeed it's a bug in IPA-PTA that makes the separate case fail. I have a patch. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43879