public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "uweigand at gcc dot gnu dot org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/21041] [4.0 Regression] ICE: output_operand: Cannot decompose address
Date: Mon, 06 Jun 2005 15:57:00 -0000	[thread overview]
Message-ID: <20050606155748.12671.qmail@sourceware.org> (raw)
In-Reply-To: <20050415081807.21041.matz@suse.de>


------- Additional Comments From uweigand at gcc dot gnu dot org  2005-06-06 15:57 -------
Here's another reduced test case, this time without
uninitialized variables:

// ICEs with -O2 -fPIC

struct args
{
  short int matrix[8][8];
  char **current;
};

int test (struct args *args, char *init, int a, int b)
{
  int i, j, k;

  if (!args || a > b || a < 0)
    return -1;

  for (i = 0; i < 2; i++)
    {
      char *dest = *args->current;
      char *p = dest;

      for (j = 0; j < 8; j++)
        *p++ = *init++;

      for (k = 0; k < 8; k++)
        {
          short int *blockvals = &args->matrix[k][0];
          dest[0] += blockvals[0];
          dest[1] += blockvals[1];
          dest[2] += blockvals[2];
          dest[3] += blockvals[3];
          dest[4] += blockvals[4];
          dest[5] += blockvals[5];
          dest[6] += blockvals[6];
          dest[7] += blockvals[7];
       }
    }

  return 1;
}

-- 


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


  parent reply	other threads:[~2005-06-06 15:57 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-04-15  8:18 [Bug target/21041] New: " matz at suse dot de
2005-04-15  8:19 ` [Bug target/21041] " matz at suse dot de
2005-04-15  8:20 ` matz at suse dot de
2005-04-15 10:21 ` [Bug target/21041] [4.0 Regression] " belyshev at depni dot sinp dot msu dot ru
2005-04-16 15:48 ` uweigand at gcc dot gnu dot org
2005-06-03 14:56 ` matz at suse dot de
2005-06-06 15:57 ` uweigand at gcc dot gnu dot org [this message]
2005-07-06 17:03 ` mmitchel at gcc dot gnu dot org
2005-09-27 16:13 ` mmitchel at gcc dot gnu dot 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=20050606155748.12671.qmail@sourceware.org \
    --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).