public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "hjl at lucon dot org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/33375] ICE (segfault) gfortran.dg/common_6.f90
Date: Mon, 07 Jan 2008 07:09:00 -0000	[thread overview]
Message-ID: <20080107045739.17256.qmail@sourceware.org> (raw)
In-Reply-To: <bug-33375-13404@http.gcc.gnu.org/bugzilla/>



------- Comment #7 from hjl at lucon dot org  2008-01-07 04:57 -------
gfc_undo_symbols has

 for (p = changed_syms; p; p = q) 
    {    
      q = p->tlink;

      if (p->new)
        {    
          /* Symbol was new.  */
          delete_symtree (&p->ns->sym_root, p->name);

          p->refs--;
          if (p->refs < 0) 
            gfc_internal_error ("gfc_undo_symbols(): Negative refs");
          if (p->refs == 0)
            gfc_free_symbol (p);
          continue;
        }

"P" is freed. But it still accessible by resolve_common_vars somehow.


-- 


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


  parent reply	other threads:[~2008-01-07  4:58 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-09-10  8:36 [Bug fortran/33375] New: " burnus at gcc dot gnu dot org
2007-09-10  8:54 ` [Bug middle-end/33375] [4.3 Regression] " burnus at gcc dot gnu dot org
2007-09-10 16:00 ` [Bug fortran/33375] " burnus at gcc dot gnu dot org
2007-09-17  9:27 ` fxcoudert at gcc dot gnu dot org
2007-09-29 20:43 ` [Bug fortran/33375] " danglin at gcc dot gnu dot org
2007-10-07 20:03 ` tobi at gcc dot gnu dot org
2008-01-06 21:58 ` burnus at gcc dot gnu dot org
2008-01-06 22:41 ` burnus at gcc dot gnu dot org
2008-01-07  7:09 ` hjl at lucon dot org [this message]
2008-01-07  8:57 ` burnus at gcc dot gnu dot org
2008-01-07 23:47 ` hjl at lucon dot org
2008-01-08  8:46 ` jvdelisle at gcc dot gnu dot org
2008-01-08 14:24 ` hjl at lucon dot org
2008-01-16 16:17 ` [Bug fortran/33375] [4.3 Regression] " rguenth at gcc dot gnu dot org
2008-01-18  1:39 ` hjl at gcc dot gnu dot org
2008-01-18  9:00 ` ubizjak at gmail dot com
2008-01-24 22:24 ` dfranke at gcc dot gnu dot 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=20080107045739.17256.qmail@sourceware.org \
    --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).