[Bug fortran/42257] [OOP] Compiler segmentation fault due missing public statement
janus at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Thu Dec 3 07:32:00 GMT 2009
------- Comment #1 from janus at gcc dot gnu dot org 2009-12-03 07:32 -------
Confirmed. The ICE's backtrace is
#0 0x0000000000504bcf in load_derived_extensions () at
/home/jweil/gcc45/trunk/gcc/fortran/module.c:4019
#1 0x0000000000505938 in read_module () at
/home/jweil/gcc45/trunk/gcc/fortran/module.c:4458
#2 0x0000000000507cd8 in gfc_use_module () at
/home/jweil/gcc45/trunk/gcc/fortran/module.c:5508
#3 0x000000000050f666 in accept_statement (st=ST_USE) at
/home/jweil/gcc45/trunk/gcc/fortran/parse.c:1525
#4 0x0000000000510c11 in parse_spec (st=ST_USE) at
/home/jweil/gcc45/trunk/gcc/fortran/parse.c:2545
#5 0x0000000000512512 in parse_progunit (st=ST_NONE) at
/home/jweil/gcc45/trunk/gcc/fortran/parse.c:3755
#6 0x0000000000512e92 in gfc_parse_file () at
/home/jweil/gcc45/trunk/gcc/fortran/parse.c:4143
#7 0x00000000005534e3 in gfc_be_parse_file (set_yydebug=0) at
/home/jweil/gcc45/trunk/gcc/fortran/f95-lang.c:239
#8 0x00000000009f8e96 in compile_file () at
/home/jweil/gcc45/trunk/gcc/toplev.c:1049
#9 0x00000000009fb06b in do_compile () at
/home/jweil/gcc45/trunk/gcc/toplev.c:2398
#10 0x00000000009fb141 in toplev_main (argc=2, argv=0x7fffffffe2c8) at
/home/jweil/gcc45/trunk/gcc/toplev.c:2440
#11 0x00000000005d9374 in main (argc=2, argv=0x7fffffffe2c8) at
/home/jweil/gcc45/trunk/gcc/main.c:35
i.e. the error happens in the module loading. I haven't looked at the details,
but it seems this might be loosely related to PR41784.
Thanks for reporting.
--
janus at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |pault at gcc dot gnu dot org
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
Keywords| |ice-on-valid-code
Last reconfirmed|0000-00-00 00:00:00 |2009-12-03 07:32:13
date| |
Summary|Compiler segmentation fault |[OOP] Compiler segmentation
|due missing public statement|fault due missing public
| |statement
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42257
More information about the Gcc-bugs
mailing list