https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60804
Andi Kleen changed:
What|Removed |Added
Status|NEW |RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60804
--- Comment #11 from ak at gcc dot gnu.org ---
Author: ak
Date: Tue Nov 11 05:10:58 2014
New Revision: 217336
URL: https://gcc.gnu.org/viewcvs?rev=217336&root=gcc&view=rev
Log:
Error out for Cilk_spawn or array expression in forbidden places
_Ci
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60804
--- Comment #10 from ak at gcc dot gnu.org ---
Reduced test case. It's probably invalid cilk, but gcc shouldn't ICE:
fn1() {
if (_Cilk_spawn func_2())
;
}
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60804
ak at gcc dot gnu.org changed:
What|Removed |Added
CC||ak at gcc dot gnu.org
--- Comment
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60804
--- Comment #8 from Andi Kleen ---
I went through my collection of gimplify:8335 from the generator.
Not all of them are special statements. So some more general check would be
needed.
Some examples:
(*l_11) = (g_9 = _Cilk_spawn func_2(l_4
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60804
--- Comment #7 from Jakub Jelinek ---
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 fo
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60804
--- Comment #6 from Marek Polacek ---
The following should disallow this in the C FE.
diff --git a/gcc/c/c-parser.c b/gcc/c/c-parser.c
index 5653e49..cbbb272 100644
--- a/gcc/c/c-parser.c
+++ b/gcc/c/c-parser.c
@@ -5153,6 +5153,9 @@ c_parser_if_s
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60804
Stupachenko Evgeny changed:
What|Removed |Added
CC||evstupac at gmail dot com
--- Commen
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60804
--- Comment #4 from Jakub Jelinek ---
According to
http://software.intel.com/sites/products/documentation/doclib/stdxe/2013/composerxe/compiler/cpp-win/index.htm
as well as
http://www.cilkplus.org/sites/default/files/open_specifications/cilk_plus_
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60804
Jakub Jelinek changed:
What|Removed |Added
Status|WAITING |NEW
--- Comment #3 from Jakub Jelinek --
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60804
Andi Kleen changed:
What|Removed |Added
Attachment #32577|0 |1
is obsolete|
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60804
Jakub Jelinek changed:
What|Removed |Added
Status|UNCONFIRMED |WAITING
Last reconfirmed|
12 matches
Mail list logo