This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
gfortran MAIN__ symbol not marked TREE_PUBLIC
- From: David Edelsohn <dje at watson dot ibm dot com>
- To: fortran at gcc dot gnu dot org
- Date: Thu, 19 Aug 2004 00:25:26 -0400
- Subject: gfortran MAIN__ symbol not marked TREE_PUBLIC
When gfortran synthesizes the MAIN__ symbol, the decl is not
receiving the attribute TREE_PUBLIC, which is causing problems on AIX
because the symbol is not being globalized.
I assume that some bit is missing from
trans.c:gfc_generate_code().
I have opened PR fortran/17091 to track the bug.
David