[Bug fortran/43227] New: [fortran-dev Regression] ICE: segmentation fault in mio_expr
dominiq at lps dot ens dot fr
gcc-bugzilla@gcc.gnu.org
Tue Mar 2 09:45:00 GMT 2010
Compiling the original test for pr43199 with fortran-dev revision 157148 gives
a segmentation fault:
(gdb) run pr43199.f90
Starting program: /opt/gcc/gcc4.5d/libexec/gcc/x86_64-apple-darwin10/4.5.0/f951
pr43199.f90
Reading symbols for shared libraries .++++++++++++..... done
Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: KERN_INVALID_ADDRESS at address: 0x0000000000000000
0x000000010005a6a5 in mio_expr (ep=<value temporarily unavailable, due to
optimizations>) at ../../for_work/gcc/fortran/module.c:3074
3074 write_atom (ATOM_STRING, e->value.function.isym->name);
(gdb) bt
#0 0x000000010005a6a5 in mio_expr (ep=<value temporarily unavailable, due to
optimizations>) at ../../for_work/gcc/fortran/module.c:3074
#1 0x000000010005ac8d in mio_charlen (clp=0x1418425f0) at
../../for_work/gcc/fortran/module.c:2050
#2 0x000000010005a4df in mio_typespec (ts=0x1418425e8) at
../../for_work/gcc/fortran/module.c:2106
#3 0x000000010005b377 in mio_component (c=0x1418425e0) at
../../for_work/gcc/fortran/module.c:2343
#4 0x000000010005b578 in mio_symbol (sym=0x141841880) at
../../for_work/gcc/fortran/module.c:2393
#5 0x000000010005b9ed in write_symbol (n=4, sym=0x141841880) at
../../for_work/gcc/fortran/module.c:4787
#6 0x000000010005ba9f in write_symbol1 (p=0x1418b4570) at
../../for_work/gcc/fortran/module.c:4856
#7 0x000000010005ba65 in write_symbol1 (p=0x1418b1990) at
../../for_work/gcc/fortran/module.c:4860
#8 0x000000010005ba53 in write_symbol1 (p=0x1418b1bd0) at
../../for_work/gcc/fortran/module.c:4851
#9 0x000000010005ba53 in write_symbol1 (p=0x1418b25f0) at
../../for_work/gcc/fortran/module.c:4851
#10 0x000000010005ba65 in write_symbol1 (p=0x1418acad0) at
../../for_work/gcc/fortran/module.c:4860
#11 0x000000010005ba53 in write_symbol1 (p=0x1418b3a30) at
../../for_work/gcc/fortran/module.c:4851
#12 0x000000010005ba65 in write_symbol1 (p=0x1418ac890) at
../../for_work/gcc/fortran/module.c:4860
#13 0x000000010005ba65 in write_symbol1 (p=0x1418ac650) at
../../for_work/gcc/fortran/module.c:4860
#14 0x000000010005ba53 in write_symbol1 (p=0x1418b3c70) at
../../for_work/gcc/fortran/module.c:4851
#15 0x000000010005ba65 in write_symbol1 (p=0x1418ab9f0) at
../../for_work/gcc/fortran/module.c:4860
#16 0x000000010005ba53 in write_symbol1 (p=0x1418b1510) at
../../for_work/gcc/fortran/module.c:4851
#17 0x000000010005d6dc in gfc_dump_module (name=0x7fff5fbfd3dd "",
dump_flag=<value temporarily unavailable, due to optimizations>) at
../../for_work/gcc/fortran/module.c:5006
#18 0x0000000100069b5b in gfc_parse_file () at
../../for_work/gcc/fortran/parse.c:4226
#19 0x00000001000a2f4c in gfc_be_parse_file (set_yydebug=<value temporarily
unavailable, due to optimizations>) at
../../for_work/gcc/fortran/f95-lang.c:239
#20 0x00000001006d61ea in toplev_main (argc=2, argv=0x7fff5fbfd968) at
../../for_work/gcc/toplev.c:1053
#21 0x00000001000017f4 in start ()
Note that this pr may be related to or a duplicate of pr42274. Since the exact
places of the segmentation fault are different, I prefer to open a new pr. If
this pr is a duplicate, please feel free to close it.
--
Summary: [fortran-dev Regression] ICE: segmentation fault in
mio_expr
Product: gcc
Version: fortran-dev
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: fortran
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: dominiq at lps dot ens dot fr
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43227
More information about the Gcc-bugs
mailing list