public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/49710] segfault
Date: Tue, 12 Jul 2011 07:33:00 -0000	[thread overview]
Message-ID: <bug-49710-4-RsrDejGZ2R@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-49710-4@http.gcc.gnu.org/bugzilla/>

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

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2011.07.12 07:32:35
                 CC|                            |jakub at gcc dot gnu.org
          Component|c                           |rtl-optimization
     Ever Confirmed|0                           |1

--- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> 2011-07-12 07:32:35 UTC ---
Slightly reduced testcase for -O3 -funroll-loops:

int a, b, c, d;

static void
foo (int *x)
{
  c = 0;
  while (1)
    {
      if (*x)
break;
      while (b)
for (; c; c = 0);
      for (d = 18; d != 18; d++)
if (c)
  {
    foo (x);
    return;
  }
    }
}

static void
bar ()
{
  foo (0);
  foo (0);
  for (;;)
    ;
}

baz ()
{
  for (; a;)
    bar ();
}

ICEs in fix_bb_placements during rtl loop peeling.


  reply	other threads:[~2011-07-12  7:33 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-07-12  4:43 [Bug c/49710] New: segfault regehr at cs dot utah.edu
2011-07-12  7:33 ` jakub at gcc dot gnu.org [this message]
2011-07-12  8:51 ` [Bug rtl-optimization/49710] [4.7 Regression] segfault rguenth at gcc dot gnu.org
2011-07-12  8:56 ` jakub at gcc dot gnu.org
2011-10-10 11:59 ` rguenth at gcc dot gnu.org
2011-12-28 19:11 ` hubicka at gcc dot gnu.org
2011-12-28 19:52 ` hubicka at gcc dot gnu.org
2012-01-03 17:52 ` hubicka at gcc dot gnu.org
2012-01-05 19:26 ` hubicka at gcc dot gnu.org
2012-01-05 19:29 ` 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-49710-4-RsrDejGZ2R@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).