[Bug fortran/48624] New: gfrtran DECL issues in function declaration
burnus at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Apr 15 16:26:00 GMT 2011
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
More information about the Gcc-bugs
mailing list