[Bug c++/69017] [cilkplus] ICE with valid cilk_spawn assignment

2017-12-04 Thread paolo.carlini at oracle dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69017

Paolo Carlini  changed:

   What|Removed |Added

 Status|UNCONFIRMED |RESOLVED
 Resolution|--- |WONTFIX

--- Comment #2 from Paolo Carlini  ---
Cilk Plus, deprecated for 7.x, will not be in 8.x.

[Bug c++/69017] [cilkplus] ICE with valid cilk_spawn

2015-12-22 Thread ryan.burn at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69017

--- Comment #1 from ryan.burn at gmail dot com ---
Better example:
struct B {  
};  

B f() { return {}; }

void g() {  
  B b;  
  b = _Cilk_spawn f();  
}   

int main() {
  g();  
  return 0; 
}