http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60467

            Bug ID: 60467
           Summary: ICE with -fcilkplus
           Product: gcc
           Version: 4.9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: middle-end
          Assignee: unassigned at gcc dot gnu.org
          Reporter: burnus at gcc dot gnu.org
                CC: bviyer at gcc dot gnu.org

The following code ICEs with  -fcilkplus:


void f(void) { }

int main() {
  _Cilk_spawn(f);
  return 0;
}


foo.c: In function 'main':
foo.c:4:1: internal compiler error: in tree_block, at tree.c:11241
 _Cilk_spawn(f);
 ^
0xbeb577 tree_block(tree_node*)
        ../../gcc/tree.c:11241
0x61fbde create_cilk_wrapper
        ../../gcc/c-family/cilk.c:718
0x61fbde gimplify_cilk_spawn(tree_node**)
        ../../gcc/c-family/cilk.c:756

Reply via email to