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 rtl-optimization/63804] [5 Regression] ice in find_oldest_value_reg with -g -O2
Date: Mon, 10 Nov 2014 13:08:00 -0000	[thread overview]
Message-ID: <bug-63804-4-gvMhljAmFh@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-63804-4@http.gcc.gnu.org/bugzilla/>

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

--- Comment #4 from Markus Trippelsdorf <trippels at gcc dot gnu.org> ---
trippels@gcc2-power8 status % cat freelist_test.ii
template <typename _Tp> struct A
{ 
  _Tp _M_i;
  void
  load ()
  { 
    _Tp a;
    __atomic_load (&_M_i, &a, 0);
  }
};
class B
{ 
  int *ptr;
  int tag;
};
class C
{
public:
  template <typename Allocator> C (Allocator, int);
  template <bool, int>
  void
  construct ()
  { 
    pool_.load ();
  }
  A<B> pool_;
};
class D
{ 
  int *px;
  int pn;
};
class F
{
public:
  F (int);
};
class G
{
public:
  G (int) : p_predicate_value (0) {}
  class readonly_property61 : F
  {
  public:
    readonly_property61 (int) : F (0) {}
  } p_predicate_value;
  D m_message;
};
void report_assertion (G);
template <typename, int threadsafe, int bounded>
void
run_test ()
{ 
  C b (0, 0);
  b.construct<threadsafe, bounded> ();
  report_assertion (0);
}
template <bool bounded>
void
run_tests ()
{ 
  run_test<C, 0, bounded> ();
}
void
freelist_teststest_method ()
{ 
  run_tests<false> ();
}


  parent reply	other threads:[~2014-11-10 13:08 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-11-10 10:13 [Bug c/63804] New: " dcb314 at hotmail dot com
2014-11-10 11:22 ` [Bug rtl-optimization/63804] [5 Regression] " mpolacek at gcc dot gnu.org
2014-11-10 11:49 ` trippels at gcc dot gnu.org
2014-11-10 13:08 ` trippels at gcc dot gnu.org [this message]
2014-11-10 13:11 ` trippels at gcc dot gnu.org
2014-11-20 11:54 ` jakub at gcc dot gnu.org
2014-11-20 12:51 ` rguenth at gcc dot gnu.org
2014-12-15 18:41 ` jakub at gcc dot gnu.org
2014-12-15 19:07 ` jakub 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-63804-4-gvMhljAmFh@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).