This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug fortran/56939] [4.8/4.9 Regression] [OOP] Derived type is being used before it is defined


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

--- Comment #1 from janus at gcc dot gnu.org 2013-04-12 19:40:32 UTC ---
Seems to be a module-loading problem. Backtrace for the error message:

#0  gfc_use_derived (sym=0x1a1dc60) at
/home/janus/gcc49/trunk/gcc/fortran/symbol.c:1988
#1  0x0000000000614cab in gfc_find_component (sym=0x1a1dc60,
name=0x7fffffffd310 "dims", noaccess=true, silent=true) at
/home/janus/gcc49/trunk/gcc/fortran/symbol.c:2007
#2  0x0000000000614e1a in gfc_find_component (sym=0x1a1dde0,
name=0x7fffffffd310 "dims", noaccess=true, silent=true) at
/home/janus/gcc49/trunk/gcc/fortran/symbol.c:2036
#3  0x00000000005be94d in mio_component_ref (cp=0x1a23e48, sym=0x1a1dde0) at
/home/janus/gcc49/trunk/gcc/fortran/module.c:2552
#4  0x00000000005bf1e5 in mio_ref (rp=0x7fffffffd3b8) at
/home/janus/gcc49/trunk/gcc/fortran/module.c:2919
#5  0x00000000005bf2e2 in mio_ref_list (rp=0x1a23d98) at
/home/janus/gcc49/trunk/gcc/fortran/module.c:2959
#6  0x00000000005bfb36 in mio_expr (ep=0x1a23c18) at
/home/janus/gcc49/trunk/gcc/fortran/module.c:3322
#7  0x00000000005be5b1 in mio_array_spec (asp=0x1a23b00) at
/home/janus/gcc49/trunk/gcc/fortran/module.c:2405
#8  0x00000000005bea43 in mio_component (c=0x1a23ab0, vtype=1) at
/home/janus/gcc49/trunk/gcc/fortran/module.c:2595
#9  0x00000000005bebb7 in mio_component_list (cp=0x1a1ea88, vtype=1) at
/home/janus/gcc49/trunk/gcc/fortran/module.c:2636
#10 0x00000000005c0983 in mio_symbol (sym=0x1a1e9e0) at
/home/janus/gcc49/trunk/gcc/fortran/module.c:3815
#11 0x00000000005c1991 in load_needed (p=0x1a1d1a0) at
/home/janus/gcc49/trunk/gcc/fortran/module.c:4379
#12 0x00000000005c17ed in load_needed (p=0x1a1d7c0) at
/home/janus/gcc49/trunk/gcc/fortran/module.c:4337
#13 0x00000000005c17ed in load_needed (p=0x1a1d360) at
/home/janus/gcc49/trunk/gcc/fortran/module.c:4337
#14 0x00000000005c1800 in load_needed (p=0x1a1cc60) at
/home/janus/gcc49/trunk/gcc/fortran/module.c:4338
#15 0x00000000005c1800 in load_needed (p=0x1a1ab80) at
/home/janus/gcc49/trunk/gcc/fortran/module.c:4338
#16 0x00000000005c24ec in read_module () at
/home/janus/gcc49/trunk/gcc/fortran/module.c:4764
#17 0x00000000005c6a68 in gfc_use_module (module=0x1a1a9e0) at
/home/janus/gcc49/trunk/gcc/fortran/module.c:6352
#18 0x00000000005c6f3a in gfc_use_modules () at
/home/janus/gcc49/trunk/gcc/fortran/module.c:6476


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]