This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/15665] New: unable to compile file w/ reference to GETARG/IARGC
- From: "dtucker at arlut dot utexas dot edu" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 26 May 2004 19:46:57 -0000
- Subject: [Bug fortran/15665] New: unable to compile file w/ reference to GETARG/IARGC
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
[dtucker@mordy mpe]$ /usr/bin/gfortran-ssa -v
Reading specs from /lib/ssa/gcc/i686-redhat-linux/3.5-tree-ssa/specs
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --
infodir=/usr/share/info --libdir=/lib/ssa --libexecdir=/lib/ssa --host=i686-
redhat-linux --enable-shared --enable-threads=posix --disable-checking --enable-
languages=c,c++,java,objc,f95 --with-system-zlib --enable-__cxa_atexit --
disable-multilib
Thread model: posix
gcc version 3.5-tree-ssa 20040513 (Fedora Core Rawhide 3.5ssa-snapshot)
[dtucker@mordy mpe]$ uname -a
Linux mordy 2.4.20-8 #1 Thu Mar 13 17:54:28 EST 2003 i686 i686 i386 GNU/Linux
Pentium III
[dtucker@mordy mpe]$ /usr/bin/gfortran-ssa -c -save-temps farg.f
farg.f: In function `mpir_iargc':
farg.f:3: internal compiler error: in gfc_conv_intrinsic_function, at
fortran/trans-intrinsic.c:2589
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://bugzilla.redhat.com/bugzilla/> for instructions.
farg.f:
integer function mpir_iargc()
mpir_iargc = IARGC()
return
end
c
subroutine mpir_getarg( i, s )
integer i
character (LEN=*) s
external getarg
call GETARG(i,s)
return
end
--
Summary: unable to compile file w/ reference to GETARG/IARGC
Product: gcc
Version: tree-ssa
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: fortran
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: dtucker at arlut dot utexas dot edu
CC: gcc-bugs at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15665