[Bug c++/17554] [4.0 Regression] crashes in on kopete build (KDE's kdenetwork)
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-09-18 15:53 -------
Confirmed, here is the reduced testcase (someone can most likely reduce this a little more):
struct FieldListIterator
{
struct t {struct t *next; };
t *node;
FieldListIterator();
FieldListIterator (const FieldListIterator&);
FieldListIterator operator++(int){
FieldListIterator tmp = *this;
node = node->next;
return tmp;
}
FieldListIterator &operator++(){
node = node->next;
return *this;
}
};
struct FieldList
{
virtual ~FieldList();
FieldListIterator find( FieldListIterator &it);
};
void take()
{
FieldList contactListFields;
for ( FieldListIterator it;
1;
it = contactListFields.find( ++it))
{
}
}
: Search converges between 2004-06-20-trunk (#469) and 2004-06-22-trunk (#470).
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed| |1
Last reconfirmed|0000-00-00 00:00:00 |2004-09-18 15:53:17
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17554
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
Reply to: