This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug rtl-optimization/25899] [4.2 Regression] ACATS c34006a cc1226b failure on x86



------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]