re PR c++/24686 (ICE when building a variation of NMSTL)

PR c++/24686
        * gimplify.c (gimplify_cleanup_point_expr): Also save and restore
        the cleanup list.

From-SVN: r106787
This commit is contained in:
Jason Merrill 2005-11-11 12:15:48 -05:00
parent df77f45463
commit 422dfbc43f

View File

@ -0,0 +1,13 @@
// PR c++/24686
struct A
{
~A();
};
bool h(int, const A&);
int f();
int i;
void g()
{
i && (A(), ({ static int l = f(); l; }));
}