[Bug fortran/19669] [gfortran] ICE (segfault) on legal (?) code

pinskia at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Fri Jan 28 15:02:00 GMT 2005


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-01-28 15:02 -------
(In reply to comment #5)
> I think this is a duplicate of PR16861 (probably the most annoying bug on
> scientific codes these days, since they do use modules a lot).

This is not a duplicate of PR16861.
Here is the backtrace:
#0  mio_ref (rp=0x416049e0) at /Users/pinskia/src/local3/gcc/gcc/fortran/module.c:1810
#1  0x0002fb9c in mio_expr (ep=0x41601b14) at /Users/pinskia/src/local3/gcc/gcc/fortran/
module.c:2201
#2  0x000301b8 in mio_array_spec (asp=0x416049a8) at /Users/pinskia/src/local3/gcc/gcc/fortran/
module.c:1693
#3  0x00030b20 in mio_symbol (sym=0x41604890) at /Users/pinskia/src/local3/gcc/gcc/fortran/
module.c:2685
#4  0x00031088 in load_needed (p=0x48d7c4) at /Users/pinskia/src/local3/gcc/gcc/fortran/
module.c:2892
#5  0x00031004 in load_needed (p=0x48d7c4) at /Users/pinskia/src/local3/gcc/gcc/fortran/
module.c:2858
#6  0x00031004 in load_needed (p=0x48d7c4) at /Users/pinskia/src/local3/gcc/gcc/fortran/
module.c:2858
#7  0x0003102c in load_needed (p=0x48d7c4) at /Users/pinskia/src/local3/gcc/gcc/fortran/
module.c:2860
#8  0x00031538 in gfc_use_module () at /Users/pinskia/src/local3/gcc/gcc/fortran/module.c:3099
#9  0x00033e78 in accept_statement (st=1115684864) at /Users/pinskia/src/local3/gcc/gcc/fortran/
parse.c:1014
#10 0x0003444c in parse_spec (st=ST_USE) at /Users/pinskia/src/local3/gcc/gcc/fortran/parse.c:1581
#11 0x00035eec in gfc_parse_file () at /Users/pinskia/src/local3/gcc/gcc/fortran/parse.c:2454
#12 0x0004c444 in gfc_be_parse_file (set_yydebug=1115684864) at /Users/pinskia/src/local3/gcc/
gcc/fortran/f95-lang.c:265



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
   Last reconfirmed|0000-00-00 00:00:00         |2005-01-28 15:02:46
               date|                            |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19669



More information about the Gcc-bugs mailing list