This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/15643] [3.5 Regression] ICE in replace_ssa_names, at tree-ssa-copy.c:73
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 8 Jun 2004 18:24:29 -0000
- Subject: [Bug tree-optimization/15643] [3.5 Regression] ICE in replace_ssa_names, at tree-ssa-copy.c:73
- References: <20040525044500.15643.lucier@math.purdue.edu>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-06-08 18:24 -------
Here is another testcase this time in C++:
void foo();
struct A
{
int i;
A() : i(0) {}
~A() { if (i) foo(); }
void bar(A &a) { a.i = 1; }
};
void quus()
{
A a1, a2;
foo();
a1.bar(a1);
}
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15643