This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Breakage from http://gcc.gnu.org/ml/gcc-cvs/2001-12/msg00223.html
- From: Kazu Hirata <kazu at hxi dot com>
- To: "'gcc-patches at gcc dot gnu dot org'" <gcc-patches at gcc dot gnu dot org>
- Cc: "'amacleod at redhat dot com'" <amacleod at redhat dot com>
- Date: Sun, 9 Dec 2001 16:58:13 -0500
- Subject: Breakage from http://gcc.gnu.org/ml/gcc-cvs/2001-12/msg00223.html
Hi,
http://gcc.gnu.org/ml/gcc-cvs/2001-12/msg00223.html
This patch seems to causes execute/930208-1.c to fail when compiled
with h8300-hms-gcc -O1 from CVS HEAD. Here is the simplified version
that still fails.
typedef union {
long l;
struct { char b3, b2; } c;
} T;
f (T u)
{
return u.c.b2 != 2;
}
main ()
{
T u;
u.c.b2 = 2;
if (f (u))
abort();
exit (0);
}
Looking at the resulting assembly file, the contents of main()
changes.
Could somebody take a look at this?
Thanks,
Kazu Hirata