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:
parent
df77f45463
commit
422dfbc43f
13
gcc/testsuite/g++.dg/ext/stmtexpr7.C
Normal file
13
gcc/testsuite/g++.dg/ext/stmtexpr7.C
Normal 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; }));
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user