public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/14532] New: s390x internal compiler error: output_operand: Cannot decompose address.
@ 2004-03-11 12:57 jakub at gcc dot gnu dot org
  2004-03-12 12:53 ` [Bug target/14532] " jakub at gcc dot gnu dot org
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: jakub at gcc dot gnu dot org @ 2004-03-11 12:57 UTC (permalink / raw)
  To: gcc-bugs

/* { dg-do compile } */
/* { dg-options "-O2 -fpic" } */

struct I
{
  void *i;
  int j;
};
struct S
{
  struct S *m;
} **a;
extern char b[];
int d, e;

void bar (void *, void *, char *, int, int);
void baz (void *, int);

void
foo (void *x, struct I *y, char *z)
{
  struct S *f;
  int k = 1, l;

again:
  for (f = *a; f != (struct S *) a; f = f->m)
    {
      l = z - b;
      if (e && y)
        bar (&y->i, x, b, l, y->j);
      if (d)
        baz (x, l);
      z++;
    }
  if (k)
    {
      k = 0;
      goto again;
    }
}

Reproduceable on s390x on gcc-3_4-branch and trunk, works on 3.3 and earlier.

-- 
           Summary: s390x internal compiler error: output_operand: Cannot
                    decompose address.
           Product: gcc
           Version: 3.4.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: target
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: jakub at gcc dot gnu dot org
                CC: gcc-bugs at gcc dot gnu dot org
  GCC host triplet: x86_64-redhat-linux
GCC target triplet: s390x-redhat-linux


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


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2005-04-29 18:48 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-03-11 12:57 [Bug target/14532] New: s390x internal compiler error: output_operand: Cannot decompose address jakub at gcc dot gnu dot org
2004-03-12 12:53 ` [Bug target/14532] " jakub at gcc dot gnu dot org
2004-03-16  4:56 ` [Bug target/14532] [3.4/3.5 Regression] " pinskia at gcc dot gnu dot org
2004-03-16 16:17 ` pinskia at gcc dot gnu dot org
2004-06-05 20:28 ` mmitchel at gcc dot gnu dot org
2004-08-23 20:55 ` mmitchel at gcc dot gnu dot org
2004-11-01  0:46 ` [Bug target/14532] [3.4/4.0 " mmitchel at gcc dot gnu dot org
2004-12-01 18:21 ` pinskia at gcc dot gnu dot org
2004-12-20  1:49 ` [Bug target/14532] [3.4 " pinskia at gcc dot gnu dot org
2005-04-29 18:48 ` mmitchel at gcc dot gnu dot org

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).