https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80038
--- Comment #11 from Edgar Fournival <cont...@edgar-fournival.fr> --- It is also interesting to note that GCC 5.x is not impacted. Even if the given example code will not compile on GCC 5 (ICE in lower_stmt, at gimple-low.c:397 for the line "cilk_spawn walk(vnew, size);"), we discovered the bug in this project: https://github.com/hivert/NumericMonoid/tree/master/src/Cilk%2B%2B (source) https://github.com/hivert/NumericMonoid/issues/2 (results, unfortunately in French) Which does compile under GCC 5. The quick tests done on my machine show that something between GCC 5.4.0 and GCC 6.3.1 introduced the destructor bug.