[Bug c++/40866] [4.5 Regression] ICE in create_tmp_var, at gimplify.c:504
rguenth at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Mon Jul 27 09:42:00 GMT 2009
------- Comment #3 from rguenth at gcc dot gnu dot org 2009-07-27 09:41 -------
Confirmed.
template <typename T> class QForeachContainer {
public:
QForeachContainer();
int brk;
typename T::const_iterator i;
}
;
template <typename T> class QList {
public:
class const_iterator {
public:
const_iterator(const const_iterator &o);
const_iterator &operator++();
};
};
class QAction;
class QWidget {
public:
QList<QAction*> actions() const;
};
class myDialog : public QWidget {
myDialog();
};
myDialog::myDialog()
{
QForeachContainer<__typeof__(actions())> _container_;
({ ++_container_.brk; ++_container_.i; });
}
--
rguenth at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
Last reconfirmed|0000-00-00 00:00:00 |2009-07-27 09:41:56
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40866
More information about the Gcc-bugs
mailing list