This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/34136] [regression against g77] Add entry point and symbol for linker
- From: "burnus at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 27 Nov 2007 09:48:47 -0000
- Subject: [Bug fortran/34136] [regression against g77] Add entry point and symbol for linker
- References: <bug-34136-13404@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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