public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "janus at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/56939] [4.8/4.9 Regression] [OOP] Derived type is being used before it is defined
Date: Fri, 12 Apr 2013 19:40:00 -0000	[thread overview]
Message-ID: <bug-56939-4-qzEZNCHQkk@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-56939-4@http.gcc.gnu.org/bugzilla/>


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


  reply	other threads:[~2013-04-12 19:40 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-04-12 19:08 [Bug fortran/56939] New: " janus at gcc dot gnu.org
2013-04-12 19:40 ` janus at gcc dot gnu.org [this message]
2013-05-15 13:27 ` [Bug fortran/56939] " rguenth at gcc dot gnu.org
2013-05-31 11:00 ` jakub at gcc dot gnu.org
2013-06-11 17:18 ` mikael at gcc dot gnu.org
2013-06-11 18:04 ` dominiq at lps dot ens.fr

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-56939-4-qzEZNCHQkk@http.gcc.gnu.org/bugzilla/ \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).