This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/13010] [gfortran] seg fault on valid code
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 1 Dec 2003 04:14:46 -0000
- Subject: [Bug fortran/13010] [gfortran] seg fault on valid code
- References: <20031111161239.13010.pinskia@gcc.gnu.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From pinskia at gcc dot gnu dot org 2003-12-01 04:14 -------
Here is the backtrace:
#0 gfc_get_dtype_cst (type=0x40e79bb8, rank=1) at /Volumes/UFS_Partition/pinskia/src/gccssa/
src/gcc/fortran/trans-types.c:589
#1 0x0004ee8c in gfc_get_array_type_bounds (etype=0x40e79bb8, dimen=1, lbound=0xbffff710,
ubound=0xbffff730, packed=0) at /Volumes/UFS_Partition/pinskia/src/gccssa/src/gcc/fortran/
trans-types.c:765
#2 0x0004f830 in gfc_build_array_type (type=0x1, as=0x40e79ca8) at /Volumes/UFS_Partition/
pinskia/src/gccssa/src/gcc/fortran/trans-types.c:498
#3 0x0004fb5c in gfc_typenode_for_spec (spec=0x40e79bb8) at /Volumes/UFS_Partition/pinskia/
src/gccssa/src/gcc/fortran/trans-types.c:1064
#4 0x0004ffd4 in gfc_sym_type (sym=0x41a01930) at /Volumes/UFS_Partition/pinskia/src/
gccssa/src/gcc/fortran/trans-types.c:918
#5 0x0004b060 in gfc_get_symbol_decl (sym=0x41a01930) at /Volumes/UFS_Partition/pinskia/
src/gccssa/src/gcc/fortran/trans-decl.c:735
#6 0x0004cb6c in gfc_create_module_variable (sym=0x41a01930) at /Volumes/UFS_Partition/
pinskia/src/gccssa/src/gcc/fortran/trans-decl.c:1666
#7 0x00042324 in traverse_ns (st=0x41a01930, func=0x4caf0 <gfc_create_module_variable>) at
/Volumes/UFS_Partition/pinskia/src/gccssa/src/gcc/fortran/symbol.c:2352
#8 0x00042340 in traverse_ns (st=0x41a01780, func=0x4caf0 <gfc_create_module_variable>) at
/Volumes/UFS_Partition/pinskia/src/gccssa/src/gcc/fortran/symbol.c:2355
#9 0x000494a8 in gfc_generate_module_code (ns=0x4200a400) at /Volumes/UFS_Partition/
pinskia/src/gccssa/src/gcc/fortran/trans.c:565
#10 0x0002e46c in gfc_parse_file () at /Volumes/UFS_Partition/pinskia/src/gccssa/src/gcc/
fortran/parse.c:2477
#11 0x00046030 in gfc_be_parse_file (set_yydebug=1088920504) at /Volumes/UFS_Partition/
pinskia/src/gccssa/src/gcc/fortran/f95-lang.c:285
#12 0x0009ef00 in toplev_main (argc=4871720, argv=0x4a5628) at /Volumes/UFS_Partition/
pinskia/src/gccssa/src/gcc/toplev.c:1861
#13 0x00002604 in _start (argc=11, argv=0xbffffd3c, envp=0xbffffd6c) at /SourceCache/Csu/
Csu-46/crt.c:267
#14 0x00002478 in start ()
Here is the type of which the size is from:
(gdb) p debug_tree(type)
<record_type 0x40e79bb8 listptr_t VOID
align 8 symtab 0 alias set -1>
$3 = void
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13010