public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/17091] New: gfortran MAIN__ symbol not marked TREE_PUBLIC
@ 2004-08-19  4:18 dje at gcc dot gnu dot org
  2004-08-19  4:33 ` [Bug fortran/17091] " dje at gcc dot gnu dot org
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: dje at gcc dot gnu dot org @ 2004-08-19  4:18 UTC (permalink / raw)
  To: gcc-bugs

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.

(gdb) break assemble_start_function
Breakpoint 5 at 0x10103808: file /farm/dje/src/src/gcc/varasm.c, line 1184.
(gdb) run foo.f90
 MAIN__

Breakpoint 5, assemble_start_function (decl=0x3005f380, 
    fnname=0x200c4855 "MAIN__") at /farm/dje/src/src/gcc/varasm.c:1184
(gdb) print decl->common.public_flag
$2 = 0

-- 
           Summary: gfortran MAIN__ symbol not marked TREE_PUBLIC
           Product: gcc
           Version: 3.5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: fortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: dje at gcc dot gnu dot org
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: powerpc-ibm-aix5.2.0.0
  GCC host triplet: powerpc-ibm-aix5.2.0.0
GCC target triplet: powerpc-ibm-aix5.2.0.0


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


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2004-08-19 22:03 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-08-19  4:18 [Bug fortran/17091] New: gfortran MAIN__ symbol not marked TREE_PUBLIC dje at gcc dot gnu dot org
2004-08-19  4:33 ` [Bug fortran/17091] " dje at gcc dot gnu dot org
2004-08-19  4:39 ` pinskia at gcc dot gnu dot org
2004-08-19  4:45 ` dje at watson dot ibm dot com
2004-08-19 19:01 ` dje at gcc dot gnu dot org
2004-08-19 21:38 ` cvs-commit at gcc dot gnu dot org
2004-08-19 22:03 ` pinskia at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).