target/9929: [3.3/3.4 regression] Can't find spill register
Steven Bosscher
s.bosscher@student.tudelft.nl
Mon Mar 24 23:06:00 GMT 2003
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=9929
Still there today.
Just -O -fPIC is enough to trigger it on i586.
Janis, can you hunt this one?
Greetz
Steven
---------------------------
typedef struct X {
char * ptr;
int offset;
} X_t;
X_t foo(X_t *d1, char * A0);
void bar() {
X_t l1, l2, l3;
l3 = foo(&l1, l2.ptr);
(*(X_t *)(l2.ptr + l3.offset)) = l1;
}
-----------------------------
More information about the Gcc-bugs
mailing list