This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/36157] ICE in snapshot of 05/02/08 under FreeBSD i386 with IMPLICIT and function call
- From: "michael dot a dot richmond at nasa dot gov" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 12 May 2008 11:41:15 -0000
- Subject: [Bug fortran/36157] ICE in snapshot of 05/02/08 under FreeBSD i386 with IMPLICIT and function call
- References: <bug-36157-14284@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #2 from michael dot a dot richmond at nasa dot gov 2008-05-12 11:41 -------
$ gdb -args irun/libexec/gcc/i386-unknown-freebsd7.0/4.4.0/f951 m1.f90
GNU gdb 6.1.1 [FreeBSD]
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "i386-marcel-freebsd"...
(gdb) run
Starting program:
/usr/home/mrichmon/irun/libexec/gcc/i386-unknown-freebsd7.0/4.4.0/f951 m1.f90
Program received signal SIGSEGV, Segmentation fault.
0x28771303 in strchr () from /lib/libc.so.7
(gdb) backtrace
#0 0x28771303 in strchr () from /lib/libc.so.7
#1 0xbfbfe5f4 in ?? ()
#2 0xbfbfdf88 in ?? ()
#3 0x287631fa in localeconv () from /lib/libc.so.7
#4 0x286f06e3 in vsnprintf () from /lib/libc.so.7
#5 0x080791b9 in gfc_get_string (
format=0x100 <Error reading address 0x100: Bad address>)
at /home/mrichmon/gcc-4.4-20080502/gcc/fortran/iresolve.c:52
#6 0x0806cb0c in gfc_find_function (
name=0x100 <Error reading address 0x100: Bad address>)
at /home/mrichmon/gcc-4.4-20080502/gcc/fortran/intrinsic.c:702
#7 0x0806bf06 in gfc_procedure_use (sym=0x28863380, ap=0x2886813c,
where=0x288680f0)
at /home/mrichmon/gcc-4.4-20080502/gcc/fortran/interface.c:2411
#8 0x08097745 in gfc_resolve_expr (e=0x0)
at /home/mrichmon/gcc-4.4-20080502/gcc/fortran/resolve.c:1695
#9 0x00000000 in ?? ()
(gdb)
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36157