public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "trippels at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug ipa/63649] [5 Regression] ICE: Segmentation fault in gcc/ipa-comdats.c:332
Date: Sun, 26 Oct 2014 15:35:00 -0000	[thread overview]
Message-ID: <bug-63649-4-fZJIVmhd9R@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-63649-4@http.gcc.gnu.org/bugzilla/>

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63649

Markus Trippelsdorf <trippels at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
      Known to work|                            |4.8.3, 4.9.2
   Last reconfirmed|                            |2014-10-26
          Component|c++                         |ipa
                 CC|                            |hubicka at gcc dot gnu.org,
                   |                            |trippels at gcc dot gnu.org
     Ever confirmed|0                           |1
            Summary|5.0: ICE with init_priority |[5 Regression] ICE:
                   |                            |Segmentation fault in
                   |                            |gcc/ipa-comdats.c:332
   Target Milestone|---                         |5.0
      Known to fail|                            |5.0

--- Comment #1 from Markus Trippelsdorf <trippels at gcc dot gnu.org> ---
Started with r210597.

A bit more reduced:

markus@x4 /tmp % cat ipa.ii

struct A
{
  typedef void Func ();
  A () = default;
  void *_base;
};
struct B
{
  struct Ctor_vector
  {
    void m_fn1 (A::Func);
  } ctors;
};
template <typename> class C : B
{
public:
  C ();
  static void
  m_fn2 ()
  {
  }
};

A b;
__attribute__ ((init_priority (0xfffe))) C<int> a;
template <typename T> C<T>::C () { ctors.m_fn1 (m_fn2); }


  reply	other threads:[~2014-10-26 14:25 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-10-26 13:18 [Bug c++/63649] New: 5.0: ICE with init_priority adam at os dot inf.tu-dresden.de
2014-10-26 15:35 ` trippels at gcc dot gnu.org [this message]
2014-10-26 16:58 ` [Bug ipa/63649] [5 Regression] ICE: Segmentation fault in gcc/ipa-comdats.c:332 trippels at gcc dot gnu.org
2014-10-31 21:31 ` adam at os dot inf.tu-dresden.de
2014-11-20 12:40 ` rguenth at gcc dot gnu.org
2014-12-15  1:04 ` hubicka 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-63649-4-fZJIVmhd9R@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).