------- Comment #1 from pinskia at gcc dot gnu dot org 2007-03-04 22:00 ------- I can fix the testcase here by optimizing when we produce a CLEANUP_POINT_EXPR but the following testcase still fails at that point:
int f(void); template<int> void foo() { int i = (int) { f() }; } template void foo<0>(); -- pinskia 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 |2007-03-04 22:00:04 date| | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31038