public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/48624] New: gfrtran DECL issues in function declaration
@ 2011-04-15 16:26 burnus at gcc dot gnu.org
  2011-04-15 21:17 ` [Bug fortran/48624] gfortran " burnus at gcc dot gnu.org
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: burnus at gcc dot gnu.org @ 2011-04-15 16:26 UTC (permalink / raw)
  To: gcc-bugs

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

           Summary: gfrtran DECL issues in function declaration
           Product: gcc
           Version: 4.7.0
            Status: UNCONFIRMED
          Keywords: wrong-code
          Severity: normal
          Priority: P3
         Component: fortran
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: burnus@gcc.gnu.org


Split off from 48286. Richard writes there:

Btw, fndecl issue - if you build at least cray_pointers_8.f90 with
-fwhole-program
I get

/tmp/ccBnfOGf.o: In function `main':
cray_pointers_8.f90:(.text.startup+0x76): undefined reference to `euler_'
collect2: ld returned 1 exit status

which means the euler fn has a different decl than the one called from main.


I can reproduce this with:
  gfortran -fcray-pointer -O2 -fwhole-program cray_pointers_8.f90


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

end of thread, other threads:[~2011-04-17  7:37 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-04-15 16:26 [Bug fortran/48624] New: gfrtran DECL issues in function declaration burnus at gcc dot gnu.org
2011-04-15 21:17 ` [Bug fortran/48624] gfortran " burnus at gcc dot gnu.org
2011-04-16  8:01 ` burnus at gcc dot gnu.org
2011-04-16 21:56 ` tkoenig at gcc dot gnu.org
2011-04-17  7:35 ` burnus at gcc dot gnu.org
2011-04-17  7:37 ` burnus at gcc dot gnu.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).