This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/60804] Another CilkPlus ICE in gimplify_expr, at gimplify.c:8335
- From: "jakub at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 11 Apr 2014 14:15:36 +0000
- Subject: [Bug c/60804] Another CilkPlus ICE in gimplify_expr, at gimplify.c:8335
- Auto-submitted: auto-generated
- References: <bug-60804-4 at http dot gcc dot gnu dot org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60804
--- Comment #7 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
But then it is not valid in many other places (for/while/do condition, etc.).
Perhaps if _Cilk_spawn is allowed in the grammer only in 3 specific cases it
might be better to disallow it everywhere and check for it only in the 3 listed
cases (whole statement, var initializer and rhs of assignment (but for the last
one it has to be only toplevel assignment I guess, a = b = _Cilk_spawn foo ();
is presumably also invalid, ditto a + (b = _Cilk_spawn foo ()); etc.