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/59941] [4.7 Regression] [OOP] ICE with polymorphic types
Date: Sat, 25 Jan 2014 13:50:00 -0000	[thread overview]
Message-ID: <bug-59941-4-CoO4m6aaHJ@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-59941-4@http.gcc.gnu.org/bugzilla/>

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

--- Comment #8 from janus at gcc dot gnu.org ---
Backtrace from gdb:


Program received signal SIGSEGV, Segmentation fault.
0x00000000004d19d6 in replace_comp (expr=expr@entry=0x146cc10,
sym=sym@entry=0x146f7a0, i=i@entry=0x7fffffffdc6c)
    at /home/jweil/gcc47/branch/gcc/fortran/expr.c:4199
4199           && !gfc_is_intrinsic (expr->symtree->n.sym, 0, expr->where)))
(gdb) bt
#0  0x00000000004d19d6 in replace_comp (expr=expr@entry=0x146cc10,
sym=sym@entry=0x146f7a0, i=i@entry=0x7fffffffdc6c)
    at /home/jweil/gcc47/branch/gcc/fortran/expr.c:4199
#1  0x00000000004d46ba in gfc_traverse_expr (expr=0x146cc10,
sym=sym@entry=0x146f7a0, 
    func=func@entry=0x4d19a0 <replace_comp>, f=f@entry=0) at
/home/jweil/gcc47/branch/gcc/fortran/expr.c:3929
#2  0x00000000004d6c9c in gfc_expr_replace_comp (expr=<optimized out>,
dest=dest@entry=0x146f7a0)
    at /home/jweil/gcc47/branch/gcc/fortran/expr.c:4218
#3  0x0000000000524615 in resolve_fl_derived0 (sym=sym@entry=0x146e590)
    at /home/jweil/gcc47/branch/gcc/fortran/resolve.c:11724
#4  0x000000000052c80d in resolve_fl_derived (sym=sym@entry=0x146e590)
    at /home/jweil/gcc47/branch/gcc/fortran/resolve.c:12046
#5  0x0000000000522238 in resolve_symbol (sym=0x146e590) at
/home/jweil/gcc47/branch/gcc/fortran/resolve.c:12308
#6  0x0000000000540a84 in do_traverse_symtree (st=0x146ca50,
st_func=st_func@entry=0x0, 
    sym_func=sym_func@entry=0x521ac0 <resolve_symbol>) at
/home/jweil/gcc47/branch/gcc/fortran/symbol.c:3387
#7  0x000000000054440d in gfc_traverse_ns (ns=ns@entry=0x146bf80,
sym_func=sym_func@entry=0x521ac0 <resolve_symbol>)
    at /home/jweil/gcc47/branch/gcc/fortran/symbol.c:3412
#8  0x00000000005209d1 in resolve_types (ns=ns@entry=0x146bf80) at
/home/jweil/gcc47/branch/gcc/fortran/resolve.c:13885
#9  0x00000000005213c1 in gfc_resolve (ns=0x146bf80) at
/home/jweil/gcc47/branch/gcc/fortran/resolve.c:13985
#10 0x000000000052f7a5 in gfc_resolve (ns=<optimized out>) at
/home/jweil/gcc47/branch/gcc/fortran/resolve.c:13978
#11 0x0000000000516153 in resolve_all_program_units
(gfc_global_ns_list=0x145ab60)
    at /home/jweil/gcc47/branch/gcc/fortran/parse.c:4392


  parent reply	other threads:[~2014-01-25 13:50 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-01-25 11:07 [Bug fortran/59941] New: ICE with polymorphic types in [4.7.0|4.7.1|4.73|4.7.4] juergen.reuter at desy dot de
2014-01-25 11:08 ` [Bug fortran/59941] " juergen.reuter at desy dot de
2014-01-25 12:56 ` [Bug fortran/59941] [4.7 Regression] [OOP] ICE with polymorphic types janus at gcc dot gnu.org
2014-01-25 13:15 ` janus at gcc dot gnu.org
2014-01-25 13:19 ` janus at gcc dot gnu.org
2014-01-25 13:29 ` janus at gcc dot gnu.org
2014-01-25 13:50 ` janus at gcc dot gnu.org [this message]
2014-01-27 13:26 ` janus at gcc dot gnu.org
2014-01-28 17:49 ` janus at gcc dot gnu.org
2014-01-28 17:58 ` janus at gcc dot gnu.org
2014-02-03  8:16 ` janus at gcc dot gnu.org
2014-02-03  8:22 ` janus at gcc dot gnu.org

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-59941-4-CoO4m6aaHJ@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).