[Bug target/14533] New: s390x internal compiler error: in legitimize_pic_address, at config/s390/s390.c:2276
jakub at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Thu Mar 11 12:59:00 GMT 2004
/* { dg-do compile } */
/* { dg-options "-O2 -fpic" } */
void bar (char *, int);
extern char b[];
extern int d, e;
struct S
{
struct S *m;
int n;
} **g;
void
foo (int x, char *y)
{
struct S *h;
int k = 1, l;
again:
for (h = *g; h != (struct S *) g; h = h->m)
{
if (k == 0 && h->n & 0x100000);
l = y - b;
if (e)
bar (b, l);
if (d)
bar (b, l);
}
if (k)
{
k = 0;
goto again;
}
}
Reproduceable on gcc-3_3-branch and gcc-3_2-rhl8-branch, works in gcc 3.4 and on
the trunk.
--
Summary: s390x internal compiler error: in
legitimize_pic_address, at config/s390/s390.c:2276
Product: gcc
Version: 3.3.4
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=14533
More information about the Gcc-bugs
mailing list