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 tree-optimization/17051] [3.5 Regression] ICE: internal compiler error: verify_ssa failed.for SSA_NAME: l_addr<D8610>_650


------- Additional Comments From reichelt at gcc dot gnu dot org  2004-08-17 15:36 -------
Andrew's guess seems correct. The regression appears with your patch, Richard:
http://gcc.gnu.org/ml/gcc-cvs/2004-06/msg01253.html

Btw, here's an even shorter testcase.
Note that A.d isn't used at all. But removing it causes the test to pass.

=================================
struct A
{
    char c, d;
};

void foo(struct A *p)
{
    struct A a = *p;

    if (p->c)
        bar1(a);
    else
    {
        if (p) bar2(a,a.c);
        bar3(a.c);
    }
}
=================================


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17051


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