public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "markus at trippelsdorf dot de" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/58627] [4.9 Regression] crash during compilation of boost testsuite
Date: Wed, 09 Oct 2013 07:14:00 -0000	[thread overview]
Message-ID: <bug-58627-4-gCFfJ6Li9j@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-58627-4@http.gcc.gnu.org/bugzilla/>

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

Markus Trippelsdorf <markus at trippelsdorf dot de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jason at gcc dot gnu.org
          Component|tree-optimization           |c++

--- Comment #2 from Markus Trippelsdorf <markus at trippelsdorf dot de> ---
Started with r198099.

The following patch apparently "fixes" the issue:

diff --git a/gcc/cp/class.c b/gcc/cp/class.c
index c587e55ac681..9547da539c57 100644
--- a/gcc/cp/class.c
+++ b/gcc/cp/class.c
@@ -7436,7 +7436,6 @@ resolve_address_of_overloaded_function (tree target_type,
          if (same_type_p (target_fn_type, static_fn_type (instantiation)))
            matches = tree_cons (instantiation, fn, matches);

-         ggc_free (targs);
        }

       /* Now, remove all but the most specialized of the matches.  */


  parent reply	other threads:[~2013-10-09  7:14 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-10-05  8:04 [Bug tree-optimization/58627] New: " markus at trippelsdorf dot de
2013-10-05  8:04 ` [Bug tree-optimization/58627] " markus at trippelsdorf dot de
2013-10-09  7:14 ` markus at trippelsdorf dot de [this message]
2013-10-10 11:50 ` [Bug c++/58627] " rguenth at gcc dot gnu.org
2013-11-05 14:49 ` rguenth at gcc dot gnu.org
2013-11-28  7:08 ` jakub at gcc dot gnu.org
2013-12-09 19:11 ` paolo.carlini at oracle dot com
2013-12-10  8:26 ` jakub at gcc dot gnu.org
2013-12-12 13:36 ` jakub at gcc dot gnu.org
2013-12-29  9:27 ` trippels at gcc dot gnu.org
2013-12-29  9:29 ` trippels 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-58627-4-gCFfJ6Li9j@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).