This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug fortran/34136] [regression against g77] Add entry point and symbol for linker



------- Comment #13 from burnus at gcc dot gnu dot org  2007-11-27 09:48 -------
For testsub.f, g95 creates (for "EXTERNAL BDTEST"):
    static void * U0 = bdtest_;
which shows up as:
                 U bdtest_
same for ifort. While sunf95 and openf95 have bdtest_ in the dump.

And for the BLOCK DATA g95 creates:

bdtest_ ()
{
  static int4 wk;
}

whereas gfortran does not create any dumpable tree. The .o file of gfortran
contains:
0000000000000000 B bdtest_
whereas g95, ifort, sunf95, openf95 have:
0000000000000000 T bdtest_


-- 


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]