This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug rtl-optimization/25899] [4.2 Regression] ACATS c34006a cc1226b failure on x86
- From: "hubicka at ucw dot cz" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 25 Jan 2006 13:43:26 -0000
- Subject: [Bug rtl-optimization/25899] [4.2 Regression] ACATS c34006a cc1226b failure on x86
- References: <bug-25899-7210@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #20 from hubicka at ucw dot cz 2006-01-25 13:43 -------
Subject: Re: [4.2 Regression] ACATS c34006a cc1226b failure on x86
Very good catch! Here is C testcase. I need to setup testing, then I
will try to debug the problem in combiner.
Honza
struct a
{
int a;
char b,c,d,e;
};
__attribute__ ((noinline))
__attribute__ ((regparm(1))) t(struct a a)
{
if (a.a!=1 || a.b!=1 || a.c!=1)
abort();
}
main()
{
struct a a;
a.c=1;
a.a=1;
a.b=1;
t(a);
return 0;
}
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25899