[Bug c/60197] ICE with _Cilk_spawn in expression

2014-03-06 Thread mpolacek at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60197 --- Comment #5 from Marek Polacek mpolacek at gcc dot gnu.org --- Author: mpolacek Date: Thu Mar 6 13:41:46 2014 New Revision: 208382 URL: http://gcc.gnu.org/viewcvs?rev=208382root=gccview=rev Log: PR c/60197 c-family/ * cilk.c

[Bug c/60197] ICE with _Cilk_spawn in expression

2014-03-06 Thread mpolacek at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60197 Marek Polacek mpolacek at gcc dot gnu.org changed: What|Removed |Added Status|ASSIGNED|RESOLVED

[Bug c/60197] ICE with _Cilk_spawn in expression

2014-02-17 Thread mpolacek at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60197 Marek Polacek mpolacek at gcc dot gnu.org changed: What|Removed |Added Keywords|ice-on-valid-code

[Bug c/60197] ICE with _Cilk_spawn in expression

2014-02-17 Thread reichelt at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60197 --- Comment #3 from Volker Reichelt reichelt at gcc dot gnu.org --- Well, the code also crashes, if I move it out of the return statement: = int foo() { int i = (_Cilk_spawn foo()) + 1; return i; }

[Bug c/60197] ICE with _Cilk_spawn in expression

2014-02-17 Thread mpolacek at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60197 --- Comment #4 from Marek Polacek mpolacek at gcc dot gnu.org --- Ah, right, similarly for: int foo (void) { int i; i = (_Cilk_spawn foo ()) + 1; return i; } I don't know whether these are valid.

[Bug c/60197] ICE with _Cilk_spawn in expression

2014-02-14 Thread reichelt at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60197 Volker Reichelt reichelt at gcc dot gnu.org changed: What|Removed |Added Keywords|