[Bug tree-optimization/17517] [4.0 Regression] ICE: SSA corruption
belyshev at lubercy dot com
gcc-bugzilla@gcc.gnu.org
Thu Sep 16 13:32:00 GMT 2004
------- Additional Comments From belyshev at lubercy dot com 2004-09-16 13:32 -------
// smaller testcase:
extern void foo ();
struct Ptr {
int * ptr;
Ptr () { ptr = 0; }
~Ptr() { delete ptr; }
Ptr &operator= (int * p) { ptr = p; return *this; }
};
int *new_checker () { foo (); return 0; }
void pipe (int c)
{
Ptr checker;
foo ();
for (;;)
{
switch (c)
{
case '-':
checker = new_checker ();
break;
}
}
}
--
What |Removed |Added
----------------------------------------------------------------------------
Last reconfirmed|2004-09-16 13:12:10 |2004-09-16 13:32:11
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17517
More information about the Gcc-bugs
mailing list