[Bug target/15289] New: reload error with big-endian subregs
amodra at bigpond dot net dot au
gcc-bugzilla@gcc.gnu.org
Wed May 5 05:33:00 GMT 2004
/* On powerpc-linux -O1, this testcase ICEs on hammer branch, and
generates wrong code on gcc-3.4.0 and mainline. */
typedef struct { _Complex char a; _Complex char b; } Scc2;
Scc2 s = { 1+2i, 3+4i };
int checkScc2 (Scc2 s)
{
return s.a != 1+2i || s.b != 3+4i;
}
int main (void)
{
return checkScc2 (s);
}
--
Summary: reload error with big-endian subregs
Product: gcc
Version: 3.5.0
Status: UNCONFIRMED
Keywords: wrong-code
Severity: normal
Priority: P2
Component: target
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: amodra at bigpond dot net dot au
CC: gcc-bugs at gcc dot gnu dot org
GCC target triplet: powerpc-linux
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15289
More information about the Gcc-bugs
mailing list