This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/17051] [3.5 Regression] ICE: internal compiler error: verify_ssa failed.for SSA_NAME: l_addr<D8610>_650
- From: "reichelt at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 17 Aug 2004 15:36:51 -0000
- Subject: [Bug tree-optimization/17051] [3.5 Regression] ICE: internal compiler error: verify_ssa failed.for SSA_NAME: l_addr<D8610>_650
- References: <20040816190449.17051.green@redhat.com>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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