https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62047

Marc Glisse <glisse at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|bootstrap                   |c++

--- Comment #1 from Marc Glisse <glisse at gcc dot gnu.org> ---
template <typename count_t, typename F>
void cilk_for_recursive(count_t, count_t, F, void *, int, int, int) {
  _Cilk_spawn cilk_for_recursive(0, 0, 0, 0, 0, 0, 0);
}

template <typename count_t, typename F>
void cilk_for_root(F, void *, count_t, int) {
  cilk_for_recursive(0, 0, 0, 0, 0, 0, 0);
}

void __cilkrts_cilk_for_64() { cilk_for_root(0, 0, 0, 0); }

$ g++ -fcilkplus --coverage  -c  marc.cc      marc.cc:11:59: internal compiler
error: Segmentation fault
 void __cilkrts_cilk_for_64() { cilk_for_root(0, 0, 0, 0); }
                                                           ^

(I don't know if I should classify it with cilk (-> c++) or gcov)

Reply via email to