public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/52720] [4.7/4.8 Regression] internal compiler error: in try_move_mult_to_index
Date: Mon, 26 Mar 2012 12:46:00 -0000	[thread overview]
Message-ID: <bug-52720-4-nGKWKVFnWd@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-52720-4@http.gcc.gnu.org/bugzilla/>

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

--- Comment #4 from Richard Guenther <rguenth at gcc dot gnu.org> 2012-03-26 12:44:33 UTC ---
Reduced testcase:

struct alu_bank_swizzle {
    int hw_gpr[3][4];
    int hw_cfile_addr[4];
};
static void init_bank_swizzle(struct alu_bank_swizzle *bs)
{
  int i, cycle, component;
  for (cycle = 0; cycle < 3; cycle++)
    for (component = 0; component < 4; component++)
      bs->hw_gpr[cycle][component] = -1;
  for (i = 0; i < 4; i++)
    bs->hw_cfile_addr[i] = -1;
}
int check_and_set_bank_swizzle(int max_slots, int *slots)
{
  struct alu_bank_swizzle bs;
  int i;
  for (i = 0; i < max_slots; i++)
    {
      init_bank_swizzle(&bs);
      if (slots[i])
        check_vector(&bs);
    }
}


  parent reply	other threads:[~2012-03-26 12:44 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-26  9:47 [Bug c/52720] New: " treeve at sourcemage dot org
2012-03-26 11:06 ` [Bug c/52720] " rguenth at gcc dot gnu.org
2012-03-26 12:25 ` treeve at sourcemage dot org
2012-03-26 12:26 ` rguenth at gcc dot gnu.org
2012-03-26 12:28 ` [Bug middle-end/52720] [4.7/4.8 Regression] " rguenth at gcc dot gnu.org
2012-03-26 12:46 ` rguenth at gcc dot gnu.org [this message]
2012-03-26 13:06 ` rguenth at gcc dot gnu.org
2012-03-27 12:51 ` rguenth at gcc dot gnu.org
2012-03-27 12:51 ` rguenth at gcc dot gnu.org
2012-03-27 13:02 ` rguenth 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-52720-4-nGKWKVFnWd@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).