This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/15289] New: reload error with big-endian subregs
- From: "amodra at bigpond dot net dot au" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 5 May 2004 05:33:06 -0000
- Subject: [Bug target/15289] New: reload error with big-endian subregs
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
/* 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