public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "mattyclarkson at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/54466] Recursive Type Alias, Member Function Pointer, Segmentation Fault
Date: Tue, 16 Oct 2012 15:47:00 -0000	[thread overview]
Message-ID: <bug-54466-4-sBi9AuUz5F@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-54466-4@http.gcc.gnu.org/bugzilla/>


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

--- Comment #1 from Matt Clarkson <mattyclarkson at gmail dot com> 2012-10-16 15:46:31 UTC ---
This is still an error on 4.7.2.

It is the const before the std::shared_ptr<const T> that is the problem:

        template<typename T>
#if (__GNUC__ <= 4) && (__GNUC_MINOR__ <= 7) && (__GNUC_PATCHLEVEL__ <= 2)
        using CallbackPtr = std::shared_ptr<const T>;
#else
        // This causes a segmentation fault on G++ 4.7.2
        // Bug Report: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54466
        using CallbackPtr = const std::shared_ptr<const T>;
#endif


  reply	other threads:[~2012-10-16 15:47 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-09-03 11:07 [Bug c++/54466] New: " mattyclarkson at gmail dot com
2012-10-16 15:47 ` mattyclarkson at gmail dot com [this message]
2012-10-16 15:56 ` [Bug c++/54466] [C++11] " redi at gcc dot gnu.org
2012-10-16 22:32 ` paolo.carlini at oracle dot com
2012-10-16 23:09 ` redi at gcc dot gnu.org
2012-10-16 23:13 ` paolo.carlini at oracle dot com
2012-10-16 23:17 ` redi at gcc dot gnu.org
2012-10-17  8:19 ` mattyclarkson at gmail dot com
2012-10-26 15:11 ` dodji at gcc dot gnu.org
2012-10-26 15:13 ` dodji at seketeli dot org
2012-10-27  7:59 ` dodji at seketeli dot org
2012-11-13 16:08 ` dodji at gcc dot gnu.org
2012-11-13 16:09 ` dodji at gcc dot gnu.org
2012-11-14 14:24 ` mattyclarkson at gmail dot com
2012-11-14 14:29 ` redi at gcc dot gnu.org
2012-11-15 13:52 ` dodji at seketeli dot org
2012-12-05 13:05 ` paolo.carlini at oracle dot com
2013-05-03  9:06 ` paolo.carlini at oracle dot com

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-54466-4-sBi9AuUz5F@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).